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

BADI not called when using a BAPI

Former Member
0 Likes
1,667

Hi,

We developed a check for good receipts using BADI (MB_MIGO_ITEM_BADI). When using MIGO, the BADI works fine, but we do in general the goods movement via remote barcodereaders. Those uses the BAPI BAPI_GOODSMVT_CREATE based on BUS2017. The document is created well, but no control is be done in the BADI. We set a break-point in the BADI, but it didn't stop.

Any ideas?

Yves

10 REPLIES 10
Read only

Former Member
0 Likes
1,443

Hi,

Ru working on IS-OIL reqirement?

Revert back...

Regards

Read only

0 Likes
1,443

What do you mean with IS-OIL?

Yves

Read only

0 Likes
1,443

IS-Oil is packaged with standard SAP (ie) all modules like MM,SD,FI are available along with addon of IS-Oil . Codes and tables are same as in standard R/3

PO -T.code - ME27 - Tables - EKKO,EKPO

Sales order -T.code VA01 - VBAK,VBAP

All material doucments are as in other R/3 systems saved in MSEG additionally Alternative units of posting material doucment will be enabled which willbe saved in MSEG02.

Mostly in IS-OIL Down stream - TD,TSW,HPM will be used .

New transactions which are oil specific are for creating Shipments, Loading shipments & delivering shipmenst .

O4F1,O4G1,O4H1 respectively .

Tables for these are OIGS,OIGSVMQ,OIGSVMQ02.

Hope this gives some idea about IS-OIL .

<b>Reward points</b>

Regards

Read only

0 Likes
1,443

Well, i think we don't use IS-Oil.

We working with a standard 4.7 version. What we try to do is that good movements are checked (via BADI) and in some cases, print labels. Those should be done via Gui (transaction MIGO) and barcodereaders (ie PDA - Win CE) using ActiveX component and acces SAP via RFC.

Yves

Read only

0 Likes
1,443

Hi,

as per <b>OSS note 607156</b> BAPI are not suitable for IS-OIL Reqirement.i have also met with same incident before so u can better to consult ur functional guy.

and my advice is you can use the <b>MB_CREATE_GOODS_MOVEMENT </b> The function module provides a general interface for posting goods movements.

<b>Reward points</b>

Regards

Read only

0 Likes
1,443

I don't think it's a solutions for us. Because we're still using MIGO and MB_CREATE_GOODS_MOVEMENT uses the old transactions MBST, MB1A etc.

Why does the BADI not activate when using the BAPI?

Yves

Read only

0 Likes
1,443

Hi,

Are you calling BAPI in BADI program, than dont use Transaction_commit .

Thanks,

Anitha

Read only

0 Likes
1,443

Anitha,

No it's the BAPI that should call the BADI (with the check)

Yves

Read only

Former Member
0 Likes
1,443

Hi,

I have the same problem, I implemented a BADI in purchase order req, works fine, but when I use the bapi  BAPI_PR_CREATE, the badi don't work. Would You Tell me How you solved, please?.

Thanks.

Read only

former_member185537
Participant
0 Likes
1,443

Hi YVES,

BADI s should be called by default. Most user exits get called also when using BAPIs. Check if the BADI is active. There should be no other reason