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

saving goods movement using BAPI

Former Member
0 Likes
683

Hi Frnds

Need some help in saving confirmation with Goods Movement

I have created a Z report to enter confirmation data and save .

am using following BAPI


CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'

*EXPORTING 
*POST_WRONG_ENTRIES = '0' 
*TESTRUN = 
*IMPORTING 
*RETURN = 
TABLES
TIMETICKETS = P_IT_BAPI_PP_TIMETICKET
GOODSMOVEMENTS = P_IT_GOODSMOVEMENTS
*LINK_CONF_GOODSMOV = P_IT_LINK_CONF_GOODSMKOV 
DETAIL_RETURN = P_IT_DETAIL_RETURN
.

here P_IT_BAPI_PP_TIMETICKET gives me confirmation details.

and P_IT_GOODSMOVEMENTS gives me Goods movement details

I am able to create confirmation successfully when i check it in AFRU

but when I am checking Goods Movement Data in AUFM

I am not getting the header part with movemet type 101

any idea

thanks in advance

Regards,

Aniruddh

Edited by: aniruddha surve on Aug 28, 2008 12:14 PM

Edited by: aniruddha surve on Aug 28, 2008 12:16 PM

4 REPLIES 4
Read only

Former Member
0 Likes
577

Hi,

Have used after BAPI, Another BApi BAPI_TRANSACTION_COMMIT

Regards

jana

Read only

0 Likes
577

i am using bapi_transaction_commit

i can save the data

but the header part is not saved

if you check in AUFM table

for one entry there is one record with movement type 101 and other records with movement type 261 or other

I am not getting record with movement type 101 ( good receipt )

Read only

0 Likes
577

hi.

just right now I'm having the same problem with the BAPI_PRODORDCONF_CREATE_TT...... i get some records GM 261 but not i get this record 101.

you have any solution?

thanks in advance!!!

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
577

use commit work after the BAPi...as posted above