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: 

BAPI_PO_CREATE1 for ME21

former_member1038687
Active Participant
0 Kudos

Hi people! Please help me.

I want to use the bapi_po_create to create a PO like in ME21. In ME21 i'm creating an PO with service like this SHDB:

'X' 'SAPLMLSP' '0200',

' ' 'RM11P-HEADTEXT' t_zpsdcom001-txz01,

' ' 'ESLL-SRVPOS(01)' t_zpsdcom001-asnum,

' ' 'ESLL-MENGE(01)' '1',

' ' 'ESLL-MWSKZ(01)' t_zpsdcom001-mwskz,

' ' 'ESLL-KTEXT1(01)' t_zpsdcom001-txz01,

' ' 'ESLL-TBTWR(01)' v_valor,

' ' 'RM11P-KOSTL(01)' t_zpsdcom001-kostl,

' ' 'BDC_OKCODE' '/00',

It's possible use this bapi for this PO?

Thanks.

2 REPLIES 2

Former Member
0 Kudos

Hi,

You can use the Fowwlowing BAPI..

'BAPI_PO_CREATE1'.

Refer

https://forums.sdn.sap.com/click.jspa?searchID=5092542&messageID=2848339

Regards

Kiran Sure

former_member1038687
Active Participant
0 Kudos

I only see examples with materials ...it's possible to do it with ME21 for service? In link, its a MATNR based...in ME21 i have an tab with services, só I add services in...

Edited by: Jack_al on May 19, 2008 6:31 PM