cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC-FILE - If IDOC is not triggered, need to genarate file with constants

Former Member
0 Kudos

Hi Friends,

I have a scenario like this.

IDOC to FILE scenario.

1. IDOC will get triggerd everyday and flat file will be genatated at specified location.

2. If IDOC is not genarated for the day, need to genarate falt file with some constants.

Can anyone help me on this.

Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

additionally to the above mentioned solutions you can change the running job so that if no idoc is generated it will generate one with default values. in this case your XI/PI setup remains unchanged

Former Member
0 Kudos

I think a better solution will be to use Shell Scripts to check the target folder at a particular time (lets say 11.55pm), if there is no file ....copy a file from another folder. you can generate a file with constants at a particular location and scripts will use it in case no idoc has been recieved for a day.

Former Member
0 Kudos

If IDOC is not triggered, need to genarate file with constants

Can you explane ,if not any idoc is rigger from source SAP system,then why you need to send blank file there.

its better to ask receiver system to configure there system to check file existence if any.

regard

Mohit