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

Filling up BAPI Import parameters

Former Member
0 Likes
1,074

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.

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
834

check with objnr or qmnum in MKPF and MSEG..

also read the FM Documentation.

6 REPLIES 6
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
835

check with objnr or qmnum in MKPF and MSEG..

also read the FM Documentation.

Read only

0 Likes
834

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?

Read only

0 Likes
834

The table QMEL has fields

EBELN

EBELP

MJAHR

MBLNR

MBLPO

LInk it with MKPF and MSEG

Read only

0 Likes
834

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

Read only

0 Likes
834

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.

Read only

0 Likes
834

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