Questions tagged [badi]

Tag is intended for questions related to creation and implementation of BAdI objects in SAP ABAP environments. One should not confuse BAdI (Business Add-Ins) and BAPI (Business Application Programming Interface) because those are two different SAP frameworks.

Business Add-Ins or simply BAdI is a new generation framework which replaces old user-exits and customer-exits which where used for enhancing SAP standard code for years.

Advantages over user/customer-exits:

  • class-based, supports OOP
  • support several simultaneous implementations
  • supports filters for distinguishing implementations
  • fully integrated into new Enhancement Framework
33 questions
1
vote
2 answers

Create outbound delivery with different shipping address

I've searched for days and found nothing. My problem is, that I have to create a return delivery out of an QM-Report. Everything works fine. However, the customer wants to change the delivery address manually. Flow: QM02 (QM-Report) => Return order…
SacrumDeus
  • 156
  • 1
  • 13
1
vote
2 answers

Updating ME21n fields WEORA/BSTAE via ME_PROCESS_PO_CUST BAdi?

I am trying to modify the values of WEORA, BSTAE in ME21n tcode upon saving. I've written the code in ME_PROCESS_PO_CUST BADI, method CHECK: DATA: lt_data TYPE PURCHASE_ORDER_ITEMS, lo_header TYPE REF TO CL_PO_HEADER_HANDLE_MM, lt_item…
Yuri
  • 11
  • 2
  • 5
1
vote
1 answer

How to configure OCI catalog for ME51N?

We have a requirement to connect to an external catalog from ME51N tcode (Purchase Requisition). This integration must be done entirely from ECC side and shouldn't be linked with SRM. I have tried configuring the OCI on two different places. Let me…
Beto
  • 73
  • 1
  • 2
  • 8
1
vote
1 answer

Implicit commit in F4IF_INT_TABLE_VALUE_REQUEST popup?

I noticed that there is an implicit commit between the cycles mentioned above. Now I am in an BADI, where I implement a method, which help states there should be no commits there. However, I have a requirement which is best to be implemented through…
icbytes
  • 1,831
  • 1
  • 17
  • 27
1
vote
1 answer

Enable for input erroneous field after the E error message in MIRO?

I'm developing a validation in tx MIRO through the BADI MRM_HEADER_CHECK, I show a message when the field "reference" has already been used. The message has type E, this disables every field on screen and so the user can't return to that field to…
Gme Moreno
  • 19
  • 2
  • 6
1
vote
1 answer

How to execute a BADI in BAPI_ACC_DOCUMENT_POST from C#?

I have to pass data to BAdI acc_document in parameter extension1 of BAPI bapi_acc_document_post, but I don't know how to do that using SAP .NET connector. Any suggestions? Regards, Devinder
Devinder Yadav
  • 124
  • 2
  • 9
1
vote
1 answer

User input in Z fields is not processed in CUSTOMER_ADD_DATA BAdI

I need to know what to process (save & display) with user input in custom fields. My Setup: - new subscreens for Transactions XD.. (e.g. XD02) - Using badi customer_add_data and customer_add_data_cs - added some custom fields to tables, e.g. KNA1 -…
SDD64
  • 706
  • 13
  • 28
1
vote
1 answer

How to extend standard screen F-41

I need to extend T-code F-41 for Xref1_HD, Xref2_HD. I know there is a BAdI but I have never used neither enhancements nor BAdIs, because I am still learning. There is a Dynpro 1300 and BAdI FI_HEADER_SUB_1300, but I really do not know how to use…
Eduard Baraniak
  • 421
  • 1
  • 10
  • 31
1
vote
1 answer

User-dependent BAdI implementation. How?

Is there any way to create user-dependent BAdI implementations? I mean that the BAdI has different implementations which are called depending on user which is logged and which calls the specific transaction. Other scenario is to not call certain…
Suncatcher
  • 10,355
  • 10
  • 52
  • 90
1
vote
1 answer

Prevent creation of particular infotype records?

My aim is to protect users against of creation 105 infotype (communication) for some HR persons. I found HRPAD00INFTY BADI which called every time I save infotype updates. But the problem is that I cant prevent infotype creation/update from within…
Anton Semenov
  • 6,227
  • 5
  • 41
  • 69
0
votes
0 answers

Update BKPF fields while posting a document after validation is successful

I have a requirement to update XBLNR_ALT field using a number range on the header BKPF when posting a document. This update needs to happen only after all validations are successful. My requirement is to update the field using continuous number…
0
votes
1 answer

How to know the SAP oubound delivery item is posted in a GR

What tables to look at to check whether the outbound delivery item is posted in a GR? Or is there any BADI that can provide this information?
Adham Enaya
  • 780
  • 1
  • 11
  • 29
0
votes
2 answers

How to call ABAP code after releasing a Purchase Order?

I want to trigger an IDoc or Web-service after releasing a purchase order. What is the best way to do it? Via output determination (what would be the condition in this case?) or via a BADI or user exit? Best Regards
user2419908
  • 137
  • 2
  • 12
0
votes
1 answer

MIRO BADI message

I am working on a requirement to display warning message on MIRO when information entered meets required criteria. I have implemented BADI 'INVOICE_UPDATE' and using method "CHANGE_AT_SAVE".However i noticed the message is not being displayed even…
gvs
  • 39
  • 1
  • 11
0
votes
1 answer

Call Pop-Up for WebDynpro from a Business AddIn?

We got a Web Dynpro Application which was created with the Floorplan Manager. By clicking a specific button I start a Business AddIn which check some conditions and then it should show a popup on the screen with a message for the user. Is there a…
Dyrdek
  • 411
  • 4
  • 12
  • 33