on 04-17-2007 4:49 PM
Hi,
I need to set a field of a structure as mandatory
from a badi(interface IF_EX_BBP_CUF_BADI_2)
someone can help me?
Hello Tony
I would recommend using the BADI BBP_DOC_CHECK_BADI.
It is better to do all checks in a single BADI so that maintenance of custom programs will be easy later.
Best regards
Ramki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Are you sure ?
Have you checked carefully in SE18 Transaction for the BADI name ?
It should exist. Please confirm.
Alternatively, try to go for the BADI
BBP_ITEM_CHECK_BADI
BBP_DOC_CHECK_BADI General BAdI in Cross-Check for Message Returns
BBP_ITEM_CHECK_BADI Gen. BAdI in Item Cross-Check for Message Return
Hope it will help.
Regards
- Atul
Hi,
For whcih document have you added the custom fields?
If its SHOPPING CART,then add the Filter type as BUS2121.
Other documents and their corresponding filter values are:
BUS2000113 Purchase Contract
BUS2200 Bid Invitation
BUS2201 Purchase Order
BUS2202 Vendor Bid
BUS2203 Confirmation
BUS2205 Incoming Invoice
BUS2206 Vendor List
BUS2208 Auction
BUS2209 Purch.Order Response
BUS2210 Invoice Default
BUS2230 SUS Purchase Order
BUS2231 Shipping Notif.
BUS2232 SUS PO Confirmation
BUS2233 SUS Confirmation
BUS2234 SUS Invoice
HTH.
BR,
Disha.
Pls reward points for helpful answers.
Hi
For Changing value of custom/standard shopping cart fields, we use - <u>BBP_DOC_CHANGE_BADI</u> -> use filter type BUS2121 for shopping cart
-> use filter type BUS2201 for Purchase Order
Similarly, For Issuing custom message- we use <u>BBP_DOC_CHECK_BADI</u> -> use filter type BUS2121 for shopping cart
-> use filter type BUS2201 for Purchase Order
Do let me know, you complete business requirements, incase you need further assistance.
Regards
- Atul
Hi
Please try this ->
For BADI Definition - BBP_DOC_CHECK_BADI using SE!8 transaction, click Display key to see the details and then clcick on Menubar Implementations -> Display to see what all Custom Implementations for this BADI Definition are existing in your system. Take help of Some ABAP persons. Custom BADI Implementations starts with either Y or Z.
See using SE19 Transaction What all Custom Implementations are existing in the system which are using BBP_DOC_CHECK_BADI as the BADI Definition.
Then Incase, there exists any BADI Implementation starting with Y or Z for this BADI Definition - BBP_DOC_CHECK_BADI, you can put your logic as per you businees requirements inside the Method BBP_SC_CHECK (for BUS2121) OR
for the method BBP_PO_CHECK for filter type BUS2201 accordingly.
Let me know incase you face any other issues.
<b>Note -> Please read the SAP Standard Documentation of the BADI before implementing the custom Implementation.</b>
You will Enjoy learning working on Business Add-Ins !!
Regards
- Atul
Hi,
You can set the field as mandatory through the same BADI (BBP_CUF_BADI_2)itself...(Dont remember the method).Alternatively you can write the logic in BBP_DOC_CHECK_BADI acc to the Docuemnt for whcih you have added the custom fields.
BR,
Disha.
Pls reward points for useful answers.
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.