04-11-2008 6:16 AM
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
04-11-2008 6:26 AM
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 ..
04-11-2008 6:21 AM
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
04-11-2008 6:24 AM
You can use BAPI_PO_CHANGE for the same purpose.
I am sorry for the previous error.
Thanks,
Arun
04-11-2008 6:30 AM
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
04-11-2008 6:26 AM
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 ..