VA41 - Contracts

Hi Guys:
My requirement is need add field in the item level called <b>Delivery Date</b>. Already this field is avialble in the schedule lines, Is there any userexit available if not i will change the screen directly. After adding the field in the table control,I have to transfer some of the fields contents to schedule lines such as <b>TargetQuantity to Delivery quantity</b>, <b>Deliverydate to Deliverydate.</b>
Please suggest me ways of doing the task,
Thanks in Advance,
Regards
Suresh Babu Karanam.

Hi Suresh,
caused by missing examples I have to look at VA01 (but it's same program).
First delivery date is already copied into field RV45A-ETDAT (First date), target quantity I can't follow - see above.
There is a tabstrip for customer header fields, but that's the only predefined field extension (as far as I know).
So you have to decide:
a) if you miss-use an other standard field, which is already on line level, or
b) if you make a modification and append your field.
But these user-exits still might help in case of modifications, because you get right place (-> time) for value assignments. USEREXIT_MOVE_FIELD_TO_VBAP is called during creation of new line (probably to early for you, but correct place for default value assignments), USEREXIT_CHECK_VBAP is called at end of line processing. Here field changes can be done, too - but changes don't trigger follow-on functions any longer.
But also in USEREXIT_MOVE_FIELD_TO_VBEP you can change values of VBAP by accessing XVBAP - and it's getting more 'out of line' of original SAP data flow.
I guess, there is no easy way and you will need a lot of testing...
Regards,
Christian

Similar Messages

  • Error when assigning serial no to VA41 contract

    Greetings.
    I would like to capture serial number in my service contract @ VA41
    But when I enter the serial number of a item and attempt to save, I am getting the following error.
    <Green Light> Correct data via menu path Extras->TechnicalObject
    <Red Light >  No TechObj assigned to item     10
    Message Text
    No TechObj assigned to item     10
    Technical Data
    Message type__________ E (Error)
    Message class_________ 00 (General Basis texts)
    Message number________ 001
    Message variable 1____ No TechObj assigned to item
    Message variable 2____      10
    Message variable 3____ 
    Message variable 4____ 
    Message Attributes
    Level of detail_______ 2 (Level of detail 2)
    Problem class_________ 
    Sort criterion________ 
    Number________________                                                                                1
    Environment Information
    Item__________________ 000
    The strange thing is, I am maintaining the serial no at Extras->Technical Objects at initial entry.
    Here is my procedure.
    1) Enter in WV order type @ VA41
    2) Enter in service material with contract duration & price (PPSV)
    3) Select item goto Extras -> Technical object and enter serial no.
    4) Save, then error appears.
    We are on ECC 6.0. This error doesnt prevent me from saving, nor does it prevent billing or any other processing.
    If anyone has any idea on how I cna make this message go away your input would be appreciated.
    Regards
    hanarin

    Hi Abhishek,
    Now, I maintained “S” in Equipment Cat through OIS2.
    And, then created a serial number “1” in IQ01 as per your guidance.
    After doing all this I’m able to assign serial number “1” manually in ME51N. But, "Create Serial No. Automatically" button is missing still.
    I have to assign serial no’s for 100 pc, doing this manually is not possible.
    I hope you can understand the situation and guide me.
    Thanks With Regards,
    Dinesh Kumar V.

  • VA41 contract computation

    Hi experts,
    in va41 we can create contract document. In VA01 we can create document with reference to the contract. After choosing contract we can select line that should be copy to new VA01 document. I want to know how can I compute available lines in contract document.
    After creation va01 with reference do contract the available materials quantity is decreasing. Some lines in contrac can be used. Which tables should I used or mabey BAPI to compute available lines in contract ? I found VBFA but it seams not 100% correct.
    Thanks,

    Not sure I understand what you're trying to do, but check VBAP-VGBEL / VGPOS.

  • Create VA41 contract from ABAP code

    Hi,
    I'm using batch input programs to create contract from the VA41 transaction.
    Because there is some changes in specifications, it become difficult to continue this way ( using batch input). So my question is : is there FM or BAPIs I can use to create the same king of contract ?
    If it exists, do you please have exemple of source code to show me the different internal tables that need to be filled ?
    Regards,
    MOrgan

    Thx,
    I tried both SD_SALESDOCUMENT_CREATE  and the bapi, each time,
    I have the following error message :
    please fill the sold to party or the ship-to party.
    When I use the VA41 transaction, I fill in sold-to-party field and this correspond to a kunnr type.
    So I tried by adding a line in SALES_PARTNER table with the kunnr value but It doesn't work.
    Would you please tell wath fields I need to fill in to avoid this error message ?

  • Screen exit for transaction VA41

    dear all,
    i want to add two fields to the transaction code VA41 contract creation.can anybody tell me screen exit for this or else how to do it?
    regards,
    Debesh

    Hi Debesh Tripathy,
               In additional data A Tab you have some customer field than you can use it, if these fields don't match with you request you can add fields in Additional data B tab with help of ABAP, since you need to modify the screen the PBO and PAI 8459 of program SAPMV45A. Bear in mind this screen is also used by VA21 and VA01 so you need to put a conditional to doesn't show this field in these others transaction.
    Thanks,
    Mariano.

  • BAPI FOR VA41

    i am doing bdc program using BAPI for transaction VA41 'create contract', the function module am using is BAPI_CONTRACT_CREATEFROMDATA,
    i have not  find field for billing percentage(FPLT-FPROZ), but i need billing percentage.
    is there any field available for FPROZ, or is there any other function module available for doing this.
    thanks in advance

    Hi Kishor,
    Here is the below function module for the VA41( contract create).
    BAPI_CONTRACT_CREATEFROMDATA
    &******************Reward Point if helpful**************&

  • Relation between SD contract n euipment no.

    how to relate a SD contract and equipment number...is there any table for the same??

    Hi,
    Refer to this link VA41 - Contract Data ( Equipment No )

  • Assortment module - contract - how to check material belongs to ***.module?

    Hi Sap experts,
    Is there a possibility in transaction VA41 (Contract) to check which materials belogs to Assortment module. I don't want to open new session each time (WSO3)..
    Best regards,
    /MK
    Edited by: Maciej Kromolicki on Feb 5, 2009 10:57 AM

    Hi,
    Highligtht the line item and go to details (in VA42/VA43).
    There is a tab called assorment module, where in the system can display the materials assigned to the assortment module.
    Regards

  • MV45AFZZ  not working for VA42

    Hi,
    A  Contract  Order is made using VA41  with 'X' quantity. With reference to this multiple Contract Orders should be  made with the total of  the quantities  not exceeding  'X'. For this i used MV45AFZZ and kept the coding which generates error message  if the sum of the quantities  exceeds  'X' when creating a particular Contract Order. This is working fine while creating Contract Orders . But after creation,they want to change the Quantity of the Contract Order in CHANGE mode. If the quantity exceeds 'X' after changing the Quantity,it should raise an error message .But in VA42 ,MV45AFZZ is not getting called. Is there any other 'Include' for VA42? Please help
    For example in VA41, Contract  Order  11111 is made with Quantity 100 kg.
    With reference to 11111, Contract  Order  22222 is created with Quantity 50 kg
                                             Contract  Order  33333 is  created with Quantity 30 kg
                                             Contract  Order  44444 is  created with Quantity 20 kg
    Now the total of this Quantities has come to 100kg and if they create any Contract  Order  with reference to 11111,it will generate an error message that Quantity exceeded 100 kg.
    But if they go to VA42 and change the quantity of the 33333 to 40 kg ,its not generating error message as in this case Quantity has exceeded 100 kg. In VA42 ,mv45afzz is not getting called up. Please help.

    Dear Karthik,
    If the project is not activated which the enhancement is assigned, then the code written in that enhancement won't execute. Hope you know this.
    Also Don't use SMS Text speak english in the forum.
    If you didn't understand the way i wrote, i am really sorry. i won't use those again.
    Regards,
    Santosh Reddy

  • In Transaction code va41 how to set default sales contract start date

    Hi ,
    In Transaction code " VA41 "  how to set default sales contract start date and end date.
    Can any one tell me the correct user exit for the same.
    Thanks
    Basu

    hi,
    u have to use user exits  or badis.
    use sutable exits mentioned below.
    SDTRM001  Reschedule schedule lines without a new ATP check          
    SDVFX006  User exit: Tax line (transfer to accounting)               
    V45A0001  Determine alternative materials for product selection      
    V45A0002  Predefine sold-to party in sales document                  
    V45A0003  Collector for customer function modulpool MV45A            
    V45A0004  Copy packing proposal                                      
    V45E0001  Update the purchase order from the sales order             
    V45E0002  Data transfer in procurement elements (PRreq., assembly)   
    V45L0001  SD component supplier processing (customer enhancements)   
    V45P0001  SD customer function for cross-company code sales          
    V45S0001  Update sales document from configuration                   
    V45S0003  MRP-relevance for incomplete configuration                 
    V45S0004  Effectivity type in sales order                            
    V45W0001  SD Service Management: Forward Contract Data to Item       
    V46H0001  SD Customer functions for resource-related billing         
    V60F0001  SD Billing plan (customer enhancement) diff. to billing plan
    Edited by: katigiri linganna on Apr 28, 2009 12:19 PM

  • Change item level field (in table VEDA) in Contract (VA41)

    Hi freinds,
    I am creating a Contract (VA41) & I want to change the value of "Contract validity period" (VEDA-VLAUFZ) in item level.
    Anyone know any exit to do that ?
    I have tried user exits in MV45AFZZ, but there was no appropriate one where I could change this value.
    Enhancement V45W0001 also doesnt work for me.
    Thanks & Regards,
    Alin

    Hi Liju
    Have you tried using MV45AFZZ: userexit_move_field_to_vbak or userexit_move_field_to_vbap. I guess here both VEDA and XVEDA are available.
    I couldnt try myself as contract data doesnt get populated in our system.
    Kind Regards
    Eswar

  • Item wise attachment in sales contract(VA41)

    Hello Expert,
    I have an requirement to attach risk assessment document in sales order contract item level. Anyone have experience on this? we can able to attach in header level but the actual requirement is item level.
    Regards,
    Vadamalai A.

    Vadamalai Adhimoolam
    Give the document number which is created from CV01N to VA41 in item level
    Appreciate that you have updated promptly once you found the solution.  Please also share where exactly you keyed in the document number
    G. Lakshmipathi

  • BAPI /BDC for contract data VA41

    hi all,
        We have a requirement. We have Contract data in legacy system, and need to migrate that into SAP (VA41). Should i use BAPI or BDC for this.
    If i have to use BAPI, Please let me know the BAPI name.
    Regards,
    Kavitha

    Hi Kavitha,
                   May be this thread provides you some help.
    Have a look.
    Link:[Thread|Re: Creating Contracts using BAPI_CONTRACT_CREATEFROMDATA;
    Have a best day ahead.

  • Steps in VA41 To complete master contract process

    Dear ..Sd experts
    i have done all settings For master contracts like
    1)SAP Customizing Implementation Guide | Sales and Distribution | Sales |
    Sales Documents | Master Contract | Define Referencing Requirements | Define Reference
    Sales Document Types   ( GK) Refernce one
    2)
    SAP Customizing Implementation Guide | Sales and Distribution | Sales |
    Contracts | Master Contract | Define Referencing Requirements | Define Referencing
    Procedures   (SDGK)
    3) Define master contracts  GK
    So my doubt is small First time i am creating master contracts Now all settings done now how to assign master Contracts to contacts  in VA41
    please guide me

    Hi Madhuri,
    Haven't you in VA41 the "Master Contract" field available in Sales tab just under Sales area?
    regards,
    Edgar

  • Technical objects required to be mandatory in service contract VA41

    Hi
    I've got exactly the same issue as the one described in the thread.
    Technical objects required to be mandatory in service contract VA41
    Unfortunately for me it has never been answered, and seems to be quite old now.
    Does anybody knows how it could be set or developed?
    Regards
    Olivier

    Through standard configuration, it is not possible.  However, you can try with any of the following exits
    USEREXIT_MOVE_FIELD_TO_VBAP or
    USEREXIT_SAVE_DOCUMENT
    in the program MV45AFZZ where your technical team needs to validate those required fields as mandatory which is quite possible through coding.
    G. Lakshmipathi

Maybe you are looking for