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

Former Member
0 Likes
903

Hi all.

I am using the BAPI_PO_CREATE1. I want to uncheck the GR, GRbasedIV fieldswhile creating the PO using this BAPI.

I used these fields by passing space in it, but still these fields coming checked in PO.

Can you help me.

Thanks.

6 REPLIES 6
Read only

Former Member
0 Likes
663

Hi,

Check whether you have filled the proper structures.Check whether you have properly filled the structure POHEADERX and BAPIMEPOITEMX in the BAPI_PO_CREATE1.

Read only

0 Likes
663

what data regarding this indicators to pass in Header? It is only in items.

Read only

0 Likes
663

Hi,

Make sure you are passing proper value in GR_BASEDIV field of BAPIPOITEM table when you call your BAPI.

This is the field responsible for your requirement of that check box.

Reward points if useful.

Regards,

Siddhesh S.Tawate

Read only

0 Likes
663

Hi Siddhesh.

What value should I pass in this field. Because space is not working.

Thanks.

Read only

0 Likes
663

Hi,

I am not sure why is it not accepting space in your case.

Did you try with BAPI_PO_CREATE.

Regards,

Siddhesh S.Tawate

Read only

Former Member
0 Likes
663

Hi,

When you are setting POITEM-GR_BASEDIV to equal space, are you also setting POITEMX-GR_BASEDIV equal to X to show it is valid for update?

Gareth.