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

BAPI_PO_CREATE1 / BAPI_PO_CHANGE

Former Member
0 Likes
1,766

Hello everyone!

I'm trying to populate the standard fields Bus.entity, sett. unit, Srv. Charge Key and Ref. Date.

Some of them ( Srv. Charge Key and Sett. Unit ) are not available to filll in struture   POACCOUNT and when i try to put them in struture CI_COBL, it will produce an error.

Any help would be appreciated!

Thanks in advance,

Nuno F.

Hello everyone!

I'm trying to populate the standard fields Bus.entity, sett. unit, Srv. Charge Key and Ref. Date.

Some of them ( Srv. Charge Key and Sett. Unit ) are not available to filll in struture   POACCOUNT and when i try to put them in struture CI_COBL, it will produce an error.

Any help would be appreciated!

Thanks in advance,

Nuno F.

5 REPLIES 5
Read only

Former Member
0 Likes
1,669

it's not answered yet.

Thanks,

NF.

Read only

0 Likes
1,669

Hi,

what error are you experiencing while adding fields to CI_COBL??

Read only

0 Likes
1,669

Adding SNKSL TO CI_COBL:

Thanks,

NF.

Read only

0 Likes
1,669

Hi,

use field name ZSNKSL instead of SNKSL you can use the same data element,

as the CI_COBL customer include is already used in the other table which already have the field name SNKSL.

thank you!!

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,669

Don't add standard field to CI_COBL as it wil raise error in the multiple tables/structures that include it.

Or at least respect namespace (so prefix with ZZ or YY - 16466 - Customer name range for SAP objects)

But you shouldn't require to add those fields in CI_COBK, why don't you use EXTENSIONIN, this extension allow basically to update customer fields added to CI_EKPODB and CI_EKKODB, but you can use thenBAdI ME_BAPI_PO_CUST, map2i_extensionin and map2e_extensionout, or even old enhancement SMOD SAPL2012 to move your data to most PO structures.

Also check if some fields are available in POSERVICES rather than POACCOUNTING

Regards,

Raymond