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 to create Purchase Requisition

Former Member
0 Likes
19,687

Hi Experts,

I´m looking for a BAPI to create a Purchase Requisition (Tx ME51)

Hope you can help me!!

Regards,

MC.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
8,714

Hello,

Check this.


  call function 'BAPI_REQUISITION_CREATE'
       exporting
            skip_items_with_error          = 'X'
       importing
            number                         = h_banfn
       tables
            requisition_items              = req_item
            requisition_account_assignment = req_acct
            requisition_item_text          = req_text
            return                         = return
       exceptions
            others                         = 0.

Vasanth

Hi Experts,

I´m looking for a BAPI to create a Purchase Requisition (Tx ME51)

Hope you can help me!!

Regards,

MC.

10 REPLIES 10
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
8,714

BAPI_REQUISITION_CREATE

Regards,

Rich Heilman

Read only

former_member194669
Active Contributor
0 Likes
8,714

Hi,

Use fm BAPI_REQUISTION_CREATE

aRs

Read only

Former Member
0 Likes
8,714

Hi Martin,

Try <b>BAPI_PR_CREATE</b>.

Hope it helps.

Regards

Aneesh.

Read only

Former Member
0 Likes
8,715

Hello,

Check this.


  call function 'BAPI_REQUISITION_CREATE'
       exporting
            skip_items_with_error          = 'X'
       importing
            number                         = h_banfn
       tables
            requisition_items              = req_item
            requisition_account_assignment = req_acct
            requisition_item_text          = req_text
            return                         = return
       exceptions
            others                         = 0.

Vasanth

Read only

0 Likes
8,714

Sory,

But I looking for a Bapi to create a RFQ (Tx me41)

Thanks for all replies!

hope u can help me,

Regards

Read only

0 Likes
8,714

<b>BAPI_VENDOR_CREATE</b>

Regards

Aneesh.

Read only

0 Likes
8,714

I guess No BAPI ,use BDC

Read only

0 Likes
8,714

Hello Martin,

There is no BAPI is available.

Try to make use of the FM ME_CREATE_DOCUMENT or

Make use of BDC.

Vasanth

Read only

Former Member
0 Likes
8,714

Hi,

Please check this FM ME_CREATE_REQUISITION_EXT.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
8,714

Thanks!