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

IDoc Segment Creation Help

abhijitzope
Active Participant
0 Likes
564

Hi,

I had created the Segment and also added it into Basic Type by Extension.

But data for this segment is not transferring from 4.6c to EEC 6.0

Following are the steps by which i had created the segment and added it.

(1) In WE31 transaction i had created the segment Z1P2001 and then added all the fields from Infotype 2001 i.e. from PA2001 Table.

(2) after saving i released the segment (goto->set release).

(3) in WE30 transaction I had enter HRMD_A05 idoc type.

(4) selected radio button Extension and click tthe create button.

(5) In Popup selected the radio button Create New and enter the idoc type HRMD_A05.

(6) in next screen under node E1PITYP i had add the segment which i had created Z1P2001.

(7) saved and released.(Eidt->Set Realease).

(8) after that I had execute the transaction PFAL(tranfering HR data from 4.6C to ECC6.0).

It is not tranfer data from Infotype 2001.

Please Help !!!

Regards,

Abhijit Zope.

Message was edited by:

Abhijit Zope

2 REPLIES 2
Read only

Former Member
0 Likes
489

Hi, I think you must be running the program RBDMIDOC to send an IDoc based on the change pointers.

SAP has designed such a way that it will create IDocs only with changed data. In other words, E1MARAM is always populated as it is header data. Its obvious that you dont want to send the data that is not changed. Hence if you are changing Product hierarchy, only relevent segments are populated with values.

If you still want to send all the data irrespective of whether those fields are changed or not, either you may have to code in a user-exit to populate these fields(segments) or, change the program accordingly.

Hope this helps you and let me know if you need further help

<b>rewards point for helpful answer....</b>

regards....

Abhay Singh.

Read only

Former Member
489

Hi Abhijit,

What i got from your question is You created a segment and transfered it. But the thing is who will populate your segment. SAP populates all the standard segments it had created. So please find appropriate exit and populate your zsegmant before sending it.

Reward points if useful,

Aleem.