Production Order and Internal Order for each item of the sales order

Hi
   I am developing Make To Order Report where I have to display the MTO Line Items and non MTO Line Items. For non MTO Line Items I have to display Internal order with Planned and Actual Costs and also Production Order with Planned and Actual Costs. Could anybody tell how to get the Internal order no and production order with Planned and Actual costs for each line item for a sales order.
Thanks
Naga

Hi,
You can get the Production orders, Planned orders, Internal orders generated for Sales order item from AFPO table (use fields KDAUF-Sales order number & KDPOS-Sales order item). Then to identify the order type use order category (AUTYP) from table AUFK.
Once you have the Production/internal order, you can ge the cost from COSS and COSP table. Use the object number from AUFK to get the cost entries from COSS & COSP.
You can use the following sample code as reference.
Hope this is helps.. (Don't forget to mark it... )
Form GET_COSTS                                                       *
Get the material cost, labour hours and the labour cost for the      *
sales order material.                                                *
There are no interface parameters to be passed to this subroutine.   *
FORM GET_COSTS.
  DATA V_OBJNR LIKE AUFK-OBJNR.
DATA v_menge LIKE vbap-kwmeng.
  SELECT SINGLE OBJNR
    INTO V_OBJNR
    FROM AUFK
   WHERE AUFNR EQ AFPO-AUFNR.
  SELECT * FROM COSS
   WHERE OBJNR EQ V_OBJNR
     AND WRTTP IN ('01', '04'). " p_wrttp. "Labour Cost ( Plan, Actual)
    PERFORM GET_VALUES_FROM_COSS.
  ENDSELECT.
  SELECT * FROM COSP
   WHERE OBJNR EQ V_OBJNR
     AND WRTTP IN ('01', '04')         " p_wrttp
     AND KSTAR NE '0000510033'. " EQ p_kstar2.      "Material Cost
    PERFORM GET_VALUE_FROM_COSP.
  ENDSELECT.
Get the unit cost of the production order by dividing the production
cost by the order quantity. The result will be multiplied by the
GL posting qunatity (Delivery quantity) to get the production cost
for the quantity being deluivered.
  IF NOT AFPO-PSMNG IS INITIAL.
    OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT / AFPO-PSMNG.
    OUT_REC-ADDNL_LABOUR_HOURS_ACT =
                      OUT_REC-ADDNL_LABOUR_HOURS_ACT / AFPO-PSMNG.
    OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN / AFPO-PSMNG.
    OUT_REC-ADDNL_LABOUR_HOURS_PLN =
                     OUT_REC-ADDNL_LABOUR_HOURS_PLN / AFPO-PSMNG.
    OUT_REC-LABOUR_COST_ACT = OUT_REC-LABOUR_COST_ACT / AFPO-PSMNG.
    OUT_REC-ADDNL_LABOUR_COST_ACT =
                     OUT_REC-ADDNL_LABOUR_COST_ACT / AFPO-PSMNG.
    OUT_REC-LABOUR_COST_PLN = OUT_REC-LABOUR_COST_PLN / AFPO-PSMNG.
    OUT_REC-ADDNL_LABOUR_COST_PLN =
                     OUT_REC-ADDNL_LABOUR_COST_PLN / AFPO-PSMNG.
    OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT / AFPO-PSMNG.
    OUT_REC-ADDNL_MATERIAL_COST_ACT =
                     OUT_REC-ADDNL_MATERIAL_COST_ACT / AFPO-PSMNG.
    OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN / AFPO-PSMNG.
    OUT_REC-ADDNL_MATERIAL_COST_PLN =
                     OUT_REC-ADDNL_MATERIAL_COST_PLN / AFPO-PSMNG.
  ENDIF.
Multiply the calculated Unit Production costs with the GL quantity to
get the actual production cost of the quantity delivered.
Calculation for Labour Hours
  OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT *
                             OUT_REC-QUANTITY.
  OUT_REC-ADDNL_LABOUR_HOURS_ACT = OUT_REC-ADDNL_LABOUR_HOURS_ACT *
                             OUT_REC-QUANTITY.
  OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN *
                             OUT_REC-QUANTITY.
  OUT_REC-ADDNL_LABOUR_HOURS_PLN = OUT_REC-ADDNL_LABOUR_HOURS_PLN *
                             OUT_REC-QUANTITY.
Calculation for Material Cost
  OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT *
                              OUT_REC-QUANTITY.
  OUT_REC-ADDNL_MATERIAL_COST_ACT =
      OUT_REC-ADDNL_MATERIAL_COST_ACT * OUT_REC-QUANTITY.
  OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN *
                              OUT_REC-QUANTITY.
  OUT_REC-ADDNL_MATERIAL_COST_PLN =
      OUT_REC-ADDNL_MATERIAL_COST_PLN * OUT_REC-QUANTITY.
Calculation for Labour cost
  OUT_REC-LABOUR_COST_ACT   = OUT_REC-LABOUR_COST_ACT *
                               OUT_REC-QUANTITY.
  OUT_REC-ADDNL_LABOUR_COST_ACT = OUT_REC-ADDNL_LABOUR_COST_ACT *
                              OUT_REC-QUANTITY.
  OUT_REC-LABOUR_COST_PLN   = OUT_REC-LABOUR_COST_PLN *
                              OUT_REC-QUANTITY.
  OUT_REC-ADDNL_LABOUR_COST_PLN = OUT_REC-ADDNL_LABOUR_COST_PLN *
                              OUT_REC-QUANTITY.
Get the planned material cost from the total of the planned cost of
the component materials in the production order confirmations.
  SELECT BWART MENGE MATNR SHKZG FROM AUFM
    INTO (AUFM-BWART, AUFM-MENGE, AUFM-MATNR, AUFM-SHKZG)
   WHERE AUFNR EQ AFPO-AUFNR.
    CHECK AUFM-BWART NE '101'.
    READ TABLE I_MBEW WITH KEY MATNR = AUFM-MATNR
                               BWKEY = AFPO-DWERK.
    IF SY-SUBRC NE 0.
      SELECT MATNR BWKEY ZPLPR LPLPR PEINH
        FROM MBEW
        INTO I_MBEW
       WHERE MATNR EQ AUFM-MATNR
         AND BWKEY EQ AFPO-DWERK.
        APPEND I_MBEW.
      ENDSELECT.
    ENDIF.
    IF SY-SUBRC EQ 0.
      IF I_MBEW-ZPLPR NE 0.
        IF AUFM-SHKZG EQ 'H'.
          OUT_REC-PLANNED_MATERIAL_COST =
          OUT_REC-PLANNED_MATERIAL_COST +
                       ( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
        ELSE.
          OUT_REC-PLANNED_MATERIAL_COST =
          OUT_REC-PLANNED_MATERIAL_COST -
                       ( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
        ENDIF.
      ELSEIF I_MBEW-LPLPR NE 0.
        IF AUFM-SHKZG EQ 'H'.
          OUT_REC-CURRENT_MATERIAL_COST =
          OUT_REC-CURRENT_MATERIAL_COST +
                       ( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
        ELSE.
          OUT_REC-CURRENT_MATERIAL_COST =
          OUT_REC-CURRENT_MATERIAL_COST -
                       ( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
        ENDIF.
      ENDIF.
    ENDIF.
  ENDSELECT.
Get the Future material cost per Unit by deviding the calculated
Future material cost above with the goods reciept quantity to, then
multiply the unit cost with the GL quantity to get the Future material
Cost for the Quantity delivered. (Quantity in the entery from GLPCA
Table).
  IF NOT AFPO-WEMNG IS INITIAL.
    OUT_REC-PLANNED_MATERIAL_COST =
       OUT_REC-PLANNED_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
    OUT_REC-CURRENT_MATERIAL_COST =
       OUT_REC-CURRENT_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
  ENDIF.
ENDFORM.                               " GET_COSTS
Form GET_VALUE_FROM_COSP                                             *
Get the Material cost from COSP table.                               *
There are no interface parameters to be passed to this subroutine.   *
FORM GET_VALUE_FROM_COSP.
  FIELD-SYMBOLS: <FS> TYPE ANY.
  DATA: V_COMPONENT TYPE I.
Cummulate the posting values of all the 16 period buckets as to get
total production order cost. This is to handle the aprtial posting of
prodction order values in diffrent periods.
  V_COMPONENT = 15.
  DO 16 TIMES.
    ADD 1 TO V_COMPONENT.
    ASSIGN COMPONENT V_COMPONENT OF STRUCTURE COSP TO <FS>.
    IF COSP-WRTTP EQ '04' AND COSP-KSTAR EQ P_KSTAR2.
      ADD <FS> TO OUT_REC-MATERIAL_COST_ACT.
    ELSEIF COSP-WRTTP EQ '04'.
      ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_ACT.
    ELSEIF COSP-WRTTP EQ '01' AND COSP-KSTAR EQ P_KSTAR2.
      ADD <FS> TO OUT_REC-MATERIAL_COST_PLN.
    ELSEIF COSP-WRTTP EQ '01'.
      ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_PLN.
    ENDIF.
  ENDDO.
ENDFORM.                               " GET_VALUE_FROM_COSP
Form GET_VALUES_FROM_COSS                                            *
Get the Labour cost and Labour hours from the COSS table.            *
There are no interface parameters to be passed to this subroutine.   *
FORM GET_VALUES_FROM_COSS.
  FIELD-SYMBOLS: <FS1> TYPE ANY,
                 <FS2> TYPE ANY.
  DATA: V_COMPONENT1 TYPE I,
        V_COMPONENT2 TYPE I.
Cummulate the posting values of all the 16 period buckets as to get
total production order cost. This is to handle the aprtial posting of
prodction order values in diffrent periods.
  V_COMPONENT1 = 15.
  V_COMPONENT2 = 111.
  DO 16 TIMES.
    ADD 1 TO: V_COMPONENT1, V_COMPONENT2.
    ASSIGN COMPONENT V_COMPONENT1 OF STRUCTURE COSS TO <FS1>.
    ASSIGN COMPONENT V_COMPONENT2 OF STRUCTURE COSS TO <FS2>.
    IF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ P_KSTAR1.
      ADD <FS1> TO OUT_REC-LABOUR_COST_ACT.
      ADD <FS2> TO OUT_REC-LABOUR_HOURS_ACT.
    ELSEIF COSS-WRTTP EQ '04'.
      ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_ACT.
      ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_ACT.
    ELSEIF COSS-WRTTP EQ '01' AND COSS-KSTAR EQ P_KSTAR1.
      ADD <FS1> TO OUT_REC-LABOUR_COST_PLN.
      ADD <FS2> TO OUT_REC-LABOUR_HOURS_PLN.
    ELSEIF COSS-WRTTP EQ '01'.
      ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_PLN.
      ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_PLN.
    ENDIF.
  ENDDO.
ENDFORM.                               " GET_VALUES_FROM_COSS

Similar Messages

  • Delivery doc creation for a selected line item of the Sales order

    Hi folks,
        Can any one help me in how to create a delivery order for a selected line item of the Sales order.My requirement is the request comes from the web browser where a sales document and details of the items are shown the user select one line item and request for delivery create of that particular SO doc.I have used couple of FM to create delivery but the delivery create is depend on the schedule line dates so iam unable to figure out where exactly i can distinguish between the line items.
    Example:
    SO:- 11193645
    Line item -1 has 2 schedule line 06/11
                                     06/13
    Line iteam-2 has 1 schedule line 06/12
    so if i try to create Delivery doc for date 06/12
    it creates partially for line 1 and line 2.
    but my requirement is i wanted to create SO for only line item 1 as i wanted to process Del Doc for only line item 1.
    If you have any idea please help me.

    hi ,
    You can develop a customised FM to process the Idoc data .
    1. Read the Idoc data into internal table for the line items which need to be delivered .
    2. Run BDC for transaction 'VL01N' ( delivery creation ) through which  eliminate the line items which are not in internal table and save the delivery document
    Note : Because in VL01N , you specify the sales document with respect to which you want to perform delivery hence automatically all items are copied to the delivery document .
    During BDC recording , select items by " MOVING TO TOP"
    and then deleting the selected item
    If you face problem in BDC recording , i can help u that too .

  • I want a push button for line items in my sales order entry screen.

    Hi,
    I want a push button for line items in my sales order entry screen.
    How can I do so?
    Thanks.

    Hi Kumar ,
    To have a push buttons you need to first assign a pf-status .
    here a sample code for a push button and its handling :
      set pf-status 'SELECT' .
    at user-command .
      describe table t_lpr lines w_lines .
      case sy-ucomm .
        when 'SELECTALL' .
          set pf-status 'SELECT' excluding 'SELECTALL' immediately.
          do w_lines times .
            read line w_line field value w_check . " INTO W_CHECK .
            if w_check = space .
              w_check = 'X' .
              modify line w_line field value w_check.    "INTO W_CHECK .
              add 1 to w_line .
            endif .                        " IF W_CHECK = ' '
          enddo .
    Thus when you say pf-status say 'select' , Double click on that and you find a screen eher you can select icons and assign a function code to it!
    Hope it helps!
    Much Regards,
    Amuktha .

  • How to delete a line item from the sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi
    U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
    This is called short close ( as the qty is not delivered fully).
    Thx.

  • Sample Material in the 3rd Line item of the Sales Order

    Hi,
    We have configured the system in the sales order as follows.
    1. Commercial Material
    2. Bonus Material.(ie Free Material)
    Now, i want to add the 3rd line item in the sales order as Sample with different Material number. How go about this. kindly let me.
    Regards
    Ravi

    Hi there,
    Enter the material in the sales order & change the item catg manually in VA02.
    But free goods & sample materials are dealt differently..
    Freegoods is entered as TANN item catg along with nornam TAN item in standard order OR.
    But sample materials or free of charge items are processed through different order type FD for eg.
    Even thought the item catg proposed in FD is TANN,, the whole process will not have pricing as TANN items arenot relevant for pricing.
    Regards,
    Sivanand

  • Assign different ship to party for each material in a sales order in CRM?

    Hi all,
    I need to create a sales order in CRM, such that the sales order contains more than 100 materials at item level and each material should be shipped to a different ship to party.
    That is for 100 materials in sales order I need to ship to 100 different customers.
    The 100 ship to partyu2019s are maintained for the business partner in relation ships tab in /nBP.
    The CRM configuration is done in such a way that when we enter a material while creating a sales order in CRM,u2026u2026.a window pops up asking us to select the ship to party for that material.
    No I need to replicate this programmatically. I generated a sales order in CRM programmatically using BAPI_SLSTRANSACT_CREATEMULTI. u2026 Now I need to make changes such that I have a provision to assign ship to party for each materialu2026
    How can I do this? Can any one tell me if there is a BAPI or Function Module available so that I can assign a different ship to party for each material in sales order?
    Regards,
    Jessica Sam

    Here is sample code. In that highlighted portion is different. check this out
    DATA: ls_partner TYPE crmt_partner_com,
            ls_input_fields TYPE crmt_input_field,
            lt_fieldname TYPE crmt_input_field_names_tab,
            ls_fieldname LIKE LINE OF lt_fieldname.
      ls_partner-ref_handle = p_iv_handle.
      ls_partner-ref_partner_handle = 1.
      ls_partner-ref_kind = 'A'.
      ls_partner-display_type = 'BP'.
      ls_partner-no_type = 'BP'.
      ls_partner-kind_of_entry = 'C'.
    licensee
      ls_partner-partner_fct = '00000069'.
      ls_partner-partner_no = w_but000-partner.
      INSERT ls_partner INTO TABLE gt_partner.
    Bill to party
      IF NOT w_con_header-billtoparty IS INITIAL.
        ls_partner-partner_fct = '00000003'.
        ls_partner-partner_no = w_but001-partner.
        INSERT ls_partner INTO TABLE gt_partner.
      ENDIF.
      IF w_con_header-billtoparty IS INITIAL.
        ls_partner-partner_fct = '00000003'.
        ls_partner-partner_no = w_but000-partner.
        INSERT ls_partner INTO TABLE gt_partner.
      ENDIF.
    Employee
      ls_partner-partner_fct = '00000014'.
      ls_partner-partner_no = w_con_header-empresp.
      INSERT ls_partner INTO TABLE gt_partner.
      +*lsinput_fields-ref_handle = p_iv_handle.*+_
      +*lsinput_fields-ref_kind = 'A'.*+_
      ls_input_fields-logical_key = ls_partner-ref_partner_handle.
      ls_input_fields-objectname = 'PARTNER'.
      ls_fieldname-fieldname = 'DISPLAY_TYPE'.
      INSERT ls_fieldname INTO TABLE lt_fieldname.
      CLEAR ls_fieldname.
      ls_fieldname-fieldname = 'KIND_OF_ENTRY'.
      INSERT ls_fieldname INTO TABLE lt_fieldname.
      CLEAR ls_fieldname.
      ls_fieldname-fieldname = 'NO_TYPE'.
      INSERT ls_fieldname INTO TABLE lt_fieldname.
      CLEAR ls_fieldname.
      ls_fieldname-fieldname = 'PARTNER_FCT'.
      INSERT ls_fieldname INTO TABLE lt_fieldname.
      CLEAR ls_fieldname.
      ls_fieldname-fieldname = 'PARTNER_NO'.
      INSERT ls_fieldname INTO TABLE lt_fieldname.
      CLEAR ls_fieldname.
      ls_input_fields-field_names = lt_fieldname.
      INSERT ls_input_fields INTO TABLE gt_input_fields.

  • Change fpla-rfpln for each item in the user_exit_move_field_to_fpla

    Hi,
    I used VA41 transaction to create a sale order (auart = u201CXXXXu201D) and i would like assign in the u201Cuser_exit_move_field_to_fplau201D a calendar number (fpla-rfpln) in my sale document, for each items line.
    But the program is passed on the u201Cuser_exit_move_field_to_fplau201D only for the configurable post (vbap-posnr = u201800010u2019) !!!!
    How can i do to go in this USER_EXIT for all items line and assign a calendar number? It is possible???
    Thanks
    Titou.

    Hello Titou,
    I don't know for your special case (this transaction) but in a user exit you can have access to global variables by using field-synbols.
    Declare a constant like this:
    constants : c_program3(30) TYPE c VALUE '(NameOfTheProgram)t_data'.
    You can dynamic assign of fiel symbols to get this global variable in your user exit.
    field-symbols : <k> type any,
                    <l> type any.
      ASSIGN c_program3 TO <k>.
      ASSIGN (<k>) TO <l>.
      if <l> is assigned.
      endif.
    So if in your program you have the all your items stored in a global variable, you can then modify all of them.
    Hope it helps.
    Olivier

  • 1 line item in the sales order ship to different shipping address

    Hi,
    Our customer A have 3 different branches (meaning 3 different shipping address).
    During the creation of the sales order for 1 material A, I want to ship 50pc to this customer A:
    10pc to address A1
    20pc to address A2
    20pc to address A3
    In my sales order, is there a way I just create 1 line item with the order qty 50pc for this material A, but split into 3 schedule line with 3 different ship to address?
    I know there is alternate way where I create 3 different line item (with order qty 10, 20 and 20) and change the ship to address in the Item -> Partner tab. But using this method, I have to create 3 times of the same material in 1 sales order, just with the different shipping address.
    I want to know is there a way I just need to create 1 line item?
    Kindly please advise. Thank you.

    Hi there,
    When you have 3 different ship-to address, system will anyway create 3 different deliveries. This is coz if the header data in shipping (ship-to) is different, system will split the deliveries. Routes are different to 3 ship-to addresses & they cannot be combined in the same delivery.
    So as mentioned in above thread, create 3 different line items or create different sales orders all together for different ship-to parties.
    Regards,
    Sivanand

  • Re: Printing Cancelled line items in the sales order on the packing slip

    Hi gurus,
    Currently we have a unique requirement in our company. Our wholesale customers send the Purchase order to us via EDI. Now saw they have requested an order containing 10 materials out of which we can fulfill only 8. the other 2 due to some reasons cannot be fulfilled.
    So the business wants to keep the other 2 line items to be entered in the sales order with a cancelled status.
    Now correct me if I am wrong, only the confirmed line items will be copied from a sales order to a delivery document. So thats the reason why these cancelled line items cannot be printed on the packing slip.
    However somehow the business wants the packing slip tp have the 2 line items printed on it with the reason of not being delivered. this is to facilitate the customer to know why those items couln't be fulfilled by our company. Now we cannot use a manual work-around of letting the customer know about the impossibility of not fulfilling the other 2 items as there are a lot of orders that come thru EDI per day.
    Can anyone suggest a solution to this requirement asap.
    Thanks in advance
    Vinit

    Hi Vinit,
    This requirement makes a lot of sense, that is to be able to inform your customer that some item(s) of the sales order could not be delivered, not even partially.
    A possible solution would be to allow for zero quantity in the delivery item (check customizing and mark "zero quantity allowed" in the item category).
    Then in the packing split, it would be easy to print the delivered quantity (0) and the sales order quantity (whatever it was), because you have the "null" item available in the delivery.
    Personally I am not found of having have delivery items with zero quantity, but they are useful in that case, and they can also be useful to automatically "close" the sales order item (instead of having to do it manually if the goods can't be served).
    Note: Usually in Consumer Goods, if you can't serve part of a sales order to a customer, you have to close it, because the Retailer's next Sales Order will include the remaining quantity.
    Hope it helps.
    Best Regards,
    Franck Lumpe
    Freelance SAP ERP Consultant

  • Program for mass change in the sales order.

    Hi,
      I have a requirement where If we make changes in  the availability check rule of the material master(for e.g. 02 to 01),then the same rule should be changed in the sales order as well.
      Though this will be changed for the new orders but is there any program which we can run manually or in the background in order to make changes in the old sales orders.
    Regards
    Karan

    Hi,
            U cannot change checking group or checking rule for availabillity check at sales order level, u can change requirements type.
            If u want to change requirements type determined into sales orders, which  r already created go to t.code MASS and select the object type sales orders and press execute, select sales order item data on tables tab,and select requirements type on fields tab and press execute.specify sales documents number from and to and item numbers, and press execute and specify the new value and press carryout mass change button and then save.
    with regards,
    kirankumar vemula

  • Problem while creating new item in the sale order  in case of  Thirdparty

    Dear Gurus
    The following error is coming
    while adding the new item with quantity  in the sale order in case of third party  .
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Update key...   482ACBD89C7D0067E10080000A8C681C
    Can give any idea abt this.
    Rgds
    Surya

    Hi
    This error comes up due to number range problem in the
    tables.
    As you have said this is a third party Sales order, just check if this is relevant to the PR being generated or the Sales order getting created.
    Check the Current number of the PR document type in the EBAN table & check if it is the same for the Number ranges in customizingin OMH7.
    If they are not the same... & the current number in OMH7 is smaller than the Number in the table EBAN , you need to change the current number  equal to the EBAN table.
    If this is the case fior sales orders similarly check for Sales order table & sales order number range object.
    reward points if useful
    Thanks & Regards
    Kishore

  • Table for characteristics values in the sales order

    Hi Experts
    I am entering the characteristics values in the classification screen in the sales order.
    I want to capture the characteristics & values with reference to the individual sales order for reports.
    Please let me know the tables for the same as it doesn't get capture in the item table..
    Thanks
    Ganesh
    Edited by: jganesh on May 4, 2011 1:26 PM

    Hiii,
    you may use VELO01_GET_CONFIGURATION function module to pass VBAP-CUOBJ value
    Hope it will solve your problem.
    Regards
    Shambhu Sarkar

  • How to set command action for each item in the popupmenuimage

    Hi all,
    In my canvas application,i used images for popupmenu.Now i have to set command action for each item in that popupmenuimage.I dont know whether it is possible in canvas or not.Can anyone tell me the solution for this .
    Thanks,
    sourab

    Buttons is typical of a c/s application, or, in case of Web Forms, a Java applet. Instead of buttons, you have to use hyperlinks.
    See:
    http://otn.oracle.com/products/reports/htdocs/faq/faq_migration.htm#346
    The hyperlink wil have to be to a URL that does the insert in the table. This can be a mod_plsql procedure, for instance.

  • Tree OOPS ALV - Need to display header & items of the sales order in oops

    HI,
        I need to display some of the header fields of the sales order & items in the oops alv, could you please let me know how to achieve this. I know FM - 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' but how to achieve this through oops alv.
    Thanks

    it is not possible with that function in OO .
    you can try with class cl_salv_hierseq_table
    Just check this Rich's article
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0f03986-046c-2910-a5aa-e5364e96ea2c
    if you don't want that then you may have to use ALV tree.

  • HT1040 Is there a way to place an order with more than one item at a time? For example I am going to make a few books and have them all shipped to me.  Do I have to order and pay shipping for each one individually?

    Is there a way to place an order with more than one item at a time?  for example I am making a few books and having them all shipped to me.  Do I have to order each one separately and pay shipping each time?

    You have to order each book separately, if the books are different. Only multiple copies of the same book can be ordered in the same order, see here
    Regards
    Léonie

Maybe you are looking for