Skip to Content
0
Former Member
Aug 02, 2008 at 01:05 PM

Idoc Structure problem

75 Views

Hi Experts,

I have to send PR, PO, stock & delivery data to the server with materials selected in the selection screen. For that i created custome IDOC which is having basic type B. this basic type is having a header segment MAT with 2 child segment PR & PO. Again PR is having 1 child segment ITEM1 & PO is also having child segment ITEM2.

My custom report which takes MATNR as selection input (Range) is used to send IDOC

But the problem is when i get the output it is not coming in trhe desired format. It is not giving data in proper hierarchey. I t only gives hierarchey for the last header segment. THat means for the last materials it gives No of PRs & then only give PR items only for the last PR. Same it does for PO also.

Instead of this it should give the output which will be like for each materials it should give No of PR & POs & for each PR & PO it should display No of Items

Please tell me what the problem is?

can anyone send me program to send IDOC for multiple data(materials). BD10 is bit confusing as its a standard report i cant refer that

Regards,

Nik