on 11-14-2008 5:58 AM
Hi All ,
i am doing ABAP server proxy coding,
i have declared all the data declaration as follows , but i dont know how to get data and debugg it
will anyone please help me in this
thanking you
sridhar
method ZII_MI_PO_TARGET_PROXY~MI_PO_TARGET_PROXY.
**** INSERT IMPLEMENTATION HERE **** ***
DATA: nl_char(1),nl_tab(1).
CLASS cl_abap_char_utilities DEFINITION LOAD.
nl_char = cl_abap_char_utilities=>newline.
nl_tab = cl_abap_char_utilities=>horizontal_tab.
DATA: it_data_records TYPE ZDT_PO_TARGET_FILE,
it_data_record_header type ZDT_PO_TARGET_FILE_HEADER ,
it_data_record_item type ZDT_PO_TARGET_FILE_ITEM_TAB .
data: wa_data_records like it_data_records,
wa_data_record_header like it_data_record_header,
wa_data_record_item like line of it_data_record_item .
endmethod.
hi sridhar,
After implementing the ABAP Server Proxy....use the Transaction Code : SPROXY
and select the Corresponding Interface --> as it is Server Proxy select the Inbound Interface for which you have implemented
In the Menu you can find the Test Proxy ---> Provide the Payload
If you want to debug place the breakpoint in your code.
regards
Gangaprasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sirdhar
-- Yes you need to assign the Values
Follow the steps in the blog provided.
When you generate the Proxy Class for the Interface ,it creates the Structures corresponding to the Datatypes and Message Types you have created in XI.
See the 3rd step it is clearly mentioned.
Example :
ponum = INPUT-CREATE_PO_MT-PONUM
here CREATE_PO_MT is the Component present in the Message Type Structure Generated
regards
ganga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.