cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP server proxy coding isssue

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Refer :

regards

Gangaprasad

Former Member
0 Kudos

yes i did it ,

but i dont any coding isssue i cant see any data coming in to it

hope i need to assign

i dont know how to assign

it wil anyone help in this please

thanking you

Sridhar

Former Member
0 Kudos

Sridhar,

Have you followed all the steps of this blog... (I guess yes)

Can you describe the below

> hope i need to assign

> i dont know how to assign

Regards,

Sarvesh

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sridhar,

For Debugging & testing use this blog..

and for server proxy coding use this blog..

in the above two blogs you can see the sample code, to pass the data in to proxy from XI.

Regards,

Sarvesh