cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass the condition vallues in bapi BAPI_PO_CREATE1 for items as well

Former Member
0 Kudos

HI,

where to pass the condition value table in bapi BAPI_PO_CREATE1 item level as well as header level

Like Frieght charges,discounts, basic price ,VAT,CST etc.

Is there any BAPI for GR tcode MIGO.

Pl send along with simple examples .

Your answeres will be rewarded.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Pass the condition value to the following parameters.

  • POCONDHEADER =

  • POCONDHEADERX =

  • POCOND =

  • POCONDX =

For GR u case use the following BAPI.

  • GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order

  • 02 - MB31 - Goods Receipts for Prod Order

  • 03 - MB1A - Goods Issue

  • 04 - MB1B - Transfer Posting

  • 05 - MB1C - Enter Other Goods Receipt

  • 06 - MB11

*

  • Domain: KZBEW - Movement Indicator

  • Goods movement w/o reference

  • B - Goods movement for purchase order

  • F - Goods movement for production order

  • L - Goods movement for delivery note

  • K - Goods movement for kanban requirement (WM - internal only)

  • O - Subsequent adjustment of "material-provided" consumption

  • W - Subsequent adjustment of proportion/product unit material

*

call function 'BAPI_GOODSMVT_CREATE'

exporting

goodsmvt_header = gmhead

goodsmvt_code = gmcode

  • * TESTRUN = ' '

IMPORTING

goodsmvt_headret = mthead

  • * MATERIALDOCUMENT =

  • MATDOCUMENTYEAR =

tables

goodsmvt_item = itab

  • GOODSMVT_SERIALNUMBER =

return = errmsg.

Answers (1)

Answers (1)

Former Member
0 Kudos

This message was moderated.