Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Business Connector XML File processing

Former Member
0 Likes
1,017

Hi All,

we're using SAP Business Connector to process XML Files (from NON-SAP system).

XML-Files are mapped to IDOCs and sent to our sap-system in order to create purchase orders.

Let's say we have 3 Purchase Orders (XML) in our SAP BC input directory,

the first purchase order has a header text (customer field), the following 2 dont. After processing the xml-files all 3 Idocs have the same header text of the first purchase order.

How can i change this behaviour?

Regards

REA

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
928

Hello Ramy,

I think while creating the Idocs in your BC the variales are not getting clrered.. Did you checked the Idocs data..

Naresh

5 REPLIES 5
Read only

Former Member
0 Likes
929

Hello Ramy,

I think while creating the Idocs in your BC the variales are not getting clrered.. Did you checked the Idocs data..

Naresh

Read only

0 Likes
928

Hi Naresh,

thanks for your response.

Where can I do this?

Regards

REA

Read only

0 Likes
928

Hello Ramy,

You have to check this logic of t BC. if you want to check the Idocs then goto WE02 in SAP.

if you are using message type PORDCR1 then check segment E1BPMEPOTEXTHEADER or PORDCR thne check segment E1BPEKPOTX

Regards

Naresh

Read only

0 Likes
928

Hi Naresh,

the error occurs while BC processes the XML files - the idocs sent to sap are already wrong.

I need help on finding the error in BC.

Regards

REA

Read only

0 Likes
928

Dear,

Save one IDOC to pipeline and debug in SAP business connector.

As per my understanding you need to clear or initialize IDOC structure after every pass in SAP BC.

Thanks and Regards,