Default Batch value in sale Order items

Hello SD Experts,
Please, is there a way to recover a default value for the batch of all posts in a Sale Order (SO).
In fact I want to have a default value Z001 in the batch field of all post's of  SO type ZS01.
is that possible? if so how the customiz it?
thank you in advance.
SDA

Hello,
You could consider creating a batch strategy (T-code VCH1) and use it to control the batch determination in sales order.
Hope it helps.
Regards,
Smile

Similar Messages

  • Net Value in sales order item

    Hi All,
    Any one know how the system set net value in sales order item? (VBAP-NETWR)
    I mean, what kind of condition type will be considered in net value calculation.
    Thank you

    Hi,
    In Sales Order net value (NETWR) is always value before tax, it means the condition type determined before tax condition will be considered in sales order Net Value.
    In other words if conditon type have a category defined as D-Tax and Cond. class as D- Taxes, the value of this condition type will not be considered in Net value.
    regards
    Vivek.
    Edited by: Vievk Vardhan on Jan 7, 2010 2:00 PM

  • How to default Delivery Priority on Sales Order Items from Ship To?

    Is there a way to pull the Delivery Priority from the Ship To partner when creating sales order items rather than pulling from the Sold To partner?  I've checked all of my documentation -- including OSS notes; searches on SDN, IT Toolbox, and internet.  This doesn't appear to be configurable.  Can someone confirm that or tell me how to configure?  If not configurable, what is the recommended user exit? 
    Thanks!

    Thanks for responding - you are the first person to do so.  Unfortunately, I think you missed the point of my question.  We do not want to create and maintain customer materials - the delivery priority is in generally not material dependent.  We simply want to be able to have the Sales order item use the Ship To partner's delivery priority rather than the Sold To partner's delivery priority as the default delivery priority on the sales order items.  Ideas on how to do that?

  • Net Value in Sales order item and header URGENT

    Hi experts
    In some sales orders the net value is not shown but it is available in PR00 condition.
    Where should i check pricing proceedure or copy control,
    In the same sales order type i.e ZRP other sales orders are having net value,
    this sales order is created with reference to sales order type RE.
    Pls guide where to check and what correction needs to be done.
    Thank u in advance.
    regards
    SM

    Hi,
    Pricing procedure in tcode V/08, check the field 'SubTo'.
    Copy control in tcodes VTFA (between SO and invoices).Check the field 'pricing type' for conditions.
    I hope this help you,
    Regards,
    Eduardo

  • Dynamic field value in Sales order item table control

    Hi
    I need to find the VBAP-VKAUS (Usage indicator) field value in run time of the creation of sale order ...these values stored in the  table TVLV.
    when i debug the program SAPMV45A in the screen 4900 this VBAP-VKAUS value gets empty in structure VBAP even though i can see other values like MATNR etc...
    this field is configurable (dynamic) field and not appear for all the ordertypes.
    i need to pass this VBAP-VKAUS  value to KOMPD-VKAUS
    Thru user-exit..so please let me know if somebody knows how to find this VBAP-VKAUS  value.
    Thanks in advance
    Madi

    hi,
    Plz Check the struc KOMP/KOMK. Let me know, if this helped.
    Rgds,
    Raghu.

  • 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

  • Function modules to display hidden characteristic values of sales ord. item

    Hi ALL,
    My requirement is to display the hidden characteristic values of sales orders item.
    Can anyone let me know the Function modules to be used.
    Thanks & Regards
    Deepthi

    Hi Deepti
    Use the Function Module 'VC_I_GET_CONFIGURATION' to get all the characterstics & their values for a sales order line item.
    You just need to supply the configuration field(VBAP-CUOBJ) to the FM.
    Regards
    Chetan

  • Compare sales order items (specific fields)

    Hi guys,
    I need to compare some fields from vbap and vbkd and to add values from sales order items, before I print then on screen.
    I need to compare if vbkd-ihrez_e and vbkd-bstkd and vbap-matnr are the same for two records from sales order (10 and 20), If they are the same then add vbkd-ihrez values (for items 10 and 20), also add vbap-kwmeng, and write that sum on screen.
    Compare item with previous one. if doing for 20 compare with 10, for item 30 compare with 20 etc.
    I start like this.
    select aubel posnr into (wa_tab-vbeln, wa_tab-posnr)
             from vbrp
             where vbeln = p_vbeln.
        append wa_tab to it_tab.
      endselect.
    loop at it_tab into wa_tab.                   << I need somewhere to compare fields if they are the same before I print them.
          select single fbuda bstkd_e ihrez_e ihrez bstkd
                          into
                          (wa_tab-fbuda,
                          wa_tab-bstkd_e,
                          wa_tab-ihrez_e,
                          wa_tab-ihrez,
                          wa_tab-bstkd)
                          from vbkd
                          where vbeln = wa_tab-vbeln and
                                posnr = wa_tab-posnr.
    select single kbmeng waerk netwr arktx kwmeng
                          into
                          (wa_tab-kbmeng,
                          wa_tab-waerk,
                          wa_tab-netwr,
                          wa_tab-arktx,
                          wa_tab-kwmeng)
                          from vbap
                          where vbeln = wa_tab-vbeln and
                                posnr = wa_tab-posnr.
    modify it_tab from wa_tab.
    endloop.
    How can I modify code to get this process? Thanks,
    Edited by: nihad omerbegovic on Nov 2, 2009 9:45 AM

    Hi Nihad
    select aubel posnr into CORRESPONDING FIELDS OF TABLE it_tab
    from vbrp
    where vbeln EQ p_vbeln.
    select a~vbeln a~posnr a~fbuda a~bstkd_e a~ihrez_e a~ihrez a~bstkd
    b~kbmeng b~waerk b~netwr b~arktx b~kwmeng
    into CORRESPONDING FIELDS OF TABLE it_vb
    from vbkd as a INNER JOIN vbap as b ON a~vbeln EQ b~vbeln AND a~posnr EQ b~posnr
    FOR ALL ENTRIES IN it_tab
    where vbeln EQ it_tan-vbeln and
    posnr EQ it_tab-posnr.
    SORT it_tab BY vbeln posnr.
    LOOP AT it_tab INTO wa_tab.
    IF lv_vbeln EQ wa_tab-vbeln. "means it's the same order but a different item
    IF ( lv_ihrez_e = wa_tab-ihrez_e ) AND ( lv_bstkd = wa_tab-bstkd ) AND ( lv_matnr = wa_tab-matnr ).
    ADD wa_tab-kwmeng TO lv_kwmeng.
    WRITE lv_kwmeng.
    ENDIF.
    CLEAR lv_kwmeng.
    lv_ihrez_e = wa_tab-ihrez_e.
    lv_bstkd = wa_tab-bstkd.
    lv_matnr = wa_tab-matnr.
    lv_vbeln = wa_tab-vbeln.
    lv_kwmeng = wa_tab-kwmeng.
    endloop.
    Thanks
    Pushpraj

  • 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

  • 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

  • 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

  • Default Functional Area in Sales Order Line Items

    Hi,
    Is there any user exit that can be used to default Functional Area in Sales Order Line Items.
    I tried mv45afzz but not working. Any idea and do let me know the field or structure effected.
    Thanks.

    Hi Sathish
    You can update table XVBAP from program SAPMV45A in program mv45afzz like code below:
    FIELD-SYMBOL: <mytab> LIKE STANDRD TABLE OF VBAP.
       ASSIGN (SAPMV45A)XVBAP TO <mytab>.
       LOOP AT <mytab>.
       ENDLOOP.
    I hop it helps .
    Kind regards
    Carlos Machado

  • Process to populate the new field added by AET in Sales Order item

    Hi
    We are on CRM 7.0 , EP1.
    I have added a new field in Sales order item view (UI comp : BT115IT_SLSO  , View :Items).
    The field is called MTO (made to order), it should be populated based on settings in material master.
    I would like to know how can I populate this field with custom logic.
    Thanks
    Swapnil

    Dear Swapnil,
    You can use the following steps to set the default value in field Made To Order:
    1. Enhance Component BT115IT_SLSO and View Items
    2. Redefine method DO_PREPARE_OUTPUT method of the View Controller Class and implement the following sample code:
    super->do_prepare_output( ).
    if iv_first_time = abap_true.
    lr_ent->set_property_as_string( iv_attr_name = 'ZXXX'    " Attribute Name
                             iv_value        = 'YYYY'  )     " Value to be set
    endif.
    This will make sure that the logic to set the value in this field is called only once and not after every event.
    You might not like to redefine the Getter and Setter method because these methods will be triggered after each event in that view.
    Hope this helps.
    Thanks
    Vishal

  • 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?

  • Sales Order - item level to enter Revision of the Material

    Hi, usually we enter Revision in the Batch field in our SO. This is possible becos we make the Revision number to be same as Batch number.
    Now I could not enter a line item in my SO becos the batch does not exists even though the Rev exists. For our purpose we use the batch field to enter the Revision value.
    Is there a place/field to enter the Revision? As this Rev is needed for our Production dept to know which customer orders with what Revision number?
    Pls share !

    Yes, we do have Rev in Material Master, also we create the Batch (same as Rev code) only when Goods Receipt for PO, Prod. Order...
    I need to let the Production team to be aware of the Rev that customer has requested for them to start making with such Rev stated in Sales Order.
    Where do we metntion this in SO (usual practise in SAP) as customer can order even for older Revisions.?
    Or should I use an userexit to create a batch when Batch doesn't exists & then use the Batch in my Sales Order?
    What would be SAP's best method for this? Any idea? Pls share
    rgds,
    ann

Maybe you are looking for

  • Repost: Oracle VM Manager (IndexError: list index out of range) error

    The Oracle VM Manager software will not import a server side created VM for management purposes. It is giving an index-out-of-range error when trying to retrieve the Memory Size from the jumpbox.xen file (I created a symbolic link to this file called

  • How to transfer Message Interface from Repository to Directory

    Hello, I have created a Message Interface (with related Message Type, Data Type) and Interface Mapping from this interface to another in Integration Repository. Then I go to Integration Directory and trying to create Interface Determination. I can se

  • Reports integrated in Forms.

    I am using 10gAS Report integrated in forms are not working If i open the browser and give the below url, i get message "successfully run". The same in form is not working. Browser URL- is working 'http://dbserver.cosd:7778/reports/rwservlet?server=r

  • How do I export images from aperture to flash drive

    How do I export the whole album from Aperture to flash drive.?

  • Custom Flat file connector

    All, I have a clustered environment with OIM 11gR2. And I have developed a custom flat file connector using a schedule job and it is working properly. The issue is when I run the job manually, it is running only on one node from which I triggered man