cancel
Showing results for 
Search instead for 
Did you mean: 

Server proxy ( CSV File to Proxy )

Former Member
0 Kudos

Hai,

Can some one help me in solving this problem.

When sending Flatfile from legasy system I was able to receive only one record in SAP system though there are many records in the Flat file.

Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

please test your mapping whether all your records are coming or not.

Former Member
0 Kudos

Rani,

There could be few things which you need to check.

1. Check the header node occurrence is 0...unbound, if not make it.

2. After making the changes, regenerate & activate the proxy in R/3.

3. Make sure that you are moving the data by using loop...endloop to R/3 internal table.

Regards,

Sarvesh

Former Member
0 Kudos

HI Rani,

Can u please give more details:

1) What is the file strucutre and format, FCC parameter if u have used.

2) What is the message u r getting in SXMB_MONI

3) Where u r not getting the records at the proxy ?

Thnx

Chirag

Former Member
0 Kudos

Hai Gohil,

I am sending the following information.

Pls Help.

DT_SOURCE

RECORDSET

RSSTRUCT 1-un

F1 1-1

F2 1-1

F3 1-1

DT_TARGET

ROOT 1-un

RI 1-1

R2 1-1

R3 1-1

In the proxy side I was not able to get all the records.

Former Member
0 Kudos

HI,

Have u used commit work after the code.

Can u please send me the code which u have written.

For ur help:

Refer some of the weblog:

Server Proxy -

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

File to Inbound Proxy:

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

Debugging Inbound Proxy:

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

Thnx

Chirag

Former Member
0 Kudos

hai Gohil,

i am also sending the coding I have done in the method.

Method ZPRE_II_MI_TARGET_ASYNCHRONOUS.

DATA : SALES_ORDER TYPE ZPRE_MT_TARGET.

TYPES : BEGIN OF ITAB,

IR1(15) TYPE C,

IR2(15) TYPE C,

IR3(15) TYPE C,

END OF ITAB.

DATA : IT_OUTPUT TYPE TABLE OF ITAB,

WA_ITAB TYPE ITAB.

SALES_ORDER = INPUT-MT_TARGET.

WA_ITAB-IR1 = SALES_ORDER-R1.

WA_ITAB-IR2 = SALES_ORDER-R2.

WA_ITAB-IR3 = SALES_ORDER-R3.

APPEND IT_WA TO IT_OUTPUT.

CLEAR IT_WA.

From here BDC will be functioning.

Former Member
0 Kudos

HI Rani,

Have u gone through the web log which is given by me and compared ur code with the code which was given in weblog.

I dont see any commit work used in the code.

Have u debug ur code using the weblog.

This is the sample code which will help u to find what is missing in ur code.

method ZTP_II_MIIA_FILE~EXECUTE_ASYNCHRONOUS.

        • INSERT IMPLEMENTATION HERE **** ***

data:it_wa type ZTP_MT_FILE,

it_data type ZTP_DT_FILE_DATA_TAB,

wa_data type ZTP_DT_FILE_DATA,

wa_struc type ZTEST.

it_data[] = input-MT_FILE-DATA[].

loop at it_data into wa_data.

wa_struc-mandt = sy-mandt.

wa_struc-line1 = wa_data-line.

wa_struc-line2 = wa_data-ITEM.

INSERT INTO ZTEST VALUES wa_struc.

commit work.

endloop.

endmethod.

Thnx

Chirag