cancel
Showing results for 
Search instead for 
Did you mean: 

Goods Issue

Former Member
0 Kudos

Hi

Help me to test using the function module BAPI_GOODSMVT_CREATE with 03 code . I have maintained the data in the following , once i execute there is no document been generated. I tried using SE37 with BAPI and by calling the commit function also but could able to generate the GI successfully.

Import parameters

Goodsmvt_header : posting date, document date

Goodsmvt_code : 03 ( goods issue with reservation number)

Tables

1) Goodsmvt_item

1.1 - material number : 16 digit

1.2 - Plant

1.3- Storage location

1.4 - batch - not maintained

1.5 reservation number

1.6 - Reservation item

do suggest to test the above said BAPI successfully.

Thanks

PP

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Sorry wrong type mistake in my earlier post sentance here is the correct one- I tried using SE37 with BAPI and by calling the commit function also but could not able to generate the GI successfully.

Thanks

PP

csaba_szommer
Active Contributor
0 Kudos

Hi,

Necessary inputs are:

1. GOODSMVT_HEADER-PSTNG_DATE >> <posting date>

2. GOODSMVT_CODE-GM >> "03"

3. GOODSMVT_ITEM

3a) RESERV_NO <reservation number>

3b) RES_ <item number>

3c) ENTRY_QNT <entry quantity>

3d) ENT <unit of issue>

(my material was not batch managed but you can define in the resrvation which batch to use)

What is the error message you get? (in "RETURN" part)

Regards,

Csaba

Former Member
0 Kudos

Hi

I have maintained all the fields but didnt getting any message in return part.

Is there anything missing ?

Thanks

PP

csaba_szommer
Active Contributor
0 Kudos

Hi,

If there's no "Result" in RETURN table I think there's no problem. There should be record in GOODSMVT_ITEM tabel.

Please be aware that only running BAPI_GOODSMVT_CREATE is not enough. BAPI_TRANSACTION_COMMIT should be put as second BAPI in the sequence as well (SE37 > (menu) Function Module > Test > Test Sequences).

1. You run it (by F8)

2. You get the selection screen of BAPI_GOODSMVT_CREATE. Inputting the necessary data you run it by F8.

3. After having it run you click on "<-" icon to go back

4. Selection screen of BAPI_TRANSACTION_COMMIT appears >> put "X" in "WAIT" field.

5. Hit "F8" key.

If your inputs were proper you should get result.

Regards,

Csaba