‎2008 Aug 27 10:37 AM
Hi All,
I am using BAPI BAPI_GOODSMVT_CREATE wherein i need to fill import paramater structure wherin there are few mandory parameters which i should pass it. The only thing i have in my hnad is QMEL structure filled but only few parameters of it are filled like QNUM OBJNR MATNR . Now my problem is based on those parameters i need to fetch data from another table to fill structure that i can pass it to BAPI.
Could you please provide the link between tables so that i can fetch data from those table to fill structure?
the NECESSARY parameters for BAPI are
bldat
budat
xblnr
frbnr
usnam
xabln
bktxt
wever
bfwms
Please help me out.
‎2008 Aug 27 10:43 AM
check with objnr or qmnum in MKPF and MSEG..
also read the FM Documentation.
‎2008 Aug 27 10:43 AM
check with objnr or qmnum in MKPF and MSEG..
also read the FM Documentation.
‎2008 Aug 27 10:51 AM
Hi,
The key fields MBLNR AND MJAHR are not get filled in QMEL structure. so i can't fetch data from MSEG and MKPF. Could you please suggest me another approach by which i can fill those necessary parameters?
‎2008 Aug 27 10:55 AM
The table QMEL has fields
EBELN
EBELP
MJAHR
MBLNR
MBLPO
LInk it with MKPF and MSEG
‎2008 Aug 27 11:15 AM
Hi keshu,
Actually i am gonna insert that BAPI into FM ZQM06_FM_TASK_GOODS_MOVEMENT but the importing parameter of FM has one structure QMEL bsed on which i need to fill BAPI but the QMEL structure only filling few parameters of it like QMNUM OBJNR but not MBLNR and MJAHR.
So it is creating problem to fetch data from MKPF and MSEG
‎2008 Aug 27 11:20 AM
Either add few more fields to that structure and pass data to that FM...coz ita Z Object.
or else fetch data from QMEL table based on QMNUM
and then process it...
Im bit confused on your req.
‎2008 Aug 27 11:30 AM
Hi,
Actually that FM is getting used in transaction IW52 wherein after insertion of few parameters the fm get called once i checked qmel structure no data found for MBLNR and MJAHR Is there any BAPI or FM exist to which i can pass QNUM and it will provide the reletive data