on 02-14-2007 7:48 AM
Dear All, I have a problem about create an include for a BAdi,
for example:
1 In the SRM Purchase Order, the Tax Code field shall be set to non-editable
An implementation of BADI definition BBP_UI_CONTROL_BADI named ZQM_PO_UI_CONTROL.
Create an include for this BADI that is executed for sy-mandt = 200.
What must I do?
thanks a lot.
Hi
<b>Use the IF.. ELSE.. ENDIF conditions. That is inside the MEthod... EndMethod..code</b>
<b>Sample Code</b>
METHOD .....
IF SY-MANDT = '200'
*--- Do this
ELSEIF SY-MANDT = '100'.
*--- Do that
ENDIF.
ENDMENTHOD.
Hope this will help.
Please reward suitable points.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Here are the steps->
<b>Go to SE19 transaction and type the name - ZQM_PO_UI_CONTROL
and click on Display button. A new screen will come. Click on Interface tab.
There you will see the method name...
<b>BBP_PO_UI_CTRL</b>
in the table.
Doble-Click on this method name.
A new screen will appear..
You will see Method ... Endmethod.. Inside that you can make the required changes by Clicking on Change button on the Application toolbar.</b>
Hope this will help.
Please reward suitable points.
Regards
- Atul
thanks Atul help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.