SAP for Media Discussions
Spark conversations about content creation, audience engagement, and monetization strategies using SAP in the media industry. Join in the discussion!
cancel
Showing results for 
Search instead for 
Did you mean: 

BAdi ISM_PORDER

Former Member
0 Kudos

Hi All,

this should be a real quick question, does anyone know how to activate BAdi ISM_PORDER?

This is used to control the creation of Purchase Orders when Carrying out Purchase Qty Planning in Media Product Sales.

We have updated the BAdi code but it has no effect!

Many thanks

Martin

  • SAP Managed Tags:
1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Martin,

1. BAdi Implementation

a. Go to SE19, Give the BADI Name ISM_PORDER.

b. Click 'Create' Button.

c. Give the Implementation Name ZISM_PORDER.

d. In this screen, Interface tab have two methods 'BEFORE_PO_CREATE' and BEFORE_PO_CHANGE'. double click the method which is fulfill your requirement.

e. Activate the method (CTRL+F3).

f. Click 'Back' Button in App toolbar, and activate BADI(CTRL+F3).

2. How to check is the BADI triggering or not?

a. Create break point in your code (BADI's implemented method).

b. Run your transaction.Control will go to your code in debug mode if BADI found.

3. How to find a BADI in a transaction?

a. Execute transaction SE37 or SE80 and find function module 'SXV_GET_CLIF_BY_NAME'.

b. Insert a breakpoint in it.

c. Now go to the SAP transaction you want to find a BADI in.

d. When you execute it, it will stop at the above function module.

e. Look at the value of field EXIT_NAME.

f. This will provide you with the name of the BADI that is available in your SAP transaction code.

Refer the below link.

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f3202186-0601-0010-6591-b832b1a0d0de|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f3202186-0601-0010-6591-b832b1a0d0de]

Hope this will help your requirement.

Reward if found helpful.

Regards,

Boobalan Suburaj

View solution in original post

  • SAP Managed Tags:
1 REPLY 1

Former Member
0 Kudos

Hi Martin,

1. BAdi Implementation

a. Go to SE19, Give the BADI Name ISM_PORDER.

b. Click 'Create' Button.

c. Give the Implementation Name ZISM_PORDER.

d. In this screen, Interface tab have two methods 'BEFORE_PO_CREATE' and BEFORE_PO_CHANGE'. double click the method which is fulfill your requirement.

e. Activate the method (CTRL+F3).

f. Click 'Back' Button in App toolbar, and activate BADI(CTRL+F3).

2. How to check is the BADI triggering or not?

a. Create break point in your code (BADI's implemented method).

b. Run your transaction.Control will go to your code in debug mode if BADI found.

3. How to find a BADI in a transaction?

a. Execute transaction SE37 or SE80 and find function module 'SXV_GET_CLIF_BY_NAME'.

b. Insert a breakpoint in it.

c. Now go to the SAP transaction you want to find a BADI in.

d. When you execute it, it will stop at the above function module.

e. Look at the value of field EXIT_NAME.

f. This will provide you with the name of the BADI that is available in your SAP transaction code.

Refer the below link.

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f3202186-0601-0010-6591-b832b1a0d0de|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f3202186-0601-0010-6591-b832b1a0d0de]

Hope this will help your requirement.

Reward if found helpful.

Regards,

Boobalan Suburaj

  • SAP Managed Tags: