cancel
Showing results for 
Search instead for 
Did you mean: 

SalesOrder Multiple LineItems

Former Member
0 Kudos

Hi all,

I am creating the sales order in SAP R/3 through XI from DataBase. I am succeefully creating with single line item to the SAP.

I am not able to sending the multiple line items to R/3 system.

could anybody please suggest me ?

Thanks & Regards,

sekhar.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi shekhar,

As per your first mail in the thread you are trying to insert into SAP R/3 system.

But in your recent mail...

<i>> I am using parent & child relationship here.

>I am taking the Id as a key in the parent & child also.So it did not accept multiple line >items in child table.

>k i have to take another filed as primary key in the child table right ?

>After that i have to accept muliple items and split those items which is shown in ur >weblog.</i>

you are talking about "parent & child relationship".. can you tell us more about ur requirement?

cheers,

Siva Maranani.

Former Member
0 Kudos

Hi Siva,

I am creating sales orders in SAP R/3.I am sending data from DataBase.In Source side(DataBase), I am using parent child relationship for two tables (Quote and QuoteItems).

I have to send multiple QuoteItems for single Quote (salesOrder).

I think u understood my problem now..

Thanks & Regards,

sekhar.

Former Member
0 Kudos

Hi Sekhar,

When u are trying to send multiple records, u need to split these multiple records into single records, (use 1:n message mapping / split mapping). This will help you in performing 1:n message mapping.After you do 1:n message mapping, u need to catch these line items in a

multi line container and use par-for-each block to send them to SAP sytem.

Look at the weblog https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1394. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

This is very similar to what you wanted.

Hope this helps you.

Cheers,

Siva Maranani.

Former Member
0 Kudos

if you're asking why your multiple lines didn't map in (assuming your source had multiple lines) it's probably the way you mapped... run the same data thru your message mapping on the test tab. Likely you need to mess with contexts and then all the lines will come thru.

moorthy
Active Contributor
0 Kudos

Hi,

Is your requirement is 1)posting a Single SalesOrder with multiple line items or 2) posting multiple SalesOrdes for each line item ?

In both of the cases you can check for the required output in Message Mapping, and make sure that all required line items are getting generated in target field of Mapping as per the your requirements.

Thanks and Regards