cancel
Showing results for 
Search instead for 
Did you mean: 

How to read /AIF/VMAP values in ABAP Program ?

getnikhilk
Employee
Employee
0 Kudos

Hello,

Can we read value from /AIF/VMAP ? Is there any standard FM or Database table name Which will help to read data from /AIF/VMAP ?

Regards,

Nikhil Kulkarni

Accepted Solutions (1)

Accepted Solutions (1)

sebastian_gottmann3
Participant

Hi getnikhilk ,

yes, there are several tables which you can access directly from your ABAP program.

Depending on customized value mapping, you have the following:

/AIF/T_MVMAPVAL
/AIF/T_MVMAPVAL5
/AIF/T_VMAPVAL
/AIF/T_VMAPVAL5

If you are using interface variants, there are additional ones:

/AIF/T_VMAPVAL5V
/AIF/T_VMAPVALV

Let me know, if this answer was not detailed enough.

Regards,
Sebastian

Answers (2)

Answers (2)

getnikhilk
Employee
Employee
0 Kudos

Hello alex.pfeil , sebastian.gottmann3

Thank you for your response.

I used

table '/AIF/T_MVMAPVAL' for FORMA_PAGO ,CFDI_PAYMETHOD & DOC_TYPE ;

table /AIF/T_VMAPVAL for NO_CERTIFICADO

and table '/AIF/T_MVMAPVAL5' for CFDI_TAXES_ASSIGN.

Sorry for delay in response.

Regards,

Nikhil Kulkarni

jorgegtz34
Discoverer
0 Kudos

Hi NikhilPrateek Kulkarni,

I have a problem with the sending of the value FORMA_PAGO, because I manually set it in /AIF/CUST ->Interface Development->Define Value Mappings, could you share with me which features did you set to send the correct value?

I set it this way:

Regards,

AlexPfeil
Advisor
Advisor
0 Kudos

Hi getnikhilk,

you can also use /AIF/CL_CUSTOM_FUNCTION=>/AIF/CL_CUSTOM_FUNCTION, but this won´t work if your Value Mapping if the Sending System dependant. Then you need to access the DB Tables mentioned by Sebastian.

Regards,

Alex