cancel
Showing results for 
Search instead for 
Did you mean: 

Variable Substitution not working when using ABAP mapping

Former Member
0 Kudos

Hi all,

I am doing an IDoc to File scenario.

Due to some complex mapping requirements, i had to use ABAP mapping for IDoc to File ( IDoc : SHPMNT05)

There is also one more requirement where in i need to generate the receiver filename dynamically

i.e the filename is of the form :

GW-XYZ-DD/MM/YYYY.csv

Where

XYZ is the Shipment number (E1EDT20- TKNUM)

DD/MM/YYYY is the IDOC creation date in ECC (EDIDC-CREDAT)

so i used the variable substitution option in receiver file adapter.

But its not working.

Is there any limitation for using the variable Substitution, doesnt variable substitution work in case of ABAP mapping?

Regards,

Loveena.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member859847
Active Contributor
0 Kudos

Hi,

u written ABAP mapping program to get the file name in the required format ,

is it rt?

when u test it at message mapping(including ABAP map program)

u get the the required format of file name in the one of target filed.

if that was fine, please check the variable substituiton parameters at receiver file adapter.

i mean, are u maintain variable name and refernece.

u have to specify the payload information.

warm regards

mahesh.