Skip to Content
0

Idoc creation per record in sap po mapping

Mar 29, 2017 at 12:49 PM

164

avatar image

Hi Experts,

I have a requirement in mapping to create an idoc per record in the source structure.

Source structure is like this

Root node

Sub node

field (ABC) the subnode

Target structure idoc is like

Root node

Segment

Field in the segment

Field 1 in the source structure is mapped to the field in the idoc. Now is requirement is like for every value of ABC in the source an idoc should be created . How to do it?

Thanks in advance,

Vikas

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

13 Answers

BRM Fresher Mar 29, 2017 at 02:25 PM
0

hello experts,

Any inputs are highly appreciated.

Thanks in advance,

Vikas

Share
10 |10000 characters needed characters left characters exceeded
Baskaran Elumalai Mar 30, 2017 at 07:33 AM
0

Hi Vikas,

Could you please share the source structure(XML) and IDOC structure (relevant field) ?

Regards

Baski

Share
10 |10000 characters needed characters left characters exceeded
BRM Fresher Mar 31, 2017 at 07:57 AM
0

thanks Baski for your help.

I just changed the occurrence of the target idoc node IDOC to 0.unbounded by exporting ,hard coding and then importing it back.

Mapped it this way

Source --map with default--exists--IDOC

But still only one idoc is being posted for 2 values of the source field, can you please help me with this?

Thanks in advance,

Vikas

Share
10 |10000 characters needed characters left characters exceeded
Evgeniy Kolmakov Mar 31, 2017 at 08:09 AM
0

Hi Vikas!

Check your Source field output queue. All elements should come in one context.

Regards, Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded
BRM Fresher Mar 31, 2017 at 09:18 AM
0

Thanks Evgeniy for a quick replly.

There are 2 nodes under this source field is populated but still only one idoc is created.

Can you please help on this?

Thanks in advance,

Vikas

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Please provide mapping screenshot with target IDOC element output queue shown.

Regards, Evgeniy.

0
BRM Fresher Mar 31, 2017 at 09:48 AM
0

Or the mapping logic or the steps I followed is correct?

Thanks in advance

Vikas

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Mar 31, 2017 at 07:19 PM
0

Use Remove Context

Source --map with default--exists--remove context-IDOC

Share
10 |10000 characters needed characters left characters exceeded
BRM Fresher Apr 01, 2017 at 11:29 AM
0

thanks Amit. Let me try this

Share
10 |10000 characters needed characters left characters exceeded
BRM Fresher Apr 01, 2017 at 04:12 PM
0

hello Amit,

I tried the mapping as per the above logic but it is giving an error

Values missing in queue context EDI_DC40

Can you please help me ?

Thanks in advance,

Vikas

Share
10 |10000 characters needed characters left characters exceeded
BRM Fresher Apr 03, 2017 at 06:12 AM
0

hello experts,

Any help please?

Thanks in advance,

Vikas

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi BRMFresher,

try adding both remove context and split by value. experiment with them. you will get it.

Regards,

Nirmal

0