IDOC Control Segment Updation

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
tombastian
Premium Member
Premium Member
Posts: 41
Joined: Fri Jun 04, 2004 5:52 am
Location: Bangalore

IDOC Control Segment Updation

Post by tombastian »

Hi All,
I have a Job which populates SAP IDOC segments using IDOC R3 Load stage. I am populating several IDOC segments and it is working fine. Recetly I added one more link to populate IDOC Control Segment and assigned values but the values passed for Control Record are not getting updated into SAP. The job is working fine and creates IDOCs in SAP but it does not contain values for Control Record. Will any one be able to give inputs on this. Any information on this will be helpful.

Thanks,
Tom
racsingh
Participant
Posts: 10
Joined: Tue Sep 06, 2005 6:35 am

Post by racsingh »

Hi,

You cannot populate IDOc control segment they are derived at run time from the settings and configurations in the SAP system.
Only Data Records can be designed and populated.

Regards,
____________________________________
Rachana Singh,
DataStage_SAP Consultant
Capgemini/Bangalore India.
____________________________________
PhilHibbs
Premium Member
Premium Member
Posts: 1044
Joined: Wed Sep 29, 2004 3:30 am
Location: Nottingham, UK
Contact:

Post by PhilHibbs »

racsingh wrote:Hi,
You cannot populate IDOc control segment they are derived at run time from the settings and configurations in the SAP system.
Only Data Records can be designed and populated.
You can assign values to the control segment in the 5.1 SAP PACK. There is a terrible memory leak in the 5.1 IDoc Load, though, so make sure you ask Nigel Terry for the patch.
Phil Hibbs | Capgemini
Technical Consultant
tomato
Participant
Posts: 15
Joined: Mon Feb 20, 2006 2:46 am

Post by tomato »

Hi all,

I have encounter the exact problem as tombastian did.

Situation is, i have 2 DS Job with IDOC stage, 1st Job is sending IDOC to DEBMAS, this job already have control record and with assigned value, and is working fine for few years.

2nd Job is sending IDOC to PORDCR1, which did not specify any control record. Now, i wanted to add the control record and assign value to it but SAP just couldn't get it.

I couldn't tell whether i've already apply the patch that PhilHibbs mentioned, as i've a job working, and the other don't.

Please help me out, your help is much much appreciated.

Best Regards.
Post Reply