Address not getting updated in BAPI_FUNCLOC_CREATE (DATA_GENERAL-READ_ADRNR)
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.
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.
Deepak M S