cancel
Showing results for 
Search instead for 
Did you mean: 

APO-ABAP: Location master Extra attribute ATTLO02 field Population

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

former_member197994
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks Tiemin Wang for provided of the solution

For above BAPI It can work for only update for ATTLo01/ATTLo02 based existing Location Id

While doing CIF for new Location it cannot update of tthe additional fields i.e Freely defind attributes

Can you provide any BADI or uesr exits?

Thanks

Kishore

TMNielsen
Contributor
0 Kudos

Hi Kishore

I also have a requirement to update some of the additional attributes (i.e. ATTLO02) during CIF of vendor locations.

I'm using BADI SMOD_APOCF001 ( a migrated version of enhancement APOCF001 ), but the additional attributes are not available in the interface.

Did you ever find any solution for this?

Best regards

Thomas Madsen Nielsen

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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