VA01 Partner Header Userexit

Hi,
I am looking for a userexit which is triggered on the header screen of VA01/02.
Basically my requirement is to add one more partner function on a condition.
Please help me
Rajiv

Hi Rajiv,
I think this is a Customizing and VOFM step. In SPRO, SD -> Basic Functions -> Partner Determination, make sure that ZE is setup to default. Then, in VOFM, if you want a ZE partner number to default, write up a routine to determine this.
If I am not wrong, a copy of Routine 1 should help. You can add a line to CVBPA.
If this helps, please remember to award the points and close the post.
Cheers,
Bhanu

Similar Messages

  • Validate ship to party- VA01 at header level

    I am adding some validation logic to userexit routime USEREXIT_MOVE_FIELD_TO_VBKD in MV45AFZZ.
    While testing, I have noticed that while entering the ship to party in the screen (VA01) in VBAK  i could not able to find ship to party. But i can see sold-to-party.
    where can i find ship-party at header level?

    Solved.
    Its available in screen field KUWEV-KUNNR.

  • Equipment Partner Change - Userexit

    Hello,
    if the ship-to-party for an Equipment in IE02 is changed we need to check if there are existing servicecontracts for the equipment and old ship-to-party. Because this contract need to be changed as well.
    Which userexit or BADI could we use for such a check?
    Thank you
    Kind regards
    Manfred

    Hello PeteA,
    thank you for your answer.
    ICSV0003 works for partner change / partner determination in service orders.
    It seems to be not used in partner change in the equipmentmaster with transaction IE02.
    Do you have an idea for this IE02 partner change?
    Thank you
    Kind regards
    Manfred

  • VA01 hide header data

    Hi
    I want to hide the header and some fields of VA01 transaction which shows up after i provide the order type.
    Is there any exit or Badi which i can use?
    <REMOVED BY MODERATOR>
    thanks
    varun mathur
    Edited by: Varun Mathur on Feb 20, 2008 3:20 PM
    Edited by: Alvaro Tejada Galindo on Feb 20, 2008 9:23 AM

    hi Varun?
    what was the idea and how were you able to do it .can you please share. i am  looking into hiding a payment tab for some users and displaying for other s
    thanks
    ark

  • PO header userexit

    Hi All,
    I have a requirement in PO , any PO for import vendor should be based on the container volume i.e., 20 ft or 40 ft . Till the container volume in cubic feet is reached the line items (different items) can be added in PO , if  the volume is equal to  the 20 ft container the PO should not allow further line items in the PO. The line items volume can be taken from the item level , but how the same is added to the PO header such that the system identifies the  total PO volume  has reached full container volume and error message should be issued.  Any user exit available for the same ?
    Thanks  in advance
    BS

    Hi,
    You can use method PROCESS_ITEM of BADI ME_PROCESS_PO_CUST. Add the volume of all line items and display error message when it exceeds the allowed volume of container.
    KInd Regards,
    Suneet

  • VA01 Sales order - Header-- Accounting tab need to add a field

    Dear All,
    The requirement is,
    1. I need to add a field in Sales order.
    Path for the same is as follows:
    VA01> Goto> Header--> Accounting tab
    2. The field will be a date field that needs to calculate date on.
    a)create a new field. ex - zchdt (chq due date)
    b)when customers enters value in Assignment,
    i.e vbak-zuonr
    after that trigger logic is
    3.vabk-kunnr = knvv-kunnr
    a)sy-date + knvv-kvgr2 (exclude sundays)
    example - 14 sept + 30 days = 14th october
    should populate value - 14th october i.e. field (zchdt)
    4. This activity needs to be triggered before the sales order is saved.
    kindly know whether this is possible or not.
    if possible how & which exit & also with example code.
    if you could give me your contact(cell no).
    Regards,
    Nagendra D.S.
    Mobile - +91 9819899082

    Hi All,
    VA01 Sales order - Header--> Accounting tab need to add a field. field name - zchdt(cheque due date)
    when customer enters value in Assignment i.e zuonr & after that trigger logic is
       1.     vbak-kunnr = knvv-kunnr
       2.     sysdat + knvv-kvgr2 (exclude sundays)
    example - 16 sept + 30days = 16 oct
    in field zchdt value 16 oct as to populate
    Pls help me in the code.
    Regards
    Nagendra

  • To upload pdf and ms word document in VA01 header menu -TEXT tab

    I want to upload local file (PDF and Word) in R/3-VA01-Text Header..
    Can any one tell me the solution for that.

    Can any body tell me how search text in PDF
    and MS Word document through Java code, any
    body has code or any suggestion to giveYes.
    First, you need to work out how to read each document type from Java.
    E.g, for MS Word you could use Apache Jakarta POI - HWPF: http://jakarta.apache.org/poi/hwpf/index.html
    Then, you use Apache Lucene to index and search.
    See http://lucene.apache.org/java/docs/index.html
    ~D

  • Enhancement in VA01 (Custom field addition in Additional Tab at header)

    Hi Experts,
    I have to develop some custom fields in tcode VA01 at header level in addtional data B tab. I know that i can use access key and develop the screen 8309 of program SAPMV45A and for that i have to provide access key. But i dont want to use access key.
    Is there any screen exit or badi through which i can develop the screen in additional data B tab in VA01. Please provide me suggestion.
    Thanks in advance.
    Regards,
    SURYA BASU

    Hi
    I don't know other solution. Provide a key in my opinion is not a problem. You must do it when create your own VOFM subroutines in your customer range number. if your boss or your client has doubts, ask him/her to see the SAP Note 381348 - Using user exit, customer exit, VOFM in SD, when it says:
    At the beginning of the R/3 development the SAP Basis did not offer
    technologies for exits yet, nevertheless many customers wanted to implement
    their own functions, checks, and so on. Thus, in the SD area, includes were
    delivered like, for example, MV45AFZZ. This include contains some empty
    FORM routines (user exits) to which you can go from the respective
    processing programs.
    and
    Changes to user exits in SD are MODIFICATIONS,
    since the original of an object belongs to SAP (thus when you change a user
    exit an SSCR registration is also required).
    Why this exits belongs to SAP, see Note 16466 - Customer name range for SAP objects.
    I hope this helps you
    Regards
    Eduardo

  • Enhancement in VA01 Additional data B tab

    Hi All,
    I have added 2 fields in tcode VA01 in header --> Additional Function --> Addtional data B (screen 8309) which are getting saved in VBAK table in custom fields which i have added in VBAK table using append structure.
    Now my requirement is, for a particular order type one of the fields which I have added in Additional data B screen should be mandatory. For that i have wriiten a code in PBO (include MV45AOZZ)
                                      LOOP AT SCREEN.
                                           IF VBAK-AUART = 'Z2OR' AND SY-TCODE = 'VA01'.
                                                IF SCREEN-NAME = 'VBAK-ZZTRIPORDER'.
                                                       SCREEN-REQUIRED = 1.
                                                       MODIFY SCREEN.
                                                ENDIF.
                                            ENDIF.
                                       ENDLOOP.
    Now this code is working fine if I visit that screen (Additional data B screen), but it is not working if i dont visit that screen. I want that the document will not get saved if that field blank for that particular order type.
    Can anyone help me please?
    Thanks in advance.
    Regards,
    SURYA

    Hi
    If you are in the screen, it works, if no, it doesn't work. The manner to do it is with a userexit. Try it with USEREXIT_SAVE_DOCUMENT_PREPARE in include MV45AFZZ for instance.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Jul 1, 2011 9:14 AM

  • More contact person items in the header data of a stanard order

    Hi guys,
    we want to create more than one contact person in the header data of a standard order
    (for example contact person 1 --> 215, contact person 2 --> 216)
    Transaction VA01 --> Goto --> Header --> Partner
    It isn´t possible to create more entries with the same partner function.
    I found the table VBPA2 instead of the table VBPA. Here it would be possible to enter more of the same contact person items.
    How can I customize the function to enter more contact person items?
    Thanks for your help.
    Regards,
    Martin

    Hi Eduardo,
    thank you for your info, but I haven´t found the flag.
    If you mean the flag "unique  in cust. mast", this flag isn´t set in our case.
    Function Description          Partner  Error   Higher-level  Unique     CustHTyp 
                                            Typ      Group   Funct         In cust.mast        
    CP         Contact person     AP       06                                  
    Regards,
    Martin

  • CRM 7.0 in partner determination procedure

    Dear all,
    In CRM 7.0 in partner determination procedure for an ITEM level am unable to set up procedure so that any partner will always be just mirror of the partner set on HEADER level.
    This functionality works only when the new order is created, then when changing the partner on HEADER level the partner on ITEM level partner is dynamically changed a according to HEADER.
    When changing the order later u2013 HEADER partner is changed, but the ITEM partner stays the same and had to be changed manually. If an ITEM partner is not changed manually an error is raised while transferring to ERP (because of customizing settings there). Partner determination procedure in customizing is set for ITEM to display all the partners defined in CRM (no only for defined in the particular procedure). I would basically need the ITEM partners to be always the same as HEADER partners no matter what operations are done in the HEADER is must be 1:1 with ITEM (automatically copied when creating/changing).
    I know that we can use ABAP development, but if possible I would like to use just customizing tools.
    Many thanks for your comments

    Hello Guys,
    thanks for your reply. The issue was that the system was copying the partners from header to item even if in customizing I had set up the item det. procedure so only basic partners like SP or Bill to shall be present. In our scenario the user has to change header partners from time to time. Before upgrade (version 4.0) if the user changed the partner header and this partner was also at item level the system changed this also so header partners were equal to item partners. After upgrade this functionality disappeared (I have checked user exits and did not find any cutomer dev.)
    At current CRM 7.0 if the header partner is changed item partners stays the same. And this can causing the troubles in R/3 due to settings of partner determination. To make it shorter. If you need to change the BDoc after it has been created by CRM use class if_ex_crm_dataexchg_badi~crm_dataexch_after_mbdoc_fill.
    Regards
    Radim

  • Problem with Z fields in VA01

    Hi,
    We have added a Z field to VA01 transaction header lever Additional Data B.
    When we try and create a order using VA01 it is working fine but when we try to record the transaction using SHDB we are unable to find the Z field in additional data B.
    that Z field is missing (so we cannot enter data and record the field).
    Please help.
    Thanks
    LRK.

    You can just get the name of the zfield and include it in you recording for the screen where it is
    EX:
    perform bdc_field   using 'ZFIELD'  'XXXX'.
    This will resolve the issue.
    regards,
    Gurpreet

  • Delivery split through VLSP along with JIT Calls with AW Partner profiles

    Hi SAP SD/LE Guru's,
    I have one critical issue to resolve immediately in my implementation of SAP 4.6C system in multinational automotive industry. It's in the area of Delivery split along with AW - Duns number partner profile and JIT calls.
    Here is the scenario:
    1. JIT(Just In time) calls will be created through EDI based on the ship-to, PO Nos, Duns number.
    2. The requirements will be updated in Scheduling Agreements JIT Delivery schedule.
    3. Picking is done based on the requirements.
    4. Packing, Deliveries and Handling units are created: Note: Each handling unit is linked to one JIT Call.
    5. Based on the Shipments, Deliveries needs to be split into further sub-deliveries.
        Ex. One Delivery has two HU's. This needs to be split into another delivery so that one HU need to be detached from original and attach to new delivery. At the same time corresponding JIT call also need to be detached from original delivery and attach to new delivery. This can be done through VLSP : Subsequent split(Outbound delivery). Split profile: 003 - split based on Quantities.
    The issue: When executing delivery split using VLSP and split profile: 003, the system is terminating and giving short dump.
    The error analysis says that AW - Duns number is creating the problem. The short dump occurs in SAPLV05I in Function module: SD_PARTNER_UPDATE.
    There is an SAP note: 154766 related to this problem says that Partner header should be used only once in copy control.
    But in customization of copy control from Sales order to Delivery, there is no VBPA Partner header.
    I appreciate if you can provide solution for delivery split and resolve this short dump issue.
    Thanks,
    Murali Chintakunta

    In reference to this change in the Custom Reports... Better experience when exporting data - to prevent customer confusion when exporting data from Mac computers, we have removed the export to excel option and exporting in CSV format by default.
    What is the customer confusion we are trying to stop here? I've got even more confused customers at the moment because all of a sudden they can't find the export to excel option but know it exists if they log in on a PC?
    Mark

  • Validation on Header text

    in my scenario i need to validate on header text
    while creating VA01 in header text if user is entering
    text it should be in number if he is entering any character means i
    need to pass a message .
    Regards.,
    mohd.

    Hello Abdul,
    Goto VA01. and put your header text. after that goto -> system -> status -> double click on program
        then search for string "call customer".
    then you will find all Exits used in VA01. and Double click on Customer Function it will show you Exit name.
    just check in Debug mode which Exit is being triggered for Header Text.
    Hope it will Help you alot.
    Have a Nice Day,
    Regards,
    Sujeet

  • Adding custom  fields in va01

    Hi  Experts,
    I have an requirement to add custom fields in VA01 at the header level(screen area where sold-to-party,
    ship-party,Etc shown). These custom are already available in the screen va01->goto ->header->additonal functions->
    additionl data B. I need to bring these fields in initial screen of VA01 based on order type.
    Is ther any user-exit to do this or Should I do the repair for it
    I appreicate your suggestions
    Thanks ,
    Santhosh

    hi,
    First find the program name of VA01
    then the package of the program of VA01
    the goto-. se84->click on enhancement button ->customer Exit->enhancements->give package name and execute
    now find all the Exit in this transaction
    hope this helps
    Regards
    Ritesh

Maybe you are looking for