Skip to Content
avatar image
Former Member

APO-ABAP: Location master Extra attribute ATTLO02 field Population

Hi,

I am trying to Populate extra attribute ATTLO02 at LOC master table in APO.

I tried APOCF001, APOCF021,APOBP003; the code at these User esits in working only from APO end(by sample data at Function module) , but when we CIF data from R/3 to APO; its not triggering the Code in these Enchancements.

Could anyone help me in this regard.

Thanks in advance.

Thanks,

Kishore.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 22, 2010 at 11:01 AM

    Hi Bapu,

    For CIF related data from R/3 systems to APO This will be done thru APOCF001,APOCF021.

    It is working in SCM APO 4.1 version, go thru it.

    1. Modify Structure /SAPAPO/CIF_LOCCUS (Edit the INCLUDE component type CI_LOCCUS; add your needed Field as

    /sapapo/LOC table-->ATTLO02 for your case).

    2. Then write code in these User exits and Activate them.

    APOCF001--> IT_LOC table and IT_LOCCUS wiil be useful,then edit the CIF rows with desired values.

    APOCF021--> IT_CIF_LOC table and IT_CIF_LOCCUS wiil be useful,then edit the CIF rows with desired values.

    3. Create a Project with CMOD transaction, and add these above 2 Enhancements to it and ACTIVATE it.

    If you want Direct changes to be applied at APO itseld, then check FM '/SAPAPO/LOC_LOCID_CUS_UPDATE'.

    Pass LOCID(Some location id), FIELDNUM(Keep Blank),Field name(Which field u want to be updated-ATTLO02),VALUE(u r desired value).

    It directly writes to the Location master table /SAPAPO/LOC table.

    Try the best way u feel.

    Thanks,

    Kumar P

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Everyone/Kishore

      iam trying to update custom fields for Location Master I.e ATTL02/03/04 but it is not trigger for User Exit APOCF021

      Can you provide solution and also any sample code

      Thanks

      Ravi

      Edited by: kanth ravi on Apr 30, 2010 10:32 PM

  • May 03, 2010 at 12:23 AM

    Hello Ravi and Kishore,

    They're not populated by CIF in standard.

    As a work around, you can use BAPI_LOCSRVAPS_SAVEMULTI2 to

    update the additional attributes in the table parameter

    LOCATION_HEAD.

    BR,

    Tiemin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Thomas Madsen Nielsen

      Hi Kishore/Thomas,

      We also have same requirement but BADI ' SMOD_APOCF001 ' is not working for additional fields.

      if you have inputs please provide.

      Thanks,

      Dev

  • avatar image
    Former Member
    Jul 29, 2014 at 11:03 PM

    Hi Kishore/Thomas,

    We also have same requirement but BADI ' SMOD_APOCF001 ' is not working for additional fields.

    if you have inputs please provide.

    Thanks,

    Dev

    Add comment
    10|10000 characters needed characters exceeded