Help needed in Substitution & User Exit.

Hi Experts,
I have a peculiar recuirement. In the <b>Vendor Invoide Creation</b> transaction (<b>FB60</b>), if you try to create a Invoice/Credit memo for a "<b>One Time Vend</b>or", a pop up window comes asking Bank and Address data.
The user need to enter the bank key and acc no and  need to substitute the name, address fields in this pop up window screen, with some data fetched from custom DB tables according to the bank keys.
Since the pop up screen fields are from structure BSEC, I cant really do the substitution them from OBBH (Since it only allows BSEG & BKPF fields to be substituted !! ).
Also since the Only user exit (ZXCPDU01) avaliable in FB60 does not have any Export table, I can send the values back to the screen.
<b>Can any one of you by any luck have a feasible solution for this ?</b>

hi Saurav.
there are 14 user exits in thsi transaction. these are as follows
F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002            FIDCC1: Change IDoc/do not send
F050S003            FIDCC2: Change IDoc/do not send
F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
F180A001            Balance Sheet Adjustment
FARC0002            Additional Checks for Archiving MM Vendor Master Data
FEDI0001            Function Exits for EDI in FI
RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
RFEPOS00            Line item display: Checking of selection conditions
RFKORIEX            Automatic correspondence
SAPLF051            Workflow for FI (pre-capture, release for payment)
check if anyone of them meets ur requiremnt
regards
ravish
<b>plz dont forget to reward points if helpful</b>

