Modify Sales order line item Type

Hey Guys,
I was wondering if there is a way through the DI or UI that I can change the type of a line item in a sales order matrix. I can change it through the Business One client to sub total or text on a line item and add comments. Is it possible to do this through code via DI or UI?
Any examples would be helpful.

Something like this.
ComboBox cb = (ComboBox)oMatrix.Columns.Item("COLUID").Cells.Item("row").Specific;
cb.Select("ValueToSelect",BoSearchKey.psk_ByValue);
Normal lines have "" (empty) value
Textlines have "T" value
Subtotals have "S" value

Similar Messages

  • Can we modify sales order line item before its booked through API?

    can we modify sales order line item before its booked through process_order API?
    here we have a situation where related item should be substituted for actual order item when user selects the related item , So looking for a way to modify the ordered item on sales order line .
    Thanks,

    Hi
    There is an API to update the Related Item on the line level in the Sales Order.
    PROCESS_ORDER API can be used for this purpose. It is part of OE_ORDER_PUB.
    Below are the fields on line table type that will be assigned to create an order line with related item and original ordered item.
    ORIGINAL_ORDERED_ITEM : Original Item
    ORDERED_ITEM : Related Item
    ITEM_RELATIONSHIP_TYPE : Type of Relationship.
    Please go ahead and try to create it like this. I am pretty sure that it will get the order created with related items.
    Note: Please make sure the profile option
    OM: Enable Related Items
    should be enabled.
    Please mark the response as helpful or correct if it provides you the solution.
    Thanks
    Mirza Tanzeel

  • Sales order line item conditin type

    hi experts
      in pricing procedure determination we  at lost we are giving condition type. it was displayed in sales order line item level
    what is the purpose of this condition type.
                                   thanks to every buddy who are trying to give answer this question.
                                        narasimha
                                        [email protected]

    Hi,
    This is to avoid going into the line item and entering the value in the amount field.
    When u assign it there in your pricing procedure determination you can enter the amount in the amount field for each line item and avoid drilling down to conditions tab for each item
    Hope you find this helpful.
    If you, please reward points for contribution.
    Regards
    Ravi

  • I need to add fields in additional fields B the sales order line item

    i  need to add fields in additional fields B beside the field (icon_val_quantity_ structure) in the sales order line item, How to achicve this? please help me..

    Please fined the below solution for achieving your requirement.
    1. Add new filed "B" in table VBAP.
      a) T.code  SE11 --> Enter structure name VBAP --> display
      b) Goto --> Append Structure --> Enter Structure name and new field "B"
    2. request your basis team and take the access key for modification of stabdard program SAPMV45A & Screen: 8459
       a) After receiving access key for standard program then got o SE51 --> enter program name  SAPMV45A & Screen: 8459
       b) click change Button
       c) click layout button
       d) add new field "B" below of the screen (F6 -> enter table name : VBAP --> get from dictionary --> selet new field and past in screen )
    3) write below code in flow logic
    PROCESS BEFORE OUTPUT.
                               Verarbeitung vor der Ausgabe
      MODULE ZZPB_INITIALIZE_8459.
      MODULE ZZPB_OUTPUT_8459.
    PROCESS AFTER INPUT.
      CHAIN.
        FIELD VBAP-New field name "B".
        FIELD ZVC_SALES_EXPORT-ZZAPLHENKO.
      ENDCHAIN.
      MODULE ZZPA_OUTPUT_8459.
    4. functin Module code
    module ZZPB_OUTPUT_8459 output.
      Data: l_v_actve type ale_active,
            l_v_ttyp  type c.
      Data: l_v_tragr type tragr.
    l_v_ttyp = t180-trtyp.
      if l_v_actve is initial.
        l_v_ttyp = 'A'.
      endif.
      LOOP AT SCREEN.
        CASE l_v_ttyp.
          WHEN 'A' OR 'C'.
            SCREEN-INPUT = 0.
        ENDCASE.
      ENDLOOP.

  • Create purchase order with reference to Sales order Line item

    Hi All,
    i had a requirement that i need to create the Purchase order with reference to sales order line item...
    In T.code me27 client requied a input field for sales order no and with that order reference he want the data of line item to PO creation line item screen.....
    please sujjust......how to proceed......
    regards,
    Ravi Nemani

    Hi
    Go to SPRO->Logistic general->Tax on goods movement->India->Movement types.
    Here you will find the group of movement types check which movement types is mantained for the out side movement groups or inward movement.
    also check the Material Master in MRP view if the collective requirements (02) is mantained.
    Regards
    Sri

  • Information about the deleted sales order line item in idoc.

    Hi Experts,
    I am new to IDOC.We have the following idoc requirement,
    When a line item is deleted from the sales order(VA02) ,
    the outbound idoc getting triggered for the sales order has the information about the rest all line items other than the deleted line item.We now want the information about the deleted line item in the Idoc .
    Please help me in proceeding further.

    Hi,
    I am facing the same scenario of capturing the  deleted sales order line item in idoc.
    I am using ORDRSP message type , where in E1EDP01- ACTION contains value  "000" .
    And the Deletion line item is not been captured, is there any configuration setting required to
    capture the deleted line item in Idoc.
    Based on the posting in this thread i understand that there is an  indicator which has to be set .
    Please let me know what is that indicator and how to set it?
    Thanks
    Sathish

  • How to set Confrimed quantity as 0 in the sales order line item

    hi all
    i have a requirement that my user dont want to see confirmed quantity in the sales order line item.
    scenario is make to order.
    i have set strategy group is 20 -make to order
                                            MRP Type is PD
                                           Lot size -
    EX , still its showing confirmed quantity.
    could pls any one tell me how to set 0 quantity in the sales order line item
    thnx

    Dear Sateesh,
    If the availability check is carried out and stock is not there in our plant, then it will show the confirmed quantity as Zero.
    If you don't want to carry out the availability check,
    To achieve this,
    1. Remove the availability check in the transaction OVZG against your requirement class.
    You can find the requirement type assigned to the sale order in the procurement tab.
    In OVZH transaction, you can find the requirement class assigned to your requirement type.
    2. Remove the availability check for your schedule line category in VOV6.
    In the material master MRP3 view, you ll be having Availability check, there you need to specify the availability check..
    If you specify it as KP(No check), then it will confirm the qty, though the stock is not there in our plant..
    To meet your requirement, you have to prefer user exit.(Correct me if I am wrong)
    Thanks,
    Venkatesh.S.P

  • Transaction VKM1 - Changes Sales Order Line Items Custom Fileds

    Hi,
    I have a challenge to indentify the impact of VKM1 on a Sales Order Line Item Customer Enhanced Fields. When credit hold for the customer is released in VKM1, I want to prevent some of the changes to the line items in the User Exit. The Problems I am not sure, How VKM1 is calling the Transaction VA02 or those Sales Order User Exits to modify certain customer enhanced fields. I tried Activation of Break Point in Update Task but did not stop at the Break points set up in the User Exit. How does Transaction VKM1 call the Sales Orders to execute changes? Is it through BAPI or Call Transaction VA02 or some thing else.
    Can any One please help me? Appreciate Your Help in advance.
    Thanks,
    Kannan

    VKM1 uses FM SD_ORDER_CREDIT_RELEASE to release orders on credit.

  • Mass Deletion of Sales order line items

    Dear Gurus..
    There is a transaction VA02 for change and deletion of sales order line items. it takes time to delete line item of sales order one by one.. is there any abap program to do this process..
    if so please let me know
    regards
    Saad Nisar

    Hi,
    You can use trx MASS with object type BUS2032 to change sales order items. Please check this link:
    Re: Mass deletion of  sales orders
    Or try LSMW.
    Regards,
    Csaba
    Edited by: Csaba Szommer on Apr 10, 2009 8:18 AM
    Edited by: Csaba Szommer on Apr 10, 2009 8:21 AM

  • MB51 Sales Order Line Item Misalignment

    Hi All,
    When i execute MB51 transaction for movement types 411E, 412E we fiind there is a misalignement between the sales order and the sales order line item.
    Example: IN MB1b when a 411 E movement is done then the negative item has the sales order line item number and the special stock E. Whereas the Positive item has the sales orderwith no line item number and special stock E. The sales order needs to be there in the negative item whereas it is present in the positive item number.
    Please advice

    Hi,
    After executing MB51you will get list of records.
    Press detail List (CtrlShiftF12) button, you will get each records appearing in one line.
    Try this.
    Regards
    Nilesh

  • Can sales order line item text be replicated into production order

    Hi
    Can sales order line item text be replicated to production order through standard PP configuration? If so how can it be done?
    If that is not possible through standard configuration then can it be possible to read both sales order line item information and production order information using a BAPI or a program?
    Please help me, i have been trying hard for this and also searches sdn for relevant posts but could not find any, I thank all people who can help me with some information on this.
    Regards,
    Jessica

    Sample code:
    DATA:
      wa_order_objects    TYPE bapi_pp_order_objects.
    DATA:
      it_order_header     TYPE STANDARD TABLE OF bapi_order_header1.
    *--Setting Flag to get details of BAPI
      wa_order_objects-header         = c_x.
      CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'
        EXPORTING
          number           =  "Order number"
          order_objects    = wa_order_objects
        TABLES
          header           = it_order_header.

  • FM/Transaction/BAPI to delete sales order line item in APO

    Hi,
    Could you please share the details of FM / Transaction / BAPI to delete sales order line item in APO?
    Tcode - SDORDER_DEL / FM - BAPI_SLSRVAPS_SAVEMULTI2 delete the complete order with all its order items.
    Even the OM function modulesdelete the complete order. We could not locate a BAPI/FM for deleting only specific line items of a Sales order...
    Thanks,
    Arvind.S

    Hi Arvind,
    Can you try the below:-
    Function module : BAPI_SLSRVAPS_REMOVEITEMS
    Bapi object type: BUS10501
    Using this, one can delete One or More Sales Order Items / Schedule Lines.
    Please confirm
    Regards
    R. Senthil Mareeswaran.

  • Finding open sales order line items

    Hello,
    First time poster and new to SAP so here goes:
    I am trying to find a better method for finding our open sales order line items.
    So far I am joining VBAK-VBUP-VBAP in that order and my scan logic is for sales document type (vbak-auart) of ZOR and ZDEW with an overall status (vbup-gbsta) of A or B.
    This logic use to work but now all it does is timeout after 60 minutes.
    VBAK has 6,766,828 total records in it
    VBUP has 16,431,117 total records in it
    VBAP has 12.9 million total records
    Thanks,
    Randy

    Hi Randy,
    For your requirement VBAK&VBUPtables are enough.
    Firstly you can read the table VBAK where AUART = 'ZOR' or 'ZDEW'.
    After this you will get all the sales orders with the order types ZOR or ZDEW.
    For these sales orders you can read VBUP tables.
    In this table there is a field <i><b>delivery status</b></i>.
    If this filed value is <i><b>C</b></i> then that line item delivery is completed.
    if it is not equal to <i><b>C</b></i> then those line items are open sales order line
    items.
    Thanks,
    shyla

  • Conditions KONV table for Sales order Line item.

    Hi Friends,
    What are the key fields bw vbap and konv table.
    requirmnt is : need to fetch conditions ( from KONV table ) for the sale order line items.
    thanks in advance.
    Jai.

    Hi,
    1. Fetch field <b>KNUMV</b> from table <b>VBAK</b> for that particular Sales Order No i.e <b>VBELN</b>.
    2. Goto <b>KONV</b> & based on <b>KNUMV</b>, <b>KPOSN</b> and <b>KSCHL</b> (condition type), fetch the required condition details along with its net price (KONV-KBETR)  and net value (KONV-KWERT).
    KONV-KPOSN = '00000' -> Header Condition
    KONV-KPOSN = '00001' -> VBAP-POSNR = 10
    Reward points if the answer is helpful.
    Regards,
    Mukul

  • Third Party GRN Posting Date to be Copied to Sales Order Line item Billing Date

    Hello Experts
    I have a client requirement where in they want to bill line items in the sales order ( third party process ) to the end customer in sync with the GRN posting dates happened in the PO
    For EG if GRN happened on 1st July 2014 then Billing Date should come in as 31st July 2014 so when they execute VF04 giving from and to dates as 1st july to 31st corresponding sales order can be invoiced
    Actual problem is for suppose if i create a sales order in the month of june say 26th basing on the factory calendar setting and invoicing list maintained in the customer master system defaults the billing date to 30th June 2014 , and the same when user runs VF04 from 1st June to 30th June this sales order shows as due and mistakenly end user invoices the customer ( whereas logical GR would have only received in July 1st )
    My requirement is similar to below threads but i am unable to find answer how to copy GR Posting date to Billing Date of the sales order line item
    use GR Doc date as billing date
    3rd party sales process (w/o ship notif) - Billing

    Hi Lakshmipathi ji,
    As my requirement is to update the billing date at the sales order line item level , As a process user goes in executes VF04
    For Ex
    Sales Order Created Date is 1st June 2014 then System Defaults Billing Date at line item to 30th June 2014
    Now when i do GRN suppose on 1st July 2014 for that line item , system should trigger a code where in check the posting date of the GRN and override the same in the Biiling Date field of the sales order line item
    So when VF04 is run for a month All the GRN which are recieved in the month of July are invoiced in July
    Please share me your thoughts do we need to check any userexits from MM side which reads the posting date of GRN and then copies in to my third party sales order
    Regards
    Hiba

Maybe you are looking for