Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Address not getting updated in BAPI_FUNCLOC_CREATE (DATA_GENERAL-READ_ADRNR)

Hi,

I am trying to create new functional location (IL01) from a list of data (flat file).

To create Functional Location I am using the BAPI BAPI_FUNCLOC_CREATE.

Here, I pass the address number into data_general-read_adrnr.

I can see the address number and its details in ADRC table.

The functional location gets created when I check in IL02/IL03 but the address is not getting updated.

Could anybody suggest please.

Tags:
Former Member
Former Member replied

Hi,

SAP has replied back saying that this field is added for internal sap purposes and does not help to solve my issue.

Hence i tried to find out where the issue was and found ADRNR field was getting cleared in an include while Functional Location was getting created. Basically there is a statement where MOVE-Corresponding is used and the structure to which the data is moved has ADRNR field missing. So no value was passed.


Adding ADRNR field to the structure ITOBAPI_CREATE_EQ (using append structure) solved the issue.


Thanks,

Deepak M S

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question