Application Development 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: 

Replace the BAPI_PO_CREATE

Former Member
0 Kudos

Hi Guys,

New BAPI - <b>BAPI_PO_CREATE1</b> in place of <b>BAPI_PO_CREATE</b>, I was not able to pass the current parameters in <b>BAPI_PO_CREATE1</b>, witch all ready available in <b>BAPI_PO_CREATE</b>.

Can any one please suggest me?

Thanks,

Gourisankar

4 REPLIES 4

Former Member
0 Kudos

create1 is for transaction ME21N enjoy transaction

and create is for ME21 old transaction

Read the documentation of bapi and pass teh values

0 Kudos

Hi siva,

I am not able to pass the same parameter to BAPI_PO_CREATE1,Can you please guide me how to pass currectly.The same parameters i have to pass the BAPI_PO_CREATE1.

Below i am provind the coding also,please look and help me.

CALL FUNCTION 'BAPI_PO_CREATE'

EXPORTING

PO_HEADER = PO_HEADER

PO_HEADER_ADD_DATA = PO_HEADER_ADD_DATA

HEADER_ADD_DATA_RELEVANT = HEADER_ADD_DATA_RELEVANT

PO_ADDRESS = PO_ADDRESS

SKIP_ITEMS_WITH_ERROR = SKIP_ITEMS_WITH_ERROR

ITEM_ADD_DATA_RELEVANT = ITEM_ADD_DATA_RELEVANT

IMPORTING

PURCHASEORDER = PURCHASEORDER

TABLES

PO_ITEMS = PO_ITEMS

PO_ITEM_ADD_DATA = PO_ITEM_ADD_DATA

PO_ITEM_SCHEDULES = PO_ITEM_SCHEDULES

PO_ITEM_ACCOUNT_ASSIGNMENT = PO_ITEM_ACCOUNT_ASSIGNMENT

PO_ITEM_TEXT = PO_ITEM_TEXT

RETURN = RETURN

PO_LIMITS = PO_LIMITS

PO_CONTRACT_LIMITS = PO_CONTRACT_LIMITS

PO_SERVICES = PO_SERVICES

PO_SRV_ACCASS_VALUES = PO_SRV_ACCASS_VALUES

PO_SERVICES_TEXT = PO_SERVICES_TEXT.

0 Kudos

hi,

check the below links

Reward if helpful.

Regards,

Nagaraj

former_member188827
Active Contributor
0 Kudos

go to se37 and open both the bapis and check the parameters(both import and export, tables) dey hav different dictionary types so u've to type ur paramters and pass to new bapi accordingly...