Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading Funcational location classification data

Former Member
0 Kudos

Hi All,

I have a requirement in which I have to update Functional locations with classification data. This will be an inbound interface which will update Functional location classification from the data in the file. This file will be having Functional Location, Class, Characteristic & Value. We just need to read the file and change the characteristic values of that particular class in that particular FLoc.

I am using BAPI_OBJCL_CHANGE_KEY to update this data. And here lies the problem. This bapi is not updating the data. Although it is returning 'S' message "Assignment updated". But it is actually not updating.

I am sure that I am providing right data to the bapi. Before this I am also executing BAPI_OBJCL_GET_KEY_OF_OBJECT to get the object key (for Functional location).

I have even tried direct input porgram. This program has all relevant structures, but that is also not working. I am sure that there is some configuration issue that is holding me. I have also checked IMG, to my knowledge it seems to be ok, but there is something MISSING !!

Can anyone share his/her experience with similar scenarios ? Can any one help me out of this ?

Thanks & Regards

Kapil

2 REPLIES 2

Former Member
0 Kudos

Do you commit after your BAPI call?

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

WAIT = 'X'.

I hope this helps.

- Vijay

0 Kudos

Hi Vijay,

Thanks for your reply. But I do 'Transaction Commit', although not with Wait = 'X'.

Let me check this possibility also, but I have doubt.

Thanks again.

Kapil