Sales order item 1 values are getting deleted

HI,
when i am creating sales order with material variants the dimension values( legth ,width ) for the first item are getting delted. it is happening after the BAPI_SALESORDER_CHANGE executed for  the second item. where could be the problem. is any flag values do i need to check?
please suggest.

Hi:
Thanks for the response.
Yeah, when I try to create an Order manually with the item category that is coming in IDOC I am able to see the Text ID's at the item level and I am even able to save some text in them.
Do you think we need to do something else somewhere? May be we need to explicitly write some additional logic in order to save the item texts.
Thanks.

Similar Messages

  • FM/BAPI to update sales order item characteristic values

    Hi experts,
    I have an urgent requirement on changing the characteristic values of a sales order item (VA01/VA02). Is there any FM or BAPI to update the characteristc values?
    Points will be awarded.
    Regards,
    Leo

    Hi,
    I need an FM/BAPI that can be run inside user exit USEREXIT_SAVE_DOCUMENT_PREPARE to update the item configuration. I tried the FM you have given me but it didn't work. If you have sample codes that can update the configuration values of the sales order item, it will help me a lot. Thanks!
    Regards,
    Leo

  • Sales order item contion value not coming correcctly

    Hi Friends,
    I created new condition type-YES7, taken sale basis as D
    Cond. class           A Discount or surcharge                 
    Calculat.type          B   Fixed amount                                                
    Cond.category       5 Customer reserve 5                                          
    Plus/minus              A Positi
    Scale basis            D Gross weight scale
    Manual entries       C Manual entry has priority
    Selected below indicators as well
    group conditon
    item conditon
    delete
    I have created condition scales as below
    scale qty                                 Rate
    0,001     KG     5,00    EUROS
    10,000          10,00
    20,000          20,00
    30,000          30,00
    40,000          40,00
    50,000          50,00
    as per my requirement, based on gross weight of each line item, condition record should pick from scales .
    But here,It is cumulating the total gross weight of all line items and showing total gross weight scale value(conditon record value) for each line item of sales order.
    so please let me know how to rectify this issues.
    Thanks in advane.
    Regards,
    Ramkrishna

    Just remove the Group condition and then try .Please refer the  logic behind the Group condition
    Group condition
    Indicates whether the system calculates the basis for the scale value from more than one item in the document.
    Use
    For a group condition to be effective, the items must belong to a group. You can freely define the group to meet the needs of your own organization. The items can, for example, all belong to the same material group.
    Example
    A sales order contains two items. Both items belong to the material group 01.
    Material     Quantity     Material group
    A     150     01
    B     100     01
    The group condition indicator is set in the definition of the condition type for material group discounts. The condition record for material group 01 includes the following pricing scale:
    Scale quantity     Discount
    from      1 pc     -1%
    from      200 pc     -2%
    Neither item alone qualifies for the 2% discount but sytem will apply the 2% as 100 + 150 > 200 .
    However, when the items are combined as part of a group condition, the combined quantity creates a basis of 250 pieces.
    This basis then exceeds the scale value of 200 pieces, which is necessary to qualify for the higher discount.
    Hope it should work after that ...
    Br
    Gaurav

  • Split at sales order item level

    Hi SD gurus...
    Iam trying batch determination at sales order item.
    I could get every thing except batch split/ Even though required split are maintained in batch search record, it is getting as 001 only at the time of determination during sales order.
    I think this is a standard phenomena. is there any work arround possible to get the required batch split at sales order item level.
    warm regards
    sairam akundi

    Hi Sairam,
    Contrary to deliveries, batch splits are not possible for sales orders (as opposed to delivery). Even if you have defined a certain number of batch splits in the batch search strategy, the system overrides this default setting.
    Maybe you can explore USEREXIT_MOVE_FIELD_TO_KOMPH

  • How to Cancell Sales Order Items......

    Hi Experts,
    How to Cancell Sales Order Items ?
    Presently I am deleteing Indidually Items in Sales Order but I am getting records through Report.
    Is there any proper way to Cancel Sales Order Items / Full Sales Order and also I can get report of which items has been cancelled and so on.
    Pl. reply.
    Yusuf

    you can not cancel sales order.. SAP has not given that option.. only opition you have is delete the line items by going to VA02, if its open sales order or blocking the sale order..
    reward if it helps..
    ramki

  • Contract and sales order  item deletion

    Dear Experts
    I am facing a problem in a praticular scenario.In our process we are making quotation(thru VA21)>Sales order>delivery>PGI>Billing
    Now if we have a material code Z with qty as 10 in quotation the same gets copied to the sales order.But if i wish to delete the same line item in sales order , system prompts that this item refers to the quotation so it cannot be deleted.
    Now if i go to quotation and try to delete the same line item , then also the system prompts that the sales order XXXX refers to this line item , you cannot delete it.
    I wish to delete the same from sales order as well as the Quotation also.Kindly advise
    Regards
    Naveen
    Edited by: Naveen Sharma on Apr 16, 2010 11:11 AM

    Hi Raga
    But my problem is for ex. i have prepared quotation for Material codes
    X-->5 QTY
    Y-->6QTY
    Z-->7 QTY
    Now the sales order is also having the same 3 material codes.After this we had done the delivery for lets say only X & Y.We dont wish to do the delivery for Z material so even i am going back to VA02 and trying to delete it the system prompts the earlier messages which i had explained
    My requirement is to delete only Z from SO & Quotation

  • Sales Order Items Deletion

    We had a LO Extraction problem and the LO queues got deleted from R/3.
    So, we lost some Sales Order Items. We recovered from that by doing a manual setup of those documents and we loaded all the missing documents.
    However, there was another problem which was overlooked. Those Sales Order Items that were deleted at time when queues were deleted, are no longer existing in R/3 but are present in BW.
    We identified those documents and items to be deleted as 14 in number, which isn't that bad, but which is the best way to delete them in BW?
    1) Selective Deletion - doesn't work as we dont have Document number at Cube level.
    All helpful inputs will be rewarded.

    > dear Venky,
    > i think ...
    > try 'export' these 14 docs to text file (csv)
    > and add 0recordmode or 0storno with value 'X',
    > then assign the infosource with new source system
    > 'flat file' and create transfer structure with
    > fields/infoobjects sequence as downloaded file,
    > if you are using ods, i think you may try just the
    > keyfieds.
    > try simulate this in development, first without
    > 0recordmode/0storno = X to add the records to
    > ods/infocube, then give 0recordmode/0storno = x, and
    > see if they are deleted smoothly.
    > hope this helps.
    AHP:
    I was working on last week doing the same, What ended up happening was that The record still existed with all key figures ended up becoming zeroes.
    My flat file had this:
    X;0106662496;X;40
    X;0106662547;X;10
    I tried, X, R & D for the reversal Indicator and the result was same, record still existed and key figures became zeroes in ODS.
    Updating to cube(which doesn't have Doc number) is still another long way to go for me.

  • How to get PO from sales order item in CRM

    Hi,
    I am building a BI extractor which needs PO for a given complaint. I am able to get the sales order/item for a complaint using crm_order_read FM. Is there anyway to get the PO based on this SO-item. Are their tables that link these two.
    Thanks!

    Table CRMD_ORDERADM_I -> Give Item GUID in filed GUID and get the document header guid in field HEADER. Then use function module CRM_ORDER_READ and table ET_SALES to get the Sales Data for the right item. The PO you are interested in can be any of the fields related to PO in this set. Usually it is PO_NUMBER_UC.
    Alternately, if you want to use only the table reads use this.
    1. Table CRMD_LINK --> get the record with GUID = Item GUID and OBJTYPE_SET = 11 (for Sales Set)
    2. Table CRMD_SALES --> get the record with GUID = CRMD_LINK-GUID_SET
    Get your PO information from this Sales set record for your item. But since, PO is usually associated with the header, you can do the same as above but with the GUID = Header GUID in the CRMD_LINK table.

  • Value of NET in Sales Order item (Pricing)

    Hi,
    I have created a Price correction order. Where I put the corrected price and all the calculations happen on the entered corrected price. Like the discounts and taxes.
    All the calculations in the Pricing is perfect.
    But the value in Net for the line item is calculating incorrect value.
    For e.g. If Corrected price is 100 and the Net value for this is 60 (including discounts and taxes). Then the value in Net in the Sales order will show the Value (100 + 60) = 160.
    All the calculations in the Pricing procedure are perfect.
    Please help me with this issue, How the value is NET (Sales order item) is calulated. Is this associated with any routine.
    Thanks and regards,
    Sheetal

    Hi,
    NET will be  Prices + Surcharges - Discount.
    so, see the discounts and surcharges in your order.
    And, please give all the condition type and corresponding rates in the next post, so that i can be more helpful.
    thank you

  • Deleting all linked documents per sales order/item

    We have documents linked to our sales orders/items (which can be seen via CV03N).  I would like to run a batch program to selectively delete all of these linked documents.  There is a function module CV140_LINKS_DELETE that looks will do the trick if you supply DOKAR, DOKNR, DOKVR, DOKTL, DOKOB and OBJKY.  In our case DOKAR is 'ZQN', DOKVR is '00', DOKTL is '0000' DOKOB is 'VBAP' and OBJKY is a combination of sales order/line.  How would DOKNR be filled in if I want to delete all documents?
    Thank you.

    In my case, I'm trying to delete the following:
    DOKAR = 'ZQN'
    DOKNR = (can have 34 different values ranging from Q01-Q34)
    DOKVR = 00
    DOKTL = 0000
    DOKOB = VBAP
    OBJKY = sales order/line - I have this in an internal table I loop thru
    My issue is with the DOKNR value.  Is there a way to delete all document links for a sales order/line when you don't have a DOKNR value?

  • Deletion of Sales Order Items

    (Have also posted this on Security forum but hope someone on here can help)
    We need to be able to block users from deleting sales order items. The objects V_VBAK_VKO and V_VBAK_AAT can be used at the 'order header' level but these do not prevent a user deleting an individual item in an order. Does anyone know of a way of achieving this through authorisations?

    Dear Peter
    Following are some of the sale order user exits which you can make use of  to achieve your requirement.
    -  User exits in the program MV45AFZZ - USEREXIT_READ_DOCUMENT
    -  User exits in the program MV45AFZZ - USEREXIT_SAVE_DOCUMENT
    -  User exits in the program MV45AFZB - USEREXIT_CHECK_VBAP
    Tell the logic to your ABAPer and ask him / her to write a code in any of the above user exits which can definitely be achieved.
    thanks
    G. Lakshmipathi

  • How to get sales order item information

    Hello All,
       I ahve defined a new, custom condition type and created a routine in alternate condition type.
       While creating a sales order, when the routine is getting executed, i need the sales order item information. i.e. i need to access VABP table. but when i put a break point, in the routine, i cant see the detials of item.
    can some one tell me how to get item data, in the routine.
    (p.s. this is while creating sales order)
    thanks a lot in advance
    Best Regards
    Amarender Reddy B

    Hi
    I suppose you're speaking about pricing condition, if it's so all information u can have are in structure KOMP and KOMK. The condition record data should be in the internal table XKOMV.
    If there informations u need aren't there u should enanche those structure.
    Max

  • Sales Order item Delete

    Hi gyes,
        in va02 when i delete the sales order item,is any user exit is fiaring.please help me
    Thanks Jinna

    Hi,
    The following are the User_Exits in Va01/Va02:-
    SDTRM001 Reschedule schedule lines without a new ATP check
    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
    SDTRM001 Reschedule schedule lines without a new ATP check
    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
    <u>Place a breakpoint in these user exit.
    Delete a sales order item and see which exits are called and in which order.</u>
    Regards,
    Sameena

  • Sales Order Item Shipping point (VBAP-VSTEL) value in APO table

    Hi,
    I am looking for Sales Order Item Shipping point (VBAP-VSTEL) value in APO.Can I  get this info in APO ?
    This information is not available in table /SAPAPO/SDORD or  /SAPAPO/SDFIELD.
    Basically table /SAPAPO/SDORD is completely blank. Table /SAPAPO/SDFIELD has entry for Sales Order Item but not for VSTEL. Shipping point is there in the Catalog table in ECC and I can see that it is getting imported to APO but why it is not avaibale in SDFIELD table.Any idea ?
    I cheked table /SAPAPO/SHIPPING also for the guid (Item guid) but not found any entry .
    Please help.

    RKS,
    Most data in SCM is not stored in tables, it is stored in LC.  In general, it is not the best idea to use APO for creating custom reports against  transactional data.  You do such reporting in the OLTP, and you use the standard SAP programs to keep these systems in synch.
    Some SD auxiliary data is sometimes stored in /SAPAPO/SD_DOC.and /SAPAPO/SDFIELD.  Check here, you might find something useful.  No guarantees......
    Best regards,
    DB49

  • Getting Item Text  from sale order items

    Hi All,
    I am trying to get sale order item text using Include text in smartforms.
    my text object  is VBBP and my text id is 0004.
    What should I pass in Text Name  ?.---Order Number or Item Nunmber or Both.
    If both can you guys explain how to pass both ?.
    will be REVARDED.

    Hi,
    When you see the texts in the line item of va03..
    Double click on the text..
    Then in the menu..Goto -> Header..
    There you can find the Text name..
    Generally if it is Item text..Then the text name will be
    order number + line item
    Thanks
    Naren

Maybe you are looking for

  • Can't boot Windows 7 without DVD in drive

    Is there a hotfix for this?  It's related to this thread: http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/64f729b6-d796-4030-82d9-3fe5a44b0180 If you go to www.google.com and search using the phrase "Windows 7 won't boot withou

  • Why is the preview taking elements away and stretching the page?

    I am running Mac Mountain Lion with Muse. I have a footer bar with an image in the middle. It shows up fine with my other pages but on the newest pages I make, it disappears and stretches the page out beyond my minimum page size.This only happens whe

  • Dreamweaver not overwriting files on the server

    I am having the same problem that was mentioned in another post andthe issue has increased in Dreamweaver CS4. It  will not overwrite new files to the server consistently. Even the date  changes in some cases but the old file is still there. It is no

  • BCF Balance Carry-Forward CopyOpening and scoping

    Dear Experts, We are running on BPC NW10. We are using standard DM package and logic script + BCF business rules to run BCF process. Everything works fine but now we would like to create alternative BCF process for some group of accounts. We defined

  • Customer specific price maintanance

    Hi experts, we already maintained one base price for customers on price group base. Again my client want to introduce  Customer specific price (how shall i maintain) Is there any condition records maintance for these customers,  pls guide me how to p