cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to create Functional Location via Reference FLOC

former_member217316
Contributor
0 Kudos

Hi

I need to create a functional location via a reference functional location. I am using BAPI_FUNCLOC_CREATE for the same.

The functional location gets created but the reference functional location is not copied into the 'Structure' tab.

I am passing the string indicator, category & Read Reference Location fields in the DATA_SPECIFIC structure along with the other details.

Post this, I am also committing the transaction using BAPI_TRANSACTION_COMMIT. But still, the reference functional location is not updated.

Let me know if I am missing something or another way to get this done.

Regards,

Harsh

former_member217316
Contributor
0 Kudos

raymond.giuseppi It still doesn't work. 😞

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor
0 Kudos

So you actually pass fields STRIND, CATEGORY and READ_REFERENCE_LOCATION of DATA_SPECIFIC parameter?

In some cases (as with dependent attributes) you may be required to call first the BAPI_FUNCLOC_CREATE and then the BAPI_FUNCLOC_CHANGE.

raymond_giuseppi
Active Contributor
0 Kudos

Does BAPI_FUNCLOC_CHANGE return any message (could be type S or W)