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 for MIGO

Former Member
0 Likes
802

Hello,

When you start the transaction MIGO after entering the Purchase order and clicking on execute you get the head and detail overview. My question is:

1. Which is the BAPI which returns this details?

I am trying to get that details using Web Dynpro.

Many thanks,

Dharmi

1 ACCEPTED SOLUTION
Read only

venkata_ramisetti
Active Contributor
0 Likes
578

Hi,

Transaction MIGO is not using BAPI to show Header and Detail overview.

But you can use BAPI function modules

BAPI_PO_CREATE --> To create Purchase Order

BAPI_PO_CHANGE --> To change Purchase Order

BAPI_PO_GETDETAIL --> Todisplay Purchase Order

Thanks,

Ramakrishna

4 REPLIES 4
Read only

ferry_lianto
Active Contributor
0 Likes
578

Hi Dharmi,

Have you looked ME_DISPLAY_PURCHASE_DOCUMENT?

Regards,

Ferry Lianto

Read only

venkata_ramisetti
Active Contributor
0 Likes
579

Hi,

Transaction MIGO is not using BAPI to show Header and Detail overview.

But you can use BAPI function modules

BAPI_PO_CREATE --> To create Purchase Order

BAPI_PO_CHANGE --> To change Purchase Order

BAPI_PO_GETDETAIL --> Todisplay Purchase Order

Thanks,

Ramakrishna

Read only

0 Likes
578

Hello Ramakrishna,

Thank you very much.

Best regards,

Dharmi

Read only

Former Member
0 Likes
578

Hi Dharmi,

There are 2 FM used in MIGO which give the details required by you.

ME_READ_HEADER_GOODS_RECEIPT (Header overview)

ME_READ_ITEM_GOODS_RECEIPT (Details).

Both the FM's require only Purchase Order # as input.

However you need these are normal FM and you can change to RFC and use the same. There is nor direct BAPI to help you out.

Cheers,

Vikram

Pls reward for helpful replies!!