cancel
Showing results for 
Search instead for 
Did you mean: 

APEND the file depending upon the source field length

Former Member
0 Kudos

Dear ALL,

Scenario is IDOC to FILE(using File Content Conversion in receiver side)

*Requirement:*

Payment Id is the field from IDOC.

1st time data for the field length is 6 digit that always end with '0' that is 6th character or 6th position '0'(this for the 1st transaction in a Day)

2nd time data for the same field length is 5 digit(this is the 2nd transaction in the same day.this can be many times)

End of the day the last transaction always the same field length should be 6 digit and end of the digit always 1.when the last transaction is over then appended files should be merged and send to target folder.

All this transactions always same file and should append.

Could you please give some idea.

Note: with out BPM.

thanks and regards

walter stephen

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Suraj

R3 TO File using file content conversion.

1st transaction to till last transaction all the file will store in local folder.As soon as the last transaction completed then the appended file file move to target folder using command line(DOS command)

Note:

all the transaction should be the same file.

File construction mode will be append.

this not merging using partner profile.

thanks and regards

walter stephen

former_member187339
Active Contributor
0 Kudos

Hi Walter,

I think I have not got your question correctly.. You are doing a payment run from ECC or R3 and want to collect the details in a single file? If yes then check this blog of michal.

/people/michal.krawczyk2/blog/2009/05/21/xipi-collecting-idocs--possible-ways-with-pros-and-cons--5-ways

Regards

Suraj

Former Member
0 Kudos

Hi,

One solution can be to use APPEND in the file adapter. This way you can keep writing to the same file

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

Regards

Vijaya