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: 

REG Purchase Order BAPI

Former Member
0 Kudos

Hi Experts,

My requirement is to get in to change mode of a PO's ,then

click on Messages Tab so that the Output type NEU gets triggered automatically for the list of PO's i have and then i save the PO.

I am trying to do a recording in ME22N .The recording seems to be working fine in Foreground and Background Mode.

When i try to Schedule it as a job in Background , it gives an

Error saying

'Unable to initialise ABAP Control Framework ...

Control Framework: Fatal error - GUI cannot be reached'.

Is there any BAPI which can solve my requirement.

I cannot use ME22 also as i dont have access to that TCODE.

Your help is very much appreciated.

Regards,

Nick

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

If u want

Create Purchase Order using BAPI

Pls check this Function Module

BAPI_PO_CREATE -


Create Purchase Order

BAPI_PO_CHANGE -


Change Purchase Order

Reward if use ful ,

Regards ,

Shankar GJ ..

4 REPLIES 4

Former Member
0 Kudos

You can not use BDC recordings for Enjoy transactions.

You can use BAPI_PO_CREATE1 BAPI for this purpose.

Hope this helps you.

Thanks,

Arun

0 Kudos

You can use BAPI_PO_CHANGE for the same purpose.

I am sorry for the previous error.

Thanks,

Arun

0 Kudos

Hi,

U cannot use ordinary transaction as it takes mre amount of time . for that use standard BAPI FM

BAPI_PO_CHANGE-- to change bapi PO and use method

purchaseorder.change to change PO.

BAPI_PO_CREATE

BAPI_PO_CREATE1

Depending upon u r req u use but it is better to use BAPI_PO_CREATE1 and dont forget to use

BAPI_Transaction_commit.

Reward if its usefull.

Regards

Durgaprasad.

Edited by: Durga Prasad on Apr 11, 2008 8:05 AM

Former Member
0 Kudos

Hi ,

If u want

Create Purchase Order using BAPI

Pls check this Function Module

BAPI_PO_CREATE -


Create Purchase Order

BAPI_PO_CHANGE -


Change Purchase Order

Reward if use ful ,

Regards ,

Shankar GJ ..