Application Development and Automation 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: 
Read only

Need help for BAPI_PROFITCENTER_CREATE

Former Member
0 Likes
3,588

Hi guys,

I am in urgent need of passing the sample data to the Bapi "BAPI_PROFITCENTER_CREATE". As i cannot create BDC for data uploading for the transaction "KE51". I have to use this BAPI any way. I created the test data with my inputs. But i got the following error.

"No language for ISO code 10 in field".

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
2,512

Hello Santosh

If you fill the mandatory fields in BASICDATA (PRCTR_NAME, IN_CHARGE, PRCTR_HIER_GRP), VALIDFROM and VALIDTO then the BAPI will create the profit center.

I can repeat your error message when I enter value '10' in COMMUNICATION-LANGU_ISO. I am not aware that such an ISO-code for a language exists. Remove this value and the BAPI should work.

Regards

Uwe

Hi guys,

I am in urgent need of passing the sample data to the Bapi "BAPI_PROFITCENTER_CREATE". As i cannot create BDC for data uploading for the transaction "KE51". I have to use this BAPI any way. I created the test data with my inputs. But i got the following error.

"No language for ISO code 10 in field".

6 REPLIES 6
Read only

uwe_schieferstein
Active Contributor
0 Likes
2,513

Hello Santosh

If you fill the mandatory fields in BASICDATA (PRCTR_NAME, IN_CHARGE, PRCTR_HIER_GRP), VALIDFROM and VALIDTO then the BAPI will create the profit center.

I can repeat your error message when I enter value '10' in COMMUNICATION-LANGU_ISO. I am not aware that such an ISO-code for a language exists. Remove this value and the BAPI should work.

Regards

Uwe

Read only

0 Likes
2,512

Thanks a Lot. I gave all the fields as you said. I did only one change for the language. Now it is working fine.

Read only

0 Likes
2,512

Hi , I need to create Profit center using this bapi . I have execute the BAPI by providing the required inputs and in return code it shows message " Profit center '000010' created '. but in the table CEPC it is not updated .

I hope i am missing some input data , any suggestions will be highly appreciated .

Regards

Prabhudutta

Read only

0 Likes
2,512

Hi,

Once When you get message like 'Profit Center 000010' created it means You have not missed any mandatory data and it is successfully created. So don't think that you have missed some data.

Please Check in CEPC table again. Only enter PRCTR as 10 (no leading zeros required).

Still if you have problem refresh(F8) the table and check.

Hope you will get your data

Read only

coolomi1
Explorer
0 Likes
2,512

Hi  Experts ,

             I am facing the same issue ,  I got a message profit center 'XXXXXXXX123' is created successfully  , but when i check the  profit center      existence in data base table  there   shows  there is no record found  with  given profit center .

Hope you'll get my point.

Please help me out ..

Thanks .

Warm Regards :

Om Prakash .

Read only

Former Member
0 Likes
2,512

I guess you are not doing COMMIT. Try to do COMMIT WORK.