Similar Messages

  • Help needed in "V45A0003" User Exit

    Hello All,
    I have one problem doing Userexit "V45A0003" for VA01.
    I want to disable one field in VA01 Screen no. "4900" when order type is "RE". I try mentioned Exit for the same and i am able to disable that field for all order type but i am unable to get order type value and unable to disable field, so i want your valuable help to get the order type value given at very first screen (101) of VA01.
    So, Please i request all of you to help me in this.
    Thanks & Regards,

    Hi,
    If you want to get the Sales order no in your exit you can make use of below code.
    data:wa_vbak type vbak.
    field-symbol <FS> type any.
    ASSIGN (' (SAPMV45A)VBAK') to <FS>.
    If sy-subrc eq 0 and <FS> is assigned.
    wa_vbak = <fs>.
    endif.
    Now in wa_vbak-AUART you will get the sales order type given initial screen of sales order.
    You can also use below form in User exit include MV45AFZZ for your requirement.
    FORM userexit_field_modification.
    ENDFORM.
    Here you will all sales order data and no need to use above field symbol assignment to read vbak data.
    Regards,
    Pawan

  • As01 using substitution user exit populate classificaion key(ANLA-VMGLI)

    Hi all,
    I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
    I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
    For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
    The present rule U210 is not working for classification key.
    Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
    regards
    Rajani Yeluri

    Hi Balaji,
    We have the same problem.
    Have you discovered how to make this exit works?
    We will really apreciate your help.
    Thanks a lot,
    Ivan Spellmeier

  • Function SO_DOCUMENT_SEND_API1 (send mails)   Substitutions-user-exit

    Hello Forum,
    I have to make a substitution (user-exit) for this perform.
    PERFORM U999 (ZRGGBS000) IF FOUND.
    As this code is standard, I gather that I can not touch it.
    My development is in the FORM and I can't control the parameters
    I leave the code here, you can try to find the solution that I need:
    FORM u999.
    *FORM u999 TABLES tab_contents_txt
    * it_attach
    * USING p_email
    * p_mtitle
    * p_format
    * p_filename
    * p_attdescription
    * p_sender_address
    * p_sender_addres_type
    * CHANGING p_error
    * p_reciever.
    DATA: int_error TYPE sy-subrc,
    int_receiver LIKE sy-subrc.
    DATA: w_doc_data LIKE sodocchgi1,
    chr_email LIKE somlreci1-receiver.
    DATA:
    tab_contents_txt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    tab_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
    tab_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
    EXPORTING
    document_data = w_doc_data
    put_in_outbox = 'X'
    * SENDER_ADDRESS = SY-UNAME
    * SENDER_ADDRESS_TYPE = 'B'
    commit_work = 'X'
    * IMPORTING
    * SENT_TO_ALL =
    * NEW_OBJECT_ID =
    * SENDER_ID =
    TABLES
    packing_list = tab_packing_list
    * OBJECT_HEADER =
    * CONTENTS_BIN =
    contents_txt = tab_contents_txt
    * CONTENTS_HEX =
    * OBJECT_PARA =
    * OBJECT_PARB =
    receivers = tab_receivers
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8

    Hi,
    Try this..Call the FM in BACKGROUND TASK..
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
             IN BACKGROUND TASK
    Thanks,
    Naren

  • As01 transaction using substitution user exit populate classificaion

    Hi all,
    I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
    I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
    For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
    The present rule U210 is not working for classification key.
    Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
    regards
    Rajani Yeluri

    In the user exit documentation,  it doesn't say anything about this exit being used for validation, therefore,  it probably shouldn't be used as a validation routine, especially if its not being trigger at every PAI. 
    <i>FU EXIT_SAPLAISA_001
    Short text
    Assign Inventory Number
    Functionality
    Using this user exit, it is possible to assign an inventory number when you create a new asset master record.
    Notes
    In the user exit, it is absolutely forbidden to use a statement that leads to an update or removal of database changes. Examples of such statements are:
    'Commit Work' , 'Rollback Work' or call of function module 'DB_COMMIT'.
    Parameter
    I_ANLA
    E_INVNR
    Exceptions
    Function group
    XAIS</i>
    Regards,
    Rich Heilman

  • As01 transaction using substitution user exit populate classificaion key

    Hi all,
    I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI  from the values maintained in Ztable.
    I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).   
    For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
    The present rule U210 is not working for classification key.  
    Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
    regards
    Rajani Yeluri

    Hi,
    Did you find a solution. I'm just looking for the same thing.
    best regards..

  • Hi Help on SD Pricing user exit

    Hi Guru's,
    I need help on sd pricing user exit..
    when preceding order document do not have ZW15 condition type,if we try to create the return order using the preceding order , we will not have ZW15 condition type in the returns order. But if we try to enter ZW15 condition type manually in return order,system should  throw a warning message that manual entry of ZW15   is not allowed.
    i need write code for this concept..Please provide exact user exit for this concept.
    Regards
    P.Senthil Kumar

    Hi,
      The error is due to the configuration of the pricing condition type. For the present configuration you will not be able to add the condtion manually. In order to add the condition type in your return order you have to create a new pricing routine and get it configured. Add checks in the routine for the order type while applying it. This routine will get trigerred while creation of the orders.
        Go to trasncation VOFM  and then go to Requirements--->Pricing, you will be able to see the pricing routines here. You can create a routine similar to these.
    Regards,
    Susanta

  • Help me on SD user exit

    Hi Guru's,
    I need help on sd pricing user exit..
    when preceding order document do not have ZW15 condition type,if we try to create the return order using the preceding order , we will not have ZW15 condition type in the returns order. But if we try to enter ZW15 condition type manually in return order,system should throw a warning message that manual entry of ZW15 is not allowed.
    i need write code for this concept..Please provide exact user exit for this concept.
    Regards
    P.Senthil Kumar

    did you find the user exit.
    find the user exit in smod ,what do you want to do..
    accordingly you can find the user exit.
    these are the exists..
    MBCF0002            Customer function exit: Segment text in material doc. item       
    MBCF0005            Material document item for goods receipt/issue slip              
    MBCF0006            Customer function for WBS element                                
    MBCF0007            Customer function exit: Updating a reservation                   
    MBCF0009            Filling the storage location field                               
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1       
    MBCF0011            Read from RESB and RKPF for print list in  MB26                  
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    vijay
    Message was edited by: Vijay Babu Dudla

  • Function SO_DOCUMENT_SEND_API1   (substitution-user exit  about mails )

    Hello Forum,
    I have to make a substitution (user-exit) for this perform.
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. And also use code tags.
    Edited by: Rob Burbank on Jan 18, 2010 2:48 PM

    Hello Forum,
    I have to make a substitution (user-exit) for this perform.
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. And also use code tags.
    Edited by: Rob Burbank on Jan 18, 2010 2:48 PM

  • Help me to find user exit  for  MB1B

    IN MB1B TRANSACTION I WANT ONE FIELD LIKE <b>REASON FOR TRANSFER</b> APPEAR IN THE FIRST SCREEN  ONLY WHEN I AM ENTERING PARTICULAR MOVEMENT TYPE,PLANT AND STORAGE LOCATION.HELP ME TO FIND USER EXIT FOR THIS
    Message was edited by:
            neela renganathan

    THIS FIELD ALREADY AVAILABLE IN THE NEXT SCREEN ,BUT WHILE AM ENTERING PARTICULAR  MVEMNT TYPE ,PLANT,STORAGE LOCTN IT WILL APPEAR IN INITIAL SCREEN AND IT WONT ALLOW TO GO NEXT SCREEN WITHOUT GIVING THE REASON
    Message was edited by:
            neela renganathan
    Message was edited by:
            neela renganathan

  • NEED VL02N VL09 USER-EXIT FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER

    I NEED VL02N VL09 USER-EXITS FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER POSITIONS.
    F.X: IF POST QUANTITY 10, BUT PURCHASE ORDER POSITION QUANTITY 30, I NEED AT ANY CASE TO SET DELIVERY COMPLETE INDICATOR FOR RELEVANT OUTBOUND DELIVERY AN P. ORDER POSITIONS.
    THANKS/

    Hi Malka,
    It's possible set the system to mark automatically the delivery completed indicator.
    First you need to set the under delivery and over delivery tolerances.You do this in customizing:
    Materials Management under Purchasing -> Material Master -> Define Purchasing Value Keys.
    Once you set this, you can insert this value keys on Material Master Record for the materials.
    When you create the PO with a material with this value keys set the system will check the under delivery and over delivery set on customizing.
    In customizing you also have the option to let the system mark automatically the delivery indicator based on delivery tolerances set.
    In Customizing for Inventory Management and Physical Inventory under Goods Receipt -> Set Delivery Completed Indicator, you can determine for each plant whether the system automatically sets the delivery completed indicator for delivery quantities within the underdelivery and overdelivery tolerances.
    You can test setting the under delivery for 0 (with a warning message) and see if the system will only mark delivery complete only for over delivery.
    You can also work with the following Badi: MB_GOODSMOVEMENT_DCI. This Badi also allows custom logic for setting the delivery completed indicator in a PO item.
    Message: M7 433 (The "delivery completed" indicator is set for the purchase order item)
    Regards,
    Rodrigo

  • Needs R/3 User-exit help when PO/PR created in Backend system

    Hi SRM/MM Experts,
    We are using ERP2005 and SRM 5.0 with classic scenario. Shopping cart converts the Purchase Requisition and Purchase Order in the backend system.
    R/3 system had a custom logic to blank out the Account assignment category, cost center information when particular material group(ZZZZ0001), plant(Z0001) and storage location(Z01) used in the PO/PR that are created by SRM SC. The custom logic is used in user-exit- EXIT_SAPLMEWP_002- INCLUDE ZXMEWU06 and
    EXIT_SAPLMEWQ_001-INCLUDE ZXMEWU04 of R/3 system. But now this custom functionality is not working. And I found out that when PO/PR is created by SRM’s SC, include- ZXMEWU06 & ZXMEWU04 are not being called.
    In which user-exit we should put custom logic in the R/3 system, so that it will be called for blanking out the Account assignment information, when SC is converted into PO/PR in the backend system
    Thank you!
    MP

    Disha,
    I figured out that we have to use user-exit:EXIT_SAPL2012_003 in R/3 system. Now here is what I am doing... If it is at non-stock material and it uses account assignment category-K and Cost Center-Z1000001, then I am blanking out the POITEM-ACCTASSCAT and POACCOUNT-DELETE_IND = 'X', but still it is not blanking out or deleting the account assignment information from PO.
    Please let me know if this is the correct BADI to use to blank out the account assignment information in PO created by SC(SRM 5.0) in ECC 6.0. If yes, what should I need to do to blank out the account assignment information.
    Any help is appreciated!
    Thanks!
    MP

  • Need help in creating a user exit variable

    Hi all,
    I have created a query in which a key figure needs to be automated with an user exit variable.I want to derive the value of this key figure 'x' based on calender month.
    This key figure should get the cumulative value from the first month of the fiscal year till the calender year month entered while executing the query.
    I got a basic understanding on the User exits from SDN. But Im not sure how to implement this logic.
    I would really appreciate if you could provide me a detailed explanation of how to do this.
    Thanks in advance,
    Vinoth

    Hi
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6378ef94-0501-0010-19a5-972687ddc9ef
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2d99121a-0e01-0010-e78c-b1ae566a2413
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/how-can-i-set-bex-variables-in-i_step3-exit_saplrrs0_001-335232

  • Substitution & User Exit

    Hi!
    We have following scenario.
    The system must check weather the WBSE is Planning Element. If Not the system must mark it as Account Assignment element & Then in next step Lock the Account Assignment for that WBSE( system status= AALK).
    APMK I am approaching this from two angles-
    1) We may use substitution & then execute User Exit to set the system status as AALK.( I need some expert comments & guidance on this method)
    2) I am also able to solve my problem, if somehow I can work out, an exit or Boolean logic to find out what is the level of lowest level WBSE in a project. Note that the lowest WBSe can vary from 2-5 in our scenario. ( some guidance on this will also help alot)
    Thanks,
    Seemant

    Make sure your code looks like this:
    exits-name  = 'U903'.
      exits-param = c_exit_param_field.
      exits-title = text-203.     (Text id number)
      APPEND exits.
    Then, in the bottom section this should be there:
    FORM U903.
    Your code in btw. and
    ENDFORM.
    With this you should be able to see U903 in the exit drop down. If you have not maintained the text id, then you will just see the key and not the description.
    Regards,

  • Urgent help needed - GGB1 substitution and vendor/customer clearing!

    Problem is following, I need to create substitution to change tax account and tax code during clearing of vendor or customer documents, and rule is if downpayment and invoice are in two different periods, use account xxx insead yyy. So, I used standard RG... program to create it, but I have following issue; during execution of transaction FB1K or FB1D, I don't have transfered document numbers of invoice and downpayment which I try to clear in RG... report. In fact, only table which I can access is BSEG and only data are data of clearing document which is being created. So, is there any user exit, badi, anything, which I could use to fetch document numbers of documents which I'm trying to clear.
    I would really apreciate any kind of help or hint!

    Maybe to explain a bit more deeper. I need to get document numbers of down payment and invoice which I'm clearing during this transaction. So, problem is that during execution of substitution I don't know this numbers, simply they are not available in it. Only table that I see is BSEG which is being populated with values of clearing document which is being created. If I'm clearing down payment 1500002, with invoice 1700005, during execution of substitution I don't see this document numbers. So, if criterions based on which my substitution should work (in my case if down payment and invoice are in different posting periods) are in this documents, there is no way (as I can see) to check this.
    So, it is no problem to make some select statement for BSEG, BKPF or BSIK... but based on what? Any ideas?

Maybe you are looking for