Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


Hello !

I try to make a post from a project to another project (Like MIGO), but I have a short problem by using this BAPI with the movementtype 311 Q.

After I run the report and made a post, i got a document number. (Subrc = 0)

When I get a short view into the document I will see that I have done a post from a project to the SAME project. :-?

I fill out the following fields :

MOVE gs_material-matnr TO gs_goodsmvt_item-material.(000000000100016779)

MOVE gs_material-werks TO gs_goodsmvt_item-plant.(2035)

MOVE gs_material-lgort TO gs_goodsmvt_item-stge_loc.(0100)

MOVE gs_material-move_type TO gs_goodsmvt_item-move_type.(311)

MOVE gs_material-sobkz TO gs_goodsmvt_item-spec_stock.(Q)

MOVE gs_material-entry_qnt TO gs_goodsmvt_item-entry_qnt.(15)

MOVE gs_material-network TO gs_goodsmvt_item-network.(empty)

MOVE gs_material-charg to gs_goodsmvt_item-batch.(empty)

MOVE gs_material-charg to gs_goodsmvt_item-move_batch.(empty)

MOVE gs_material-stck_type to gs_goodsmvt_item-stck_type.(empty)

MOVE sy-datum TO gs_goodsmvt_header-pstng_date.(16092008)

MOVE sy-datum TO gs_goodsmvt_header-doc_date.(16092008)

MOVE gs_material-move_stloc TO gs_goodsmvt_item-move_stloc.(0100)

MOVE '04' TO gs_goodsmvt_code-gm_code.(04)

MOVE gs_material-pspnr TO gs_goodsmvt_item-wbs_elem.(P229999910100000)

MOVE gs_material-move_pspnr TO gs_goodsmvt_item-val_wbs_elem. (P100000110100000)

MOVE gs_material-costcenter TO gs_goodsmvt_item-costcenter.(empty)

It would be fine if somebody can help me or give me a solution for this result.



Former Member
Not what you were looking for? View more on this topic or Ask a question