Problem (Exit/Badi)

Hi All
Please try to solve my problem which is described below.
I have one Delivery Number for a specific Customer, For which I am creating Invoice using VF01.
But when I complete the VF01 and press save it shows Message as "Document <Number> created". But After that message flashing in status bar when I press BACK button or any other button/key one Express Mail message comes in front of me which says "Update was Terminated" and in the mail below info is written along with some other system info
<b>Error Info : ZDSD_EF_BILLING 042 :No home office could be determined for [Sold -to]</b>
<b>Problem is :</b> I want to find out from where this Message/mail is coming out...
<b>I have followed below Approach but it dint work :</b>
1) I searched all exits searching customer-function in SAPMV60A...But it dint work.
2) Also I searched all BADi's comeing while saving VF01 but the list is too big and I am not getting what I am looking for.
Please suggest something
Points will be surely rewarded for Helpful answers .
Regards
Tushar Mundlik

Hi
That was a great Idea!!!I liked it..
I was able to find the Programs which have used class ZDSD_EF_BILLING number 042 as below.
LYDEF_EDI_INVOICE_TEMPIU1        Include LZDEF_EDI_INVOICEIU1
LZDEF_EDI_INVOICEIU1                   Include LZDEF_EDI_INVOICEIU1
LZDEF_GNMW_INVOICEIU1             Include LZDEF_EDI_INVOICEIU1
Z_TEST_EDI                                         EDI / TIBCO Invoice Output
Even I put braek point in all the statement where the class ZDSD_EF_BILLING number 042 is used but it is not stopping at any point.
There is no output type mentioned in the Delivery or Invoice.
Even I tried your suggetion But I was not able to find the path SPRO>SD>BILLING>OUTPUT>OUTPUT TYPES and was unable to procede.
Please help me again
I will reward you full point surely...
Regards
Tulip

