Proxy Client response table with empty lines
Hi,
I'm consumig external webservice with ABAP (No XI scenario) and comuncation it seems correct. When I execute the client proxy from SE80 directly, I can see the XML response with table element ans its respectives contens.
Unfortunately, when I call the proxy trhough a program, the table returned by te proxy client is filled with lines but each field of line is empty. It seems all is ok.
I tried to regenerate proxy client and i have the same problem.
Anybody knows what is the problem? I tried to debug but I don't konw how to see where SAP converts the XML to ABAP objects.
Thanks,
Regards
Well, you have to tell Outlook to trust the server's root certificate, however than is done, or use a certificate at the server which is trusted by Outlook, for which see the JDK Guide to Features->Security->JSSE.
The empty strings will solve themselves once the client trusts the server, but you shouldn't be using readLine, you should be reading bytes and decoding according to the POP3 or IMAP protocol definitions.
Similar Messages
-
Append table with multi-line cells to word report
Hi,
I am using LabView 7.0. I need to append table to word report and I am using Append Table to Report VI. My VI works fine as long as the table cells do not have multiple lines. For multiple lines, each line is put is a seperate cell in the word report.
Is there a way to append multi-line cells to Word Report??? If not, any suggestions on how I can copy the multi-line table to Word report???
Please kindly help!!
Please see the attached document for details on the problem.
Thanks,
Mim
Attachments:
Table with multiple line cells.doc 33 KBHi Mim,
Yes I understood the multiple-lines part. I think the doc is the report you want. Correct ?
The doc is generated with your VI without any modifications.
I am using XP, Office 2002 SP3 and LV7.1
Attachments:
Verification Report.doc 39 KB -
Passing an internal table WITH HEADER LINE to abap object
Hi. In another thread, it was explained how to pass an internal table to an abap object method. Is it possible to pass an internal table that has a header line, and RETAIN the header line once the table has been passed?
My problem is, that I can pass the table, update it, but the read buffer is not populated when returning from the object's method. This is the result of being able to pass a STANDARD TABLE type, but not a STANDARD TABLE WITH HEADER LINE.
This means that I have to read the table into a work area instead of doing a READ TABLE LKNA1 within the method, which is what I need to do.
Thanks.Please check this sample program, notice that it is modifing the internal table and passing it back modified as well as passing the "work area" or "header line" back thru the exporting parameter.
report zrich_0001.
* CLASS lcl_app DEFINITION
class lcl_app definition.
public section.
types: t_t001 type table of t001.
class-data: it001 type table of t001.
class-data: xt001 like line of it001.
class-methods: change_table
exporting ex_wt001 type t001
changing im_t001 type t_t001.
endclass.
data: w_t001 type t001.
data: a_t001 type table of t001 with header line.
start-of-selection.
select * into table a_t001 from t001.
call method lcl_app=>change_table
importing
ex_wt001 = w_t001
changing
im_t001 = a_t001[] .
check sy-subrc = 0.
* CLASS lcl_app IMPLEMENTATION
class lcl_app implementation.
method change_table.
loop at im_t001 into xt001.
concatenate xt001-butxt 'Changed'
into xt001-butxt separated by space.
modify im_t001 from xt001.
endloop.
ex_wt001 = xt001.
endmethod.
endclass.
Regards,
Rich Heilman -
Getting error of Defining an internal table with header line, SELECT-OPTIO
Hi all,
i have a coding for my smart form,In this coding i have define an structure which being used,but when i execute it it give me
error of Defining an internal table with header line, SELECT-OPTIONS, and RANGES is not allowed within a structure.Even tough you can see that in my coding im not using SELECT-OPTION or RANGES,but can't understand why it gives me this error.
Following are the code:
DATA: BEGIN OF traptab OCCURS 50.
INCLUDE STRUCTURE mseg.
DATA: vgart LIKE mkpf-vgart,
blart LIKE mkpf-blart,
blaum LIKE mkpf-blaum,
bldat LIKE mkpf-bldat,
budat LIKE mkpf-budat,
cpudt LIKE mkpf-cpudt,
cputm LIKE mkpf-cputm,
aedat LIKE mkpf-aedat,
usnam LIKE mkpf-usnam,
tcode LIKE mkpf-tcode,
xblnr LIKE mkpf-xblnr,
bktxt LIKE mkpf-bktxt,
frath LIKE mkpf-frath,
frbnr LIKE mkpf-frbnr,
wever LIKE mkpf-wever,
END OF traptab.
Thanks & Regards,
sappk25thanks
-
BADI cant use an internal table with header line
hi,
In BADI, we cant use an internal table with header line, and I am calling a function module which requires internal table as import parameter, now, the table I am passing is without a header line, So how to solve this problem ?You can use a type and then create an internal table of that type.
types :
begin of t_<example>
*field list
end of t_<example>
data :
gt_<table> type standard table of t_<example>
pass this to the FM -
Dynamicly creating an internal table with header line
Hi experts,
I am trying to do a read on an internal table using field symbols of type any table. To be able to read more than one row at once, I'd like to read it into another internal table (instead of just one line and instead of looping through them one by one).
So far the following line rendered an error that the target internal table doesn't have a header line
read table <fs_v_tab> WITH KEY (<fs_comp>) = <fs_param>-low INTO <fs_v_tab>.
(also attempted using "<fs_v_tab>->*" & "<fs_v_tab>[]" to be silly)
Based on the following article, I was wondering if it were possible to dynamicly create an internal table with header line.
[http://help-abap.blogspot.com/2008/09/dynamic-internal-table-creation.html|http://help-abap.blogspot.com/2008/09/dynamic-internal-table-creation.html]
Any help or tips on how to dynamicly filter an internal table field-symbol is greatly appreciated!Just read the online help:
This statement reads a row from internal table itab.
Or more exact:
This statement reads one row from internal table itab.
Therefore you can not read multiple lines into another table. The header line is needed to put the result in. And this is not what you intended, the result will be in the header line, not in the table itself.
If the row to be read is not uniquely specified, the first suitable row is read. In the case of index tables, this row has the lowest table index of all matching rows.
At least you have to do what you dont wanna do: looping. -
Error: Tables with Header line No longer Supported In WD-ABAP
Hi folks,
I am working on WD4A functionality.I have to use Abap code to retrive data from database and i am doing it by declaring internal table with header line in one of the Methods.I have to do manipulation on table before i can bind table to result node.I can do manipulation in Header in ABAP,but now it is no longer supported in WD4A.What can i do for this?
Nirad.hi nirad.
The example is not of much sense
but explains the funtionality. Hope this is what you are searching for.
data:
lt_flights type table of sflight.
data:
ls_flight type sflight.
select * from sflight
into corresponding fields of table lt_flights.
loop at lt_flights into ls_flight.
ls_flight-price = 1000.
modify lt_flights from ls_flight.
endloop.
Cheers,
Sascha -
Dynamic Creation of Internal table WITH HEADER LINE
Dear,
Please show me the way of creating Internal table WITH HEADER LINE dynamically..
Thanks,
Nirav<font color='blue'>Hi Parekh,
Have a look at the sample program for Dynamic internal table
This program has been developed to update any table data in the dictionary. We give table name and File name as Input fields.
<pre>
REPORT znpmmm0201.
*Types
TYPES:
BEGIN OF ty_file,
data(4096) TYPE c,
END OF ty_file.
*Type-pools
TYPE-POOLS:
truxs.
*Work areas
DATA:
wa_file TYPE ty_file.
*Internal tables
DATA:
it_file TYPE STANDARD TABLE OF ty_file,
it_data TYPE truxs_t_text_data.
DATA:
gv_dref TYPE REF TO data,
file_name TYPE string.
*FIELD-SYMBOLS
FIELD-SYMBOLS:
<gf_itab> TYPE STANDARD TABLE,
<wa> TYPE ANY.
*& Selection-screen
PARAMETERS:
p_table TYPE rsrd1-tbma_val,
p_file TYPE ibipparms-path.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
PERFORM f4_for_p_file CHANGING file_name .
*& START-OF-SELECTION
START-OF-SELECTION.
CREATE DATA gv_dref TYPE TABLE OF (p_table).
ASSIGN gv_dref->* TO <gf_itab>.
PERFORM upload_data USING file_name.
MODIFY (p_table) FROM TABLE <gf_itab>.
*& Form UPLOAD_DATA
FORM upload_data USING file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file
filetype = 'ASC'
TABLES
data_tab = it_file.
APPEND LINES OF it_file TO it_data.
CLASS cl_abap_char_utilities DEFINITION LOAD.
DATA: l_field_seperator.
l_field_seperator = cl_abap_char_utilities=>horizontal_tab.
REPLACE ALL OCCURRENCES OF '|' IN TABLE it_data WITH l_field_seperator.
CALL FUNCTION 'TEXT_CONVERT_TEX_TO_SAP'
EXPORTING
i_field_seperator = l_field_seperator
i_tab_raw_data = it_data
TABLES
i_tab_converted_data = <gf_itab>.
ENDFORM. " UPLOAD_DATA
*& Form F4_FOR_p_file
FORM f4_for_p_file CHANGING file.
DATA:
l_field_name LIKE dynpread-fieldname VALUE 'P_FILE'.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = l_field_name
IMPORTING
file_name = p_file.
file = p_file.
ENDFORM. " F4_FOR_p_file </pre>
Thanks,
Venkat.O</font> -
How to create an internal table with header line in smartforms
Hello Guys,
I need to append the data in my internal table in smartforms by the problem is an error occurred "a table without header line and therefore no component called tdline"
i already declared the data under types declaration tab
types : begin of ts_tline,
TDFORMAT type tdformat,
tdline type tdline,
end of ts_tline.
types : it_tline type table of ts_tline.
and declare these in global data
WA_TLINE type TS_TLINE
XT_TLINE type IT_TLINE
my syntax in program lines :
LOOP AT gy_lines INTO WA_PROJ.
SPLIT wa_proj AT cl_abap_char_utilities=>cr_lf
INTO table IT_SPLIT.
LOOP AT IT_SPLIT.
MOVE it_split-commentext TO xt_TLINE-tdline.
an error occured at this part ****
append xt_TLINE.
ENDLOOP.
ENDLOOP.
what is wrong with my code..it cannot append data to xt_tline.
Please help.Will reward points
Thanks in advance
aVaDuDzcheck this link
this will help u......
http://www.****************/Tutorials/Smartforms/SFMain.htm
reward IF..........
regards
Anbu -
Internal table with header line
Hi All,
I want to declare a internal table with headerline as page attribute.
i am having to fields in the internal table ( firstname and lastname ). how to do that?
helpful answers will be rewarded.
Regards,
Azaz Ali.Azaz,
Why do you need a header line?
Header lines are a no-no in an object context and if you need to loop at the table you can always declare a line type or an field symbol to process the table.
If you need an table as a page parameter the best way to do it is to create a table type. This is based of a line type (another name for structure ) and this may well be based off a database (transparent) table.
If you need to do special things to the table I would look at tableview iterators.
Let me dig out a blog reference for that...
... ahh here it is
<a href="/people/thomas.jung3/blog/2004/06/17/bsp-150-a-developer146s-journal-part-i-introduction View Iterator blog</a>
HTH,
N -
Smartform table with empty value in cell
Hi,
in my smartform i´ve got a table with four fields:
e.g. MATERIAL QUANTITY BAGS TEXT
the question is that if value of field BAGS is initial the smartform displays
the value of field TEXT in the cell of field bags,
that is, if BAGS = INITIAL i would get:
MATERIALl QUANTITY TEXT
(the value of field TEXT has been shifted to the left)
What do i have to do in order to avoid the shifting of values to the left if one
of the cells has an empty value?
Best regards.Hi,
I guess you are using tabs to print the four fields of tables.
As those are fields of tables make use of TABLES concept in smartform instead of tabs. Then it will print in the exact location.
Give each field as one cell in the table.
Br,
Laxmi. -
Why does my internal table(with header line) ignore 4 of its fields?
Hi Gurus,
I am a newbie to ABAP how has spent far to much of my weekend time trying to solve the following problem;
when trying to insert data from table cdpos into my internal table, I only get the two object* fields, the other 3 are not even part of the internal table according to the debugger.
my select code is:
SELECT fname tabkey changenr objectclas objectid
FROM cdpos
INTO CORRESPONDING FIELDS OF i_cd_index
WHERE tabname = 'XXX'
AND fname = 'XXX'
AND chngind = 'U'
ENDSELECT.
IF sy-subrc <> 0.
ENDIF.
- If I use a wa like line of i_cd_index the other fields will show up.
- I have tried with including 'TABLE' in the INTO statement, same result.
Please help out, getting very frustrated here....
/MikeHi Magdic,
I have completely coded for but i have taken as parameters rather direct values (XXXX). Under stand the code and select statement you will get it. Program which i have shown is working fine.
Do one thing first go the table CDPOS take one entry of Objectid, Tabname, fname and chngind and then enter in the selection and find whether the values are fetched correctly or not.
To my knowledge there might be no data in your table.
Anyhow try the below code.
TABLES: CDPOS.
DATA: ITAB LIKE CDPOS OCCURS 0 WITH HEADER LINE.
parameters: p_CHGID like CDPOS-chngind,
p_TAB like CDPOS-TABNAME,
P_FNAM LIKE CDPOS-FNAME.
SELECT OBJECTID TABNAME FNAME CHNGIND FROM CDPOS INTO CORRESPONDING FIELDS OF ITAB WHERE OBJECTID = P_CHGID
AND TABNAME = P_TAB
AND FNAME = P_FNAM.
APPEND ITAB.
ENDSELECT.
WRITE: ITAB-OBJECTID, ITAB-TABNAME, ITAB-FNAME, ITAB-CHNGIND.
Cheers!!
Balu -
Uix table with multiple lines per row
Hi,
how can I design a table that has multiple lines for one row.
It should look like this
row1-cell1 row1-cell2
row1-cell3 row1-cell4
row2-cell1 row2-cell2
row2-cell3 row2-cell4
Thanks a lot.
ChristianChristian,
I'll scribble down a quick example off the top of my head...
<table data:tableData="${mydata}">
<column>
<stackLayout>
<link text="cell1"/>
<link text="cell3"/>
</stackLayout>
</column>
<column>
<stackLayout>
<link text="cell2"/>
<link text="cell4"/>
</stackLayout>
</column>
</table>
I recommend you just play around with UIX XML, and you'll find something that works.
Hope this helps,
Ryan -
In InDesign CS5, creating a table with wavy line
I've created a table. I want the vertical column to have a wavy line but I can't get the colors to work. See attached. What am I doing wrong?
You're out of luck. If both boxes were the same colour you could have a wavy stroke between them, but not like that. Try making a standard box with a wavy stroke and filling it, you have the same problem. I think Illustrator can do it, but that doesn't help you with your tables!
You can of course chnge the "fill" colour, that won't help you either. -
ABAP proxy client call PI with new client 120 in old business system
Hi all
We have a requirement to call PI from ABAP client proxy in synchronous mode via a CRM client 120.
CRM client 100 is already configured in the Business system talked above but now we need the same business system to be configured for client 120 as well.
My question is If we go to the SLD and
|-> Click on Business System
|-> Add new client 120
Will it work or we need to do some extra configuration for communication channel.
Also please let me know how to configure Integration Directory for sender agreement, Receiver Agreement and the communication channel.
Thanks in Advance.Hi Naina ,
We have a requirement to call PI from ABAP client proxy in synchronous mode via a CRM client 120.
CRM client 100 is already configured in the Business system talked above but now we need the same business system to be configured for client 120 as well.
My question is If we go to the SLD and
|-> Click on Business System
|-> Add new client 120
> hope the technical entry of CRM is already in SLD . So you just need to make a business system entry . point the business sytem to the technical system entry with the right client here 120 .
Will it work or we need to do some extra configuration for communication channel.
> since sender is client proxy you don't need to do anything in case of receiver proxy you will be needing reciver communication channel of XI adapter type .
for proxy based communication your application system(other than PI/XI) should be able to make a proxy call to XI or receive a call from XI .for this purpose you need to make some settings at R/3( or CRM level)
For this check blog : /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Abap proxies ( Client and Server proxies)
Other steps i.e Interface determination/receiver determination are as usual .
Regards ,
Maybe you are looking for
-
Creating GTC in OIM 11g (11.1.1.3.0)
Hi, I'm trying to install Generic Technology Connector (Database_App_Tables_9.1.0.5.0) and to configure the target sysatem as a trusted source reconcilation task in OIM 11g 11.1.1.3 but I get a lot of problems. I used the following quides to do that:
-
Amount is not Determined while creating excise invoice
Dear Gurus, I have created Excise invoice with reference to Billing Document F2. In Sales order and Billing Doucment Pricing Procedures determine BED, SED, AED by using Factory Pricing Procedures Which is Condition Based. But when I am creating excis
-
Addiitonal Custom Duty : JADC
Hi , Our Import pricing schema has following two condition types for ADDITIONAL Custom duty Step Condn Type and Desc from to A/c key Accural 220 JADC Addi. Duty Custom%
-
Product version inconsistent with software components
Hi, after upgrading our sandbox from 4.6C to ERP 6.0 EHP4 SP06 i've changed the product assignment in SMSY and fetched the new data using "Read System Data Remote". Now there are two problems: 1.) Read System Data Remote shows error message S:032:000
-
ALSB ImportError: No module named customization
Hi, I am getting this error ImportError: No module named customization Looks like it is not finding the package in the classpath. from com.bea.wli.config.customization import Customization bash-3.00$ echo $CLASSPATH /opt/mqm/java/lib/com.ibm.mqjms.ja