Triggering DS jobs to process outbound IDOCS from SAP

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
aramachandra
Participant
Posts: 55
Joined: Tue Sep 20, 2005 10:58 am

Triggering DS jobs to process outbound IDOCS from SAP

Post by aramachandra »

We have defined a simple job that is using the IDOC Extract stage to extract IDOC from SAP.

We have followed the documentation to define the listerner on the server and the rfc port on the SAP side and can view the IDOC getting received by datastage as per the IDOC log in the DataStage Administrator for SAP tool.

Sample output is given below


Wed May 21 17:03:25: Number of IDocs received: 1
Wed May 21 17:03:25: IDoc type: MATMAS03
Wed May 21 17:03:25: Extended type: ZVCRUMAT
Wed May 21 17:03:25: IDoc number: 0000000008197837
Wed May 21 17:03:25: Release: 620
Wed May 21 17:03:25: Port: LS
Wed May 21 17:03:25: Partner: DV1030
Wed May 21 17:03:25: Message Type: ZVCRUMAT


Wed May 21 17:03:25: CIDocStats::IncrementCount: Count set to 73
Wed May 21 17:03:25: Spawned job list process 11830, waiting for completion.

Wed May 21 17:03:25: Child process: about to execute /opt/etl/Ascential/DataStage/DSEngine/bin/uvsh RUN BP IDOCLIST.B ZVCRUMAT "SAPDV1"
Wed May 21 17:04:18: CIDocStats::ResetCount: Count reset to 73
Wed May 21 17:04:18: Waiting for outbound IDocs...

End of Sample output is given below


We also see the data files getting accumulated in the path defined in the stage

/opt/etl/Ascential/DataStage/DSSAPConnections/SAPDV1/IDocTypes/ZVCRUMAT

Contents of the ZVCRUMAT.config file



"ZVCRUMAT.config" 7 lines, 138 characters
DSPASSWORD=qzzm'*)&
R3_VERSION=620
AUTORUN_ENABLED=FALSE
DSUSERNAME=aramacha
IDOC_COUNT=1
ARCHIVE_IDOC_FILES=FALSE
USE_DEFAULT_LOGON=TRUE



We have not been able to get the job to be triggered on its which is what the documentation is suggesting.

If we run the job it is waiting at the "Requesting Delayed MetaData" message and never seem to pick up out IDOCS.


Has anyone else encountered this situation. If we are missing some settings please do let us know


Arvind
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Can't really help other than to say that a search for "Requesting Delayed MetaData" returned a dozen matches... any of those help?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply