Change Sales Contract Item Data - VA42

Dear Colleagues,
I'm trying to create an LSMW that will allow us to change item data in a quantity contract.  We used a direct input program to create the contracts but I'm not sure that it can be used to change them as well.  Our info from the contract creation is below.
The item level fields we're attempting to change are contract start date and contract end date VEDA-VBEGDAT and VEDA-VENDDAT
Does anyone know if it's possible to use this program to change contract item data?  Is there a better method other than trying a batch input recording?
Your help is greatly appreciated.
Thanks,
Brian Stookal

Many times this has been discussed and if you search SCN or Google with the text "LSMW for sale orders with multiple line items", you will get lot of inputs.  Take the inputs from there and try.
G. Lakshmipathi

Similar Messages

  • BAPI / FM to change Sales order item data

    Hi,
    I need a BAPI or FM to update the following fields of VBAP (Sales Document Item Data)
    KZWI2 - Subtotal 2 from pricing procedure for condition
    KZWI3 - Subtotal 3 from pricing procedure for condition
    KZWI4 - Subtotal 4 from pricing procedure for condition
    KZWI5 - Subtotal 5 from pricing procedure for condition
    I found FM: ISM_SALES_ITEM_CHANGE for this, but when I use it, it gives me dump for some data object 'XJKNBK'.
    Does any one have idea on how to use this FM or if any other FM is there please let me know?
    Thanks & Regards,
    Sunanda.

    hi Sunanda..
    I think you can try the Bapi 'BAPI_SALESORDER_CHANGE'. You can make use of its Tables Parameter CONDITIONS_IN and CONDITIONS_INX.
    example:
    How to change pricing Conditions in Sales order in change sales order bapi
    thanks,
    Padma

  • Sales order item data & sales order schedule data

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000
    Many thanks,
    Matt

    > Hello,
    >
    > I have a Sales Orders cube which is pulling data from
    > two DSOs (one for sales order item data and the other
    > for sales order schedule data). The common fields
    > between these two DSOs is the Sales Order number but
    > in my cube I have dual entries for each Sales Order
    > document (item and schedule info).
    >
    Two previous remarks:
    1) If you need to report on very detailed data consider doing an info-set joining both datastores. 2 reasons why:
    - not a good idea to report on very detailed information (sales order, GI dates) on cube level, if you have a scenario with lots of data. You end up with big dimension tables a poor report times;
    - there are better alternatives, like drill-through from cube query to DS query with report to report interface or Datastore-based reporting...so...
    With this solution you do not need to change the data model, I think, but test to be sure. See if the reporting times are acceptable. If not...
    2) First confirm your requirements, because what you show in your example as "to-be" have details that do not make sense, probably..
    - if you have more that one schedule line for each item then you would have many times the item information like material/price;
    - if not or if you could cope with that, then you can consider:
    2.1) create a new DS that agregattes from the previous on, with the same key of sales order item; do you have schedule line kf's? if so you these KF's should be additive in DS update; But if you may have more one scheduled line for 1 item then you have to decide what to do with the GI data (keep the last one posted, use code..) and other characteristics.
    2.2) update the shedule line datasource to the sales order item DS; same comments apply.
    2.3) maintain the missing data in the cube update rules from sheduled lines DS. Using code, refer to the respective item in the order item ODS. You would have to make sure that DS's data are correctly activated before updating the infocube.
    What solutions to choose?
    2.1 is better in terms of flexibility and architecture...because you could re-arrange the new DS to answer future needs, without loosing the 1st line DS's data;
    2.2 choose if data volumes and disk space are a concern...
    or
    2.3 it's OK, but i do not like it because of what explained in point 1...
    Message was edited by:
            Miguel Costa

  • 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

  • Base table for 0CRM_SALES_CONTR_I(CRM Sales Contracts: Item)

    Hi experts,
    Im looking for the base tables for 0CRM_SALES_CONTR_I(CRM Sales Contracts: Item).if there is a base table for the datasource how do we find it.
    Thanks,
    sivarama landa

    Hello Siva,
    This is the way to find in the system:
    From RSA2>Extraction Tab-> Extract Structure-->Components Tab->Component Column( You will see .INCLUDE)  with its Corresponding Description in the column---> Short Description ( FOR EX : ORDERADM_H Data for BW DataSources), usually the CRM system table will be CRMD_******** or CRM_******.
    Here you will not find the lbwe( way to find tables in the ECC ).
    The Best and easiest way to find is as said by Martin.
    Regards,
    Adhvi

  • Sales Order Item Data & Sales Order Schedule Lines

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10  
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15  
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000 
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000  
    Many thanks,
    Matt

    Hi Matt,
        Its no possible If you are maintaining data at Order Level.
    Try to introduce one more ODS/DSO in between ODS's and CUBE by keeping Sales Order only key field. Load data from both DSO's in required fields only. Then PUSH delta to CUBE. In this why you can maintain 1 record. Try to compress cube(with delete Zero Record Rows) to delete unnessasary records.
    Hope it Helps
    Srini

  • How to do INIT for Sales order Itema Data (DS 2LIS_11_VAITM)

    Hi all
    I have a report on sales order item data, I have to reload it. DS 2LIS_11_VAITM
    Can any of you pls explain me the steps to do the INIT? Refill set up tables etc
    Many Thanks in advance
    Ishi

    Hi Hari
    Many Thanks for the explanation and steps. I deleted set up tables and executed to fill it.
    It says in R/3 Start of Processing, I ticked to continue and its still running.
    In the mean time I checked RSA3 and it says 1007 records selected. I am refreshing it and the no. of records are still the same.
    Can you tell me how long it takes to fill the table?
    And the R/3 system is still running (Start of Processing)
    Thanks again
    Ishi

  • Upload sales order item data

    Hi All,
    I need to upload sales order item data.Could you please tell me the steps in R/3 to replicate data BW.
    Thanks
    Raj

    Hi,
    Steps to upload sales order item:
    1) Maintain extract structure (LBWE)
    2) Maintain Datasource. (LBWE)
    3) Replicate datasource in BW
    4) Assign Infosources (RSA1 - BW)
    5) Maintain comm struc/transfer rules (RSA1 - BW)
    6) Maintain infocubes and update rules (RSA1 - BW)
    7) Activate extract structures (LBWE)
    8) Delete setup tables / setup extraction (For deleting – LBWG and for setup use OLI7BW).
    9) Infopackage for delta init
    10) Set up periodic V3 update (LBWE)
    11) InfoPackage for delta load.
    Hope this helps.
    PB

  • Idoc segment for updating Sales order item dates

    Hi All,
    I would ike to update the sales order item dates (loading date, Goods Issuance date etc) from an IDOC.
    please let me know the Idoc segment and fields that need to be filled in?
    Thanks in advance.
    Regards,
    Zeeshan.

    Hi,
    Here are some details of the segments in the idocs -
    SEGNAM Segment Name E1EDL20
    VBELN Sales and Distribution Documen 180001539
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PIC : Picking with flow records (inbound)
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PGI : Post delivery goods issue (inbound)
    SEGNAM Segment Name E1EDT13
    QUALF IDOC Qualifier: Date (Delivery 010 : Picking
    NTANF Constraint for activity start 20090808
    ISDD Actual start: Execution (date) 20090808
    SEGNAM Segment Name E1EDL24
    POSNR Item number of the SD document 10
    MATNR Material Number 1112
    WERKS Plant SG01
    KDMAT Material belonging to the cust 1112
    LFIMG Actual quantity delivered (in 55
    VRKME Sales unit EA
    POSEX External item number 10
    ORMNG Original Quantity of Delivery 55
    SEGNAM Segment Name E1EDL41
    QUALI Qualifier for Reference Data o 001 : Purchase order data of customer
    BSTNR Customer purchase order number 4500004668
    BSTDT Customer purchase order date 10
    POSEX Item Number of the Underlying 10
    SEGNAM Segment Name E1EDL37
    Regards,
    Shamma

  • Sales order item data

    Hi Experts,
    Let me know the table in which the  APPR column data of sales order item is updating.
    Thanks in advance.
    Thanks,
    K.Rajesh.

    Hi,
    You can ask your SD consulants for help. They are much familar with the SD tables.
    Regards,
    Chris Gu

  • Sales contract item category configuration

    Hi,
    What is the standard item category available in SAP CRM for sales contract.
    What is the significance of Transaction category in Item category. I have configured BUS2000135- CRM Quantity/Value contract item for a z item category. It doesn't allow to add a partner determination which is configured for BUS2000121 Sales contract.

    Hi
    I just checked an item category of type BUS2000135 and it contains a field for the partner procedure in the IMG.  Can you double check it? If the you can't find the field please add a screen shot  of the IMG  to your answer.
    Best regards - Christophe

  • Change Sales Order Item Category for a configurable material with config

    Hi
    My problem is related to Variant configuration. We have a requirement that depending on the ordered quantity and required replenishment lead time the business scenario for a configurable will get changed. that means some characteristics value selection will trigger the business scenario to be followed, whether it will be Make to Order, Buy to Order or 3rd Party drop-ship order. and the business process to be followed will be triggerd by the Item category to be selected in the sales order line item.
    so , the requirement is to change the item category of the sales order line item with the carecteristiocs value selection in the  variant configuration screen. As we know, when ever the material is getting entered in to the sales order line item, depending on the Item category group in the material master data the item category in the sales order line item used to get determined. after that when we are selecting the characteristics value set in the variant configurator, systen shoud chage the already determined item category of the sales order.
    Hope I have clearly furnished my problem and requirement. Can anyone show me the way to fulfil my requirement. Any further clarification requirement to understand and resolve the issue is cordialy appriciable.
    Regards'
    Som

    Thanks Krishna
    But as u mentioned the way to make the non editable field into editable one. But that will applicable in case of manual chage. But can it be applicable for changing the Item category by using Object dependency??
    Actually in our scenario, for some of the item category that field in the sales order line item remains editable. we have tested with that also. Once the item category is getting determined, object dependenct is not able to modify the item category in the sales order line item.
    I have explores something, if I include PSTYV field in VCSD_UPDATE, will it work? VCSD_UPDATE is the table that contains field of sales order can be modified with the usage of object dependency.
    Please let me know ASAP.
    Regards
    Som

  • Change sales order item price even if it is partially delivered and billed

    Dear All,
    I have make to order scenario in the industry where the material prices fluctuates a lot.
    In make to order scenario, we sometimes gives the partial delivery to the customer. And once this takes place, the pricing of such items is gred out in sales order.
    As the material prices fluctuates during downward flow, we need to somehow change the sales order price for that item as customer will pay the price according to current date which is less than the price in the sales order during first partial delivery quantity. But as piricing is gred out we no longer change the sales order price.
    The major issue we are facing of credit management as it is getting credit block and we are no longer to proceed further. So kindly request to provide work around for this issue.
    Regards
    Sagar

    Hello Lakshmi,
    Currently we are stuck at PGI due to credit management activation such that if credit limit is exceeded then system will not allow to do PGI thus VTFL wont be useful.
    Also in such instance we are everytime changing the credit limit for such customer and once PGI and billing is done we again set the credit limit to appropriate value, which is not good workaround for end user.
    Please provide good solution if possible.
    Regards
    Sagar

  • How to change Service Contract item status to I1401(Terminateddue to Produc

    Hi,
    This is a ISU-CRM intergration scenerio. In certain case of contract renewal, I need to change status of existing item to I1401 (Terminated due to Product Change) and add new item with status I1400 (Started due to Product Change).
    But when I try to change it using class:
    call method cl_crm_isu_order_change=>set_single_status
    exporting
            iv_guid        = l_new_itm_guid
            iv_status      = 'I1400'                          
    receiving
            ev_success     = l_success
    then, success flag is always false and no exception is raised. Please help what  am I doing wrong?
    Regards,
    Daman

    It worked after a commit.

  • User Exit or BADI in APO to change sales order relevant data while CIF

    Hi Everyone,
    I require User exit or BADI at APO side to change customer field kunnr of sales order after it enters APO through CIF.
    My requirement is to replace KUNNR field with KDGRP field of sales order.
    The data will pass through CIF in APO.
    Is there any user exit or BADI for the same?
    Sample code will be of great help.
    Regards,
    Kashyap.

    Hi ,
    Resolved myself.
    customer exit APOCF010
    Regards,
    Kashyap

Maybe you are looking for

  • My iMac can discover WiFi but won't connect how do i fix this?

    My iMac will discover WiFi connections, i type in the right password but it wont connect how do i fix this?

  • SOAP Sender Adapter remains inactive

    I have a Service BS_IMIWH_DEV and an interface DeliveryReceipt_OB, and it is running on our fatfreddy system; the J2EE engine port is 50000. I have used the Web Service wizard to generate a WSDL file. I used the following target url: http://fatfreddy

  • HT1296 Can't get photos from icloud & more probs??

    1. Some months ago, my husband's phone packed up & he wen't to the istore for a replacement. The guy there said he was able to retreive pictures off the old phone & had put them on icloud. My husband doesn't have an icloud account so the guy somehow

  • Change in G/L / Transfer the amt to different GL doc wise

    Dear All, We have Done the GR for few materials with 501 mvmt type, and today we came to know that the G/L  acc which we have assigned were wrong & the amt is entered wrongly to this GL acc. Now i want to change the assignments. If i change the assig

  • MCI8 Cost Analysis Report

    Hi, We have an issue with MCI8 report. The user did not activate the activity type for the year 2008, though the system gave a warning message the user by passed it and continued creating the orders. We found this and activated the activity type. Whi