cancel
Showing results for 
Search instead for 
Did you mean: 

APO-ABAP: Location master populating additional fields

Former Member
0 Kudos


Hi All

Whilre doing CIF from ECC to APO we want to populate some fields based on ECC data in location master ( t code '/SAPAPO/LOC3') .

Fields in additional tab such as CTX_ATTLO01,CTX_ATTLO02

location for sold to party in VMI CUst..section i.e. field VMI_LOCNO.

I can see these fields in t code '/SAPAPO/LOC3'.I have tried implementing BADI 'SMOD_APOCF001' but these fields are not available in any of the import parameters.

Any other user exists? or am i missing something.

Please advise.

Thanks,

Dev

Accepted Solutions (1)

Accepted Solutions (1)

babu_kilari4
Active Contributor
0 Kudos

Hello Dev,


The best possible way to understand this is to debug an Inbound CIF queue that gets triggered while the CIFing the plant. As you keep debugging on a high level routines, you will see the flow of the data and you can put in the fix in the relevant BADI.

Babu Kilari

Former Member
0 Kudos

Thanks Kilaru...

I am getting additional fields ( IT_LOCCUS)   in BADI 'SMOD_APOCF001' and i am populating one of the field fo test purpose.

what what ever the value i pass its not showing in  '/SAPAPO/LOC3'.

      LOOP AT IT_LOC INTO WA_LOC WHERE LOCTYPE = '1010'.
      CLEAR:WA_LOCCUS.
      WA_LOCCUS-EXT_LOCNO  = WA_LOC-EXT_LOCNO.
      WA_LOCCUS-LOCTYPE = WA_LOC-LOCTYPE.
      WA_LOCCUS-CTX_ATTLO01 'TEST'.
      APPEND WA_LOCCUS TO IT_LOCCUS.

    ENDLOOP.

Am i missing any thing?

ramesh_mahankali
Active Participant
0 Kudos

Hi Dev,

If you see LOCCUS_X table in the interface, you need to fill the internal table with name _X to indicate which fields you are adding.

Thanks,

Former Member
0 Kudos

Thanks Ramesh for reply.

i don't see LOCCUS_X table in interface....below is tables list for interface

Former Member
0 Kudos

Thanks Babu...

Found exists was able to code for additional fields but in the  same BADI/Exit  field sold to party VMI_LOCNO is not available.

any suggestions..


Former Member
0 Kudos

Hi Dev,

I am also facing the same issue.

Did you find how to populate VMI_LOCNO in the BADI?

Please help me how did you overcome this issue.

Former Member
0 Kudos

Hi ramesh,

Where can we find VMI_LOCNO in BADI 'SMOD_APOCF001'  ?

Please help me on this.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dev,

Please see the below thread and come back with your findings whether this is useful or not.