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

Question about BAPI_INTERNALORDER_CREATE

Former Member
0 Likes
1,509

Hi All,

I 'm working on this BAPI " BAPI_INTERNALORDER_CREATE" and i got the error message "Company code is not defined".

For my case, i don't need to enter any company code to create the internal order.

Is it possible to skip this validation?

Regards,

Luke

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,258

Are you able to create such an internal order (same type) via KO01, if no, the problem is not Abap relevant, but Customizing is required.

(SPRO -> Controlling -> Internal Orders -> Order Master Data -> Screen Layout -> Select Fields -> Icon change : Field Selection)

Regards,

Raymond

8 REPLIES 8
Read only

Former Member
0 Likes
1,258

Hi,

The error itself says that the company code is compulsory.

Why dont u use a default or dummy company code ?

Regards,

Jovito.

Read only

0 Likes
1,258

Hi,

Because not allow any company code to field in the field.

I just want to put the blank into company code.

Do you have another suggestion about that?

Regards,

Luke

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,259

Are you able to create such an internal order (same type) via KO01, if no, the problem is not Abap relevant, but Customizing is required.

(SPRO -> Controlling -> Internal Orders -> Order Master Data -> Screen Layout -> Select Fields -> Icon change : Field Selection)

Regards,

Raymond

Read only

0 Likes
1,258

Hi,

As i checked the SPRO, the company code field status is selected Input.

Is it any impact on it ? I 'm not the expert on FI, so would you mind tell me any solution instead of using BDC.

Regards,

Luke

Read only

0 Likes
1,258

I Did not suggest any BDC, just try to create such an internal order via standard transaction KO01,

- if it is not possible ask functionnals to change customizing or your requirement,

- if it is possible, check for OSS notes that look like a bug. (There are some notes on OSS on company code on statistical orders that can relate to your problem)

Regards,

Raymond

Read only

0 Likes
1,258

Hi All,

How can i searh some information from the OSS?

Does anybody teach me how to do?

Regards,

Luke

Read only

0 Likes
1,258

Just go to [Search for SAP Notes and SAP Knowledge Base Articles |http://service.sap.com/notes ]

Regards,

Raymond

Read only

Former Member
0 Likes
1,258

This message was moderated.