Similar Messages

  • Reg. Exit/BADI for changing item data of PO in ME22N

    Hi all,
    My requirement is to update the field LABNR (Order Ack.) of few specific line items of a PO, in the Transaction ME22N, using Exit/BADI.
    I have tried the BADI  ME_PROCESS_PO_CUST. But the PROCESS_ITEM method of this BADI processes only the line item which has been changed/inserted in ME22N transaction. But my requirement is to update line items irrespective of whether that line item was "changed/not changed" during the process in ME22N screen.
    Could you please suggest me some suitable Exit/BADI for this requirement.
    Regards,
    Anbarasan K

    Thanks Martin.
    Problem solved by implementing the method Process_Header.
    1. Get the items from Header                              -  im_header->get_items
    2. Loop the item list and get the line item record   - re_item-item->get_data
    3. <- Logic to Update the line item - >.
    4. Update the line item                                       - re_item-item->set_data
    Thank you very much.. Martin.
    Regards,
    Anbarasan K

  • User Exit/ Badi for Changing Quant parameters during TO Creation

    Hi Gurus,
    Could you please guide me to advice the User Exit/Badi which can be used for changing Quant Data during TO Creation.
    User Requirement: Using "Recepient Field" in MIGO as a Key Value for FIFO in WM during goods issue. Receipient is copied into TR and TO (Standard SAP Functionality). For the purpose of Stock Removal based on Receipient Value, we need to copy this value into Quant Data field named Certificate Number ("LQUA-ZEUGN").
    I will highly appreciate reply from Gurus.
    Regards,
    Gupta M

    Hi manish,
    Use the Exit MWMTO001 for this purpose and modify the table accordingly. This will solve your problem.
    Thanks,
    Shibashis

  • Valuation price with user exit/BADI/Enhancement Spot (In valuation variant)

    Hi all,
    i am facing problem finding enhancement when creation of sales order of Valuation price with user exit/BADI/Enhancement Spot  (In valuation variant)
    For refferenece:
    When going to t.code VA03, select one item and go to extras in the menu bar and select costing then you find some amounts calculation i.e valuation price automatically.
    So when creation of sales order i am giving material and that material price automatically takes from material master and creating sales order.
    My customer requirement is to get the valuation price of the input material from Z-table during the sales order cost estimate.
    This Z-table contains the material code, plant , grade  of the material.
    Ex:
    Material         Plant   Grade Price
    A                1000    XYZ     25000
    A                1000    PQR     35000
    A                1000    BCD     45000
    Suppose it depends on sales document type and which grade price i have to take.
    So first of all i am unable to find enhancement where to change this code to get change the valuation price.
    Does anybody have any idea , is there any user exit/BADI/enhancement for this.
    So please help me in this issue.
    Thanks & Regards,
    lokeshgoud

    pls allow me to post the questions

  • User Exit/BADI/Enhancement Point  in VF01 before new document no assignment

    Hi Expert,
       I am looking for a user exit/BADI/Enhancement point which will trigger in VF01 before the new document no (Billing document no assign).
    I need to cross check few things in Billing via VF01 at billing document save and give error message accordingly. The problem is if new number assign and there is error due to my code then when user save the document next he get a new no. its mean a no skip.
    Example: The invoice no is 1000. User start creating a billing document with Vf01 and he get an error message due to my code at exit , at this point of time the next number assign to billing which is 1001 but document not save due to my error message. Now after applying correction user save data and billing document created with no 1002. So there is no skip.
    I tried BADI BADI_SD_ACCOUNTING but this will trigger after no assignment.  Can someone provide me a user exit/BADI/Enhancement point in VF01 which trigger before no range assignment and contain at least Billing header data to use in my code?
    Regards
    Swati
    Edited by: Swati Namdev on Nov 16, 2010 9:55 PM

    HI Brad and team,
       BRED is right. I check few user exit normally all of us have that list or easily available on net.
    BRED: my question is: I need to check the billing date VBRK-FKDAT of document should not be less than the sales order plan billing date VBAP-Oldate.
    If this check fail then won't allow the user to create billing document. The problem is I used one user exit SDVFX001 already define previously that's work fine but issue is that user exit trigger after the billing no assignment. That's why when user get that error message he correct the document and create billing this time he get a new number which is skip of one no.
    That why I need a User Exit/BADI/Enhancement Point  which trigger at save but before document no assignment.
    Please update more about your comment "Why not use a header level copy requirement routine to perform the checks and log the messages? This is the standard process."  .
    Suggest user exit USEREXIT_FILL_VBRK_VBRP  trigger before save. I need at save the reason is VBRK-FKDAT  this can be change.
    Feel free to contact me back if you need more clarification.
    Regards
    Swati
    Edited by: Swati Namdev on Nov 17, 2010 6:22 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:25 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:32 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:47 PM

  • Any Exit/BADI/Enh point to modify COOI table contents before PR/PO save

    Hi Experts,
    whenever we create/change Purchase requisition/Purchase Order,
    table COOI(Commitment line items) gets updated with the Purchase requisition/purchase order
    item details and table COSP gets updated with the sum values of COOI entries order by primary keys
    of the table.For better explanation i am taking fields from tables
    COOI (taken few fields for example)
    REFBT     REFBN     RFKNT      LIFNR     HRKFT      OBJNR     WTGBTR(Total value in transaction cuu)
    1234     0010     00512     (empty)     (empty)     PR00148     10
    1234     0020     00512     (empty)     (empty)     PR00148     10
    1234     0030     00512     (empty)     (empty)     PR00149     20
    table updated COSP with sum value of COOI order by it's primary keys
    COSP (taken few fields for example)
    OBJNR     KSTAR     HRKFT     WTG010
    PR00148     00512     (empty)     20
    PR00149     00512     (empty)     20
    I want to pass  the value HRKFT(CO key subnumber/Origin grp) to table COOI
    to update each commitment line item,so that sum will update table COSP order by it's primary keys
    The same example revised with origin group.
    COOI
    REFBT     REFBN     RFKNT      LIFNR     HRKFT      OBJNR     WTGBTR(Total value in transaction cuu)
    1234     0010     00512     (empty)     3100     PR00148     10
    1234     0020     00512     (empty)     3200     PR00148     10
    1234     0030     00512     (empty)     3300     PR00149     20
    table COSP get update with sum value of COOI order by it's primary keys
    of COSP considering HRKFT values now(taken few fields for example)
    OBJNR     KSTAR     HRKFT     WTG010
    PR00148     00512     3100     10
    PR00148     00512     3200     10
    PR00149     00512     3200     20
    and this table is used in report painter to show the commitment
    COSTS's segregated by Origin Group.
    I need to show the report in report painter HRKFT(origin grp) wise cost's for commitments.
    which is using the COSP table to display.
    Now my requirement is any exit/BADI/Enhancement where i can modify table COOI contents
    with HRKFT value for each line item before sum calucalation for COSP table in detail while creating
    Purhcase requisition/Purchase order.
    We are using SAP GUI version 6.0 
    Helpfull answeres will be rewarded
    << Moderator message - Please do not promise points >>
    Edited by: Rob Burbank on May 15, 2011 4:28 PM

    Moderator message -
    When closing old threads, there is no need to add a comment. Adding a pasted answer like "answered" only brings old threads to the top of the forum list and pushes current ones down. If you do add a comment, please indicate just how the problem was resolved.

  • User Exit/ BADI in vf01 after save

    Dear Experts,
    My requirement is to send the mail alert to customer when the billing document is created( VF01 ). Request you to suggest
    the relevant user exit/ badi for the same which is triggered when the save button is pressed.
    Thanks in Advance.

    Hi Farha.
    Go to Ouptut type and the Driver Program related to VF01 output type ..
    Go to se16>tnapr>enter output type already available-->see the Output type and form name.
    Next go to se38> enter the Program name aatachned to Form> and at the end of the Pront privew write  the code
    to capture the spool Number and convert the spool data into internal table ( By using Function Module CONVERT_OTFSPOOLJOB_2_PDF) and next call the Funtion module SO_NEW_DOCUMENT_ATT_SEND_API1  SAPoffice: Send new document with attachments using RFC.
    if you have problem go to se37-->enter CONVERT_OTFSPOOLJOB_2_PDF) and see where used list and find the Driver program how they are converting and sending the mail
    Regards,
    Prabhudas

  • Exit/ BAdi to change delivery priority in ME21n while creating STO

    Hi,
    I'm trying to create STO through transaction ME21N. After entering the header data and material no. when i press enter i'm able to see the item level data. Here in item details, under tab 'Shipping' there is a field 'Delivery priority'. I want to influence this field. Is there any user exit / BAdi available that can be used to modify this field when i press enter after entering the header data and material??( i.e. Before Save).
    I have tried creating implementation in BAdi 'ME_PROCESS_PO_CUST'. But during testing control was not stopping at the break-point.
    Please suggest me solution to this problem.

    Hi
    Create an Implementation ME_PROCESS_PO_CUST  (like   Z_ME_PROCESS_PO_CUST) and check the method
    IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM     Processing of Item Data
    and keep a break-point   u have SET_SHIPPING_DATA  and GET_SHIPPING_DATA Methods
    INterface Name  :::IF_PURCHASE_ORDER_ITEM_MM
    EKPV--LPRIO  for Delivery Priority
    surya

  • User Exit, BADI o BTE para la F-28?

    Saludos a todos en el foro:
    Tengo un problema y me gustaria que me aydaran a resolverlo.
    Necesito algun User exit, BADI o BTE que se active despues de yo grabar un pago por la transaccion F-28, he tratado con las 3 tegnologia mensionadas y las que pasan cuando grabo el documento todavia no se ha generado el numero de documento, la que yo necesito tiene que activarse despues que yo grabo el pago y tiene que haber generado el numero de documento que te presenta debajo en la barra de tareas.
    Gracias de antemano.

    Duplicado con el
    User Exit, BADI o BTE para la F-28?

  • Exits/Badis for FP03DM to change file format(row length)

    Hello Experts,
    I want to find out the exits/BADI's for changing the file format while submitting a file for collection agency during mass processing ( FP03DM ).
    I know there are events 5062, 5063, 5064 but they only enable me to change the existing  field contents and not the length..etc of rows in the file.
    Please suggest
    Thanks
    Ricky

    Hi Ricky,
    Your problem can have two solutions:
    1. Fill the data in event 5062, 5063 and 5064. These events update table 'dfkkcolfile_p_w'. From there by passing Issue Date and ID, you can pick all records to be submitted to Collection Agency. The using event 1799, you can pick all these records and create your own file. (Preferable)
    2. You can customize structures FKKCOLFILE_HEADER, FKKCOLFILE, FKKCOLFILE_TRAILER to include your own fields. But in this case, it fields would be in same order as structure.
    Thanks.
    Ravi

  • Moifying values in PA30 through exit/BADI

    Hi experts,
    I have a requiremnt whrein when the user enters a value for wagetype in PA30 for infotypes 0008, 0015, 0759 and hits the enter key or saves the data, the value should get rounded off based on some custom logic.
    Can you tell me any exit/BADI where I can implment this?
    I tried to used BADI: HRPAD00INFTY but did not get the updated value on the screen.
    Waiting for your replies.
    regards
    Ashwini

    IF i001p-molga = '01' .
    TYPES: BEGIN OF ty_trfgr,
    trfgr TYPE p0008-trfgr,
    END OF ty_trfgr.
    DATA: gt_trfgr TYPE TABLE OF ty_trfgr,
    gs_trfgr LIKE LINE OF gt_trfgr.
    DATA: r_trfgb TYPE RANGE OF char10,
    rs_trfgb LIKE LINE OF r_trfgb,
    v_bet TYPE ansal_15,
    v_betrg(9) TYPE p DECIMALS 2.
    * v_betrg TYPE pad_amt7s.
    DATA: v_sal_type TYPE lgart,
    v_freq TYPE ansal_15,
    v_sal TYPE ansal_15,
    v_others TYPE ansal_15.
    DATA: gt_t511 TYPE TABLE OF t511,
    gs_t511 LIKE LINE OF gt_t511,
    gt_t510i TYPE TABLE OF t510i,
    gs_t510i LIKE LINE OF gt_t510i,
    v_longpack(16) TYPE p,
    v_result TYPE p.
    * IF ipsyst-inpst = '2'.
    * get the ps group
    SELECT trfgr INTO TABLE gt_trfgr FROM t510 WHERE molga = '01' AND
    ( trfar = 'Z2' OR trfar = 'Z7' OR
    trfar = 'Z4' OR trfar = 'Z5' OR
    trfar = 'Z6' ).
    IF gt_trfgr[] IS NOT INITIAL.
    LOOP AT gt_trfgr INTO gs_trfgr.
    rs_trfgb-sign = 'I'.
    rs_trfgb-option = 'EQ'.
    rs_trfgb-low = gs_trfgr-trfgr.
    APPEND rs_trfgb TO r_trfgb.
    CLEAR: rs_trfgb , gs_trfgr.
    ENDLOOP.
    ENDIF.
      IF wa_p0008-trfar = 'Z7' AND wa_p0008-trfgb = 'Z1' AND
    wa_p0008-trfgr IN r_trfgb[] AND v_sal_type = '9010'.
    v_ansal = ( v_others + v_bet ) * 13.
    ELSEIF wa_p0008-trfar = 'Z5' AND wa_p0008-trfgb = 'Z4' AND
    wa_p0008-trfgr IN r_trfgb[] AND v_sal_type = '9010'.
    v_freq = '13.7' .
    v_ansal = ( v_others + v_bet ) * v_freq .
    ELSEIF wa_p0008-trfar = 'Z2' AND wa_p0008-trfgb = 'Z1' AND
    wa_p0008-trfgr IN r_trfgb[] AND v_sal_type = '9010'.
    v_ansal = ( v_others + v_bet ) * 12.
    endif.
    * pass the new value to screen
    CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
    EXPORTING
    pnnnn = wa_p0008
    IMPORTING
    prelp = innnn.
    Please sap Gurus reply asap as the values are not reflecting in the pa30 screen .willcalling the function popup_to_confirm solve the problem . as the values are there in db but not reflectingthe in the screen

  • User-Exit / Badi / BTE for STWB_WORK for integrating 3rd party tool

    Hi,
                 I need a user-exit / badi / BTE for the transaction STWB_WORK user test worklist. I'm trying to integrate a 3rd party tool to this transaction. When a worklist from this transaction is selected, i'll run the 3rd party tool executable from abap coding in the user-exit/badi/bte. Can anybody help me find one?
    thanks,
    Venky

    Hello Venky,
    I saw your question in sdn and I am wondering, if you got a solution for your question.
    I will be very happy, if you can help me you. I have the same problem as you.
    cu Manfred

  • User exit / badi in spool list display

    Hi,  I have a little "problem" with spool lists: I'm looking at a spool list, generated by a Z-report in a Job. This is in maintenance planning: The job executes a first step to generate with ristra20 maintenance orders. In a second step my Z-report updates the orders generated in the first step. The next morning my maintenance planners can look into the spool generated by the job... but there is no easy, modification-free way to allow my maintenance planners to just double-click on of the order numbers and to sump into the order. For that I would need a user exit / badi in the spool list display.  Now, I got some questions:  Is there somebody else who would be supporting a user exit / badi in spool list display?  How are development requests to be send to SAP nowadays with maximum probability to get implemented?  Thanks for your time, Holger

    Hi Holger,
    If you go to class CL_EXITHANDLER, Method GET_INSTANCE, then put a breakpoint after 'call method cl_exithandler=>get_class_name_by_interface' i.e. at line 28 'case sy-subrc'; then run your transaction again and you will get many of the user exits and badis available. It will not show you the enhancement points, but all badis etc. will be there.
    Hope this helps.
    Glen

  • IW32 : User-Exit/BADI on Change of User Status

    Dear All,
                                     My requirement is to do some validations when a user changes the User Status of a Service Order to  'Cancel'.
    I am unable to find a user-exit/badi which will get trigerred when the above process occurs. I did find some user-exit at save but none of them will get me the new user status, so that I can check whether the Service Order going to be set as 'Cancel' .
    Regards,
    Antony

    Dear Wolfgang,
                         Thanks for your answer, it was indeed very helpful. I didnt find any luck with the FM you had mentioned but found some other FM:  QMEM_STATUS_OLD_NEW_READ , may be this will help me in solving my problem..There is one more Question which I hadnt mentioned in my post, If my validation over User Status  fails how can I get the old status back.. Because since the EXIT you had mentioned is at SAVE I dont think throwing an Error message will be the right option
    Regards,
    Antony

  • QE51N exit / BADi needed URGENTLY

    Hi experts,
    I'm having this following urgent problem, let's see if any1 can be of any assistance and brainstorm with me...
    We have a requirement that when executing the selection-screen of QE51N, a kind of popup screen comes out asking the user for data (this should only come out the first time the selection screen is executed). Once that's done filled and the user fills in the data of QE51N & presses the SAVE button, we should fill in a custom Z table with the data of our Popup screen and some data of QE51N.
    Ok, for the Popup screen we're using exit EXIT_SAPLQEEM_029 (which is one of the first exits that are executed) and as we only want it to be executed the first time, we're using a flag in memory to see if it's marked or not. However, the problem is when we finish with the data and want to go BACK or EXIT, we want to clean the memory flag (so that the Popup can appear again). I can't find any user exit or BADI that is executed when leaving QE51N.
    Another alternative is another exit / BADI which is executed <b>ONCE</b> right at the beginning of the transaction instead of EXIT_SAPLQEEM_029. That way there would be no need for a flag...
    Can anybody <b>PLEASE</b> try to help?
    PS - I tried all QEEM* exits, no luck
    PS2 - EXIT_SAPLQEEM_015 is used for saving the data
    PS3 - Thanks a lot! Points will be rewarded

    QEEM0021  User exit: additional functions for user key +US1
    QEEM0022  User exit: additional functions for user key +US2
    QEEM0023  User exit: additional functions for user key +US3
    QEEM0024  User exit: additional functions for user key +US4
    Does anyone know if any of these could be used to handle the BACK / CANCEL / EXIT buttons?

Maybe you are looking for