VBAP FIELD

hi,
i want to know the field in the table VBAP which do give the quantity of the material sold.
thanks in advance.

Hi
VBAP-KWMENG is the Order Qty
LIPS-LFIMG         is the Delivered Qty
VBRP-FKIMG      is the billed Qty.
If VBAP-KWMENG = LIPS-LFIMG means all the ordered qty is supplied and it will be billed with the samw qty in VBRP-FKIMG.
Reward points if useful
Regards
Anji

Similar Messages

  • Populate the KZWI1 to 6 fields (Sub-Total fields) in VBAP, in VA01

    Hello,
    Am looking to populate the KZWI1, KZWI2, KZWI3, KZWI4, KZWI5 and KZWI6 fields (Sub-Total fields) in VBAP, while in the process of creation of Sales Order - VA01.
    So, Is MOVE_FIELDS_TO_VBAP is a good/appropriate user-exit for me?
    Thank you.

    certainly userexit_move_field_to_vbap in MV45AFZZ will allow you to change the values of VBAP fields during order creation.
    I do have concerns about fields KZWI1 etc, as they are subtotal fields on the pricing conditions and consequently derived.
    But yes you should be able to change them here.

  • VA02 user exit - cannot update append structure field in XVBAP/VBAP

    Hi Guys,
    I am currently using one of the many user exits in updating XVBAP to update the VBAP sap table in VA02.
    However I am encountering a problem when updating a customized append structure field. When I change the value of the append structure field only it doesnt update in VBAP upon save event. Only when I also change a sap standard field (ARKTX) the append structure gets updated.
    Is there a way to resolve this wherein even if I just XVBAP-<append structure field> only ... the corresponding field in VBAP gets updated?
    THanks guys and hope to hear from you soon.

    Hi,
    Which userexit subroutine are you using to move the append structure field values to the XVBAP table?  Are you having the user enter values on a screen during VA02 for the append structure fields, or are you setting those values within the code when the user saves?  For the purposes of this response, I will assume you are not having the user enter the values, and that (from what you have described) you are using subroutine userexit_move_field_to_vbap. 
    While userexit_move_field_to_vbap sounds logical at first, you should be aware that this subroutine (which is called at the end of module vbap_fuellen) may only be called when one of the chain fields (in the flow logic of the VA02 screen) is changed.  If you search for all the calls of module vbap_fuellen in screens of SAPMV45A, you will see that most of them have a list of chain fields with "on chain-request" logic.  Since your append structure fields will not be listed in the flow logic of the standard VA02 screen, changing one of the append structure fields alone would not trigger the PAI module vbap_fuellen.  Of course, changing a standard VBAP field (ARKTX was your example) could trigger the vbap_fuellen module (as long as it was one of the chain fields) which would consequently trigger the userexit_move_field_to_vbap subroutine.
    You may want to consider trying USEREXIT_SAVE_DOCUMENT_PREPARE.  Please explain further if I have misunderstood your question. 
    Anyone else out there have any ideas?  Does my analysis make any sense?
    Best Regards,
    Jamie

  • How to make a field profit center mandatory in sales order?

    Dear GURUS,
    Please help in getting answer for following question.
    How to make a field profit center mandatory in sales order?
    With Regards
    Sandeep D.

    Hi,
    There are 2 ways to make profit center mandatory
    1.Transaction Variant
    2.Incompletion procedure
    1.Transaction Variant
    Step 1:Goto Tcode shd0 and input transaction as va01 and give name of transaction variant as ( example. zva01 ) and click on create or F5
    Step 2.Then it takes you to sales order screen.Just click on enter untill you see profit center field.
    Step 3.check the box required against profit center.
    Step 4.click on save ( under a package name or as local object ) and exit
    Step 5.Assign transaction variant to your sales order type through tcode v0v8.
    2.Incompletion Procedure
    You can add the field  table-vbap,field- prctr,status-04,check-warning to your existing incompletion procedure Tcode- ova2 assigned to your order type in tcode vov8  and check the box - incomplete messeges for your order type through tcode vov8.
    If incompletion procedure is not assigned to your order type than you have to create a new incompletion procedure and assign it to order type.

  • Add field 'asset' in sales order line item account assignment tab

    Hi,
    I would like to add the following field: 'asset' in sales order line item account assignment tab.
    I can enter order, or wbs, but not Asset.
    How can I make this field visable?
    Anybody?
    thanks,
    klundert
    Edited by: Eric Van Zundert on Oct 30, 2010 8:43 AM

    Hi
    There is perform which moves the values to VBAP field.
    This PRCTR field is stored in VBAP (i.e., SO line item table)
    USEREXIT_MOVE_FIELD_TO_VBAP
    Hope it works.
    VVR

  • CO-PA Value Field from Sales Document: Item Data

    Hi,
    I need to see a field from sales document.
    This field is "volume" and it is in table VBAP, field VOLUM.
    Can any body give a hint how should I configure the system to get data on a value field if I want to run a report?
    Thanks
    G

    Try creating a characteristic from VBAP. KEA5 is the tcode. Create a new characteristics from table VBAP and pick VOLUM. Then it will be availble for u in COPA.

  • Develop a form and print program using VBAP, VBAK, MRKT.

    I have 2 tables VBAK [fields: VBELN, ERDAT, ERNAM, AUDAT, VBTYP, VKORG] and VBAP [Fields: POSNR, MATNR, CHARG, WAERK] and In output(form) i need the following fields,
    Output table:
    -VBELN
    -ERDAT
    -VKORG
    -POSNR
    -MATNR
    -MAKTX <- this field is from table MAKT. (I need the Material descriptions too for all the materials.)
    Form Layout should have Header, Logo (SAP ENJOY), Main, Footer.
    Problem is that i need footer only after the End of Complete data in Main Window, thats is footer should be placed only in last window. How should i do that ?
    Logic which i thot to make the print program is : First declare an internal table itab1 with VBAP, VBAP using the above fields from two tables and fetch the product based on matnr.
    declare one internal table itab2 and select the records from the table makt by checking the condition itab1 is not initial.
    sample code.
    IF ITAB1 IS NOT INITIAL.
    SELECT FIELD LIST FROM MAKT INTO TABLE ITAB2 WHERE MATNR EQ ITAB1-MATNR.
    ENDIF.
    hope this shuld work. ?????

    Hi
    see the sample script program and do accordingly
    *& Report  ZTEST12121
    *& SAPScripts Example 1
    REPORT  ztest12121.
    *DATABASE TABLES
    TABLES: ekko,ekpo,lfa1.
    *INTERNAL TABLES AND STRUCTURES
    DATA i_ekko LIKE ekko.
    DATA i_ekpo LIKE ekpo OCCURS 0 WITH HEADER LINE.
    DATA i_lfa1 LIKE lfa1.
    *PARAMETERS
    PARAMETERS: p_ebeln LIKE ekko-ebeln.
    *VARIABLES
    DATA MAT TYPE STRING VALUE 'MAT NO'.
    DATA iTe TYPE STRING VALUE 'ITEM NO'.
    DATA QTY TYPE STRING VALUE 'QTY'.
    DATA UOM TYPE STRING VALUE 'UOM'.
    DATA NET TYPE STRING VALUE 'NET PRICE'.
    Data var type integer value 0.
    *DATABASE SELECTS
    *Header data
    SELECT SINGLE * FROM ekko INTO i_ekko WHERE ekko~ebeln = p_ebeln.
    IF sy-subrc = 0.
    *Item Data
      SELECT * FROM ekpo INTO  TABLE i_ekpo WHERE ekpo~ebeln = p_ebeln.
      IF sy-subrc NE 0.
        WRITE 'PURCHASE DOCUMENT ITEM DATA ERROR'.
      ELSE.
    *Vendor Details
        SELECT SINGLE * FROM lfa1 INTO i_lfa1 WHERE lfa1~lifnr = i_ekko-lifnr.
        IF sy-subrc NE 0.
          WRITE 'VENDOR DOCUMENT ITEM DATA ERROR'.
        ENDIF.
      ENDIF.
    ELSE.
      WRITE 'THIS PURCHASE DOCUMENT NUMBER DOESNOT EXISTS'.
    ENDIF.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
      APPLICATION                       = 'TX'
      ARCHIVE_INDEX                     =
      ARCHIVE_PARAMS                    =
      DEVICE                            = 'PRINTER'
      DIALOG                            = 'X'
        form                              = 'ZSCRIPT_1'
        language                          = sy-langu
      OPTIONS                           =
      MAIL_SENDER                       =
      MAIL_RECIPIENT                    =
      MAIL_APPL_OBJECT                  =
      RAW_DATA_INTERFACE                = '*'
      SPONUMIV                          =
    IMPORTING
      LANGUAGE                          =
      NEW_ARCHIVE_PARAMS                =
      RESULT                            =
    EXCEPTIONS
      CANCELED                          = 1
      DEVICE                            = 2
      FORM                              = 3
      OPTIONS                           = 4
      UNCLOSED                          = 5
      MAIL_OPTIONS                      = 6
      ARCHIVE_ERROR                     = 7
      INVALID_FAX_NUMBER                = 8
      MORE_PARAMS_NEEDED_IN_BATCH       = 9
      SPOOL_ERROR                       = 10
      CODEPAGE                          = 11
      OTHERS                            = 12
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'OFFICEAD'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'OFFICEAD'
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'PODET'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'PODET'
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'TOP'
       FUNCTION                       = 'SET'
       TYPE                           = 'TOP'
       WINDOW                         = 'MAIN'
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT I_EKPO.
    var = i_ekpo-netpr * i_ekpo-menge.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'BODY'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDLOOP.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
    TABLES
      OTFDATA                        =
    EXCEPTIONS
      UNOPENED                       = 1
      BAD_PAGEFORMAT_FOR_PRINT       = 2
      SEND_ERROR                     = 3
      SPOOL_ERROR                    = 4
      CODEPAGE                       = 5
      OTHERS                         = 6
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Structure of a print program
    OPEN_FORM function
    CLOSE_FORM function
    WRITE_FORM
    START_FORM function
    END_FORM function
    CONTROL_FORM function
    The print program is used to print forms. The program retieves the necesary data from datbase tables, defines the order of in which text elements are printed, chooses a form for printing and selects an output device and print options.
    Function modules in a printprogram:
    • When you print a form you must used the staments OPEN_FORM and CLOSE_FORM. To combine forms into a single spool request use START_FORM and END_FORM.
    • To print textelements in a form use WRITE_FORM. The order in which the textelements are printed, is determined by the order of the WRITE_FORM statements. Note: for printing lines in the body, you can also use the WRITE_FORM_LINES function module.
    • To transfer control command to a form use CONTROL_FORM.
    Structure of a print program
    Read data
    Tables: xxx.
    SELECT *
    FROM xxx.
    Open form printing - Must be called before working with any of the other form function modules.
    Must be ended with function module CLOSE FORM
    call function 'OPEN_FORM'.....
    To begin several indentical forms containing different data within a single spool request, begin each form using START_FORM, and end it using END_FORM
    call funtion 'START_FORM'.....
    Write text elements to a window of the form
    call function 'WRITE_FORM'.....
    Ends spool request started with START_FORM
    call funtion 'END_FORM'.....
    Closes form printing
    call function 'CLOSE_FORM'...
    OPEN_FORM function
    Syntax:
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    APPLICATION = 'TX'
    ARCHIVE_INDEX =
    ARCHIVE_PARAMS =
    DEVICE = 'PRINTER'
    DIALOG = 'X'
    FORM = ' '
    LANGUAGE = SY-LANGU
    OPTIONS =
    MAIL_SENDER =
    MAIL_RECIPIENT =
    MAIL_APPL_OBJECT =
    RAW_DATA_INTERFACE = '*'
    IMPORTING
    LANGUAGE =
    NEW_ARCHIVE_PARAMS =
    RESULT =
    EXCEPTIONS
    CANCELED = 1
    DEVICE = 2
    FORM = 3
    OPTIONS = 4
    UNCLOSED = 5
    MAIL_OPTIONS = 6
    ARCHIVE_ERROR = 7
    INVALID_FAX_NUMBER = 8
    MORE_PARAMS_NEEDED_IN_BATCH = 9
    SPOOL_ERROR = 10
    OTHERS = 11
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Some important parameters:
    FORM Name of the form
    DEVICE • PRINTER : Print output using spool
    • TELEFAX: Fax output
    • SCREEN: Output to screen
    OPTIONS Used to control attrubutes for printing or faxing (Number of copies, immediate output....
    The input for the parameter is structure ITCPO.
    CLOSE_FORM function
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT =
    RDI_RESULT =
    TABLES
    OTFDATA =
    EXCEPTIONS
    UNOPENED = 1
    BAD_PAGEFORMAT_FOR_PRINT = 2
    SEND_ERROR = 3
    SPOOL_ERROR = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Paramerters:
    RESULT Returns status information and print/fax parameters after the form has been printed. RESULT is of structure ITCPP.
    WRITE_FORM function
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = ' '
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    IMPORTING
    PENDING_LINES =
    EXCEPTIONS
    ELEMENT = 1
    FUNCTION = 2
    TYPE = 3
    UNOPENED = 4
    UNSTARTED = 5
    WINDOW = 6
    BAD_PAGEFORMAT_FOR_PRINT = 7
    SPOOL_ERROR = 8
    OTHERS = 9
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Some important parameters:
    ELEMENT Specifies which textelement is printed
    WINDOW Specifies which window is printed
    TYPE Specifies the output area of the main window. This can be:
    • TOP - Used for headers
    • BODY
    • BOTTOM - Used for footers
    FUNCTION Specifies whether text is to be appended, replaced or added
    Example of how to use the WRITE_FORM function module together with a script.
    Form layout of the MAIN window
    /E INTRODUCTION
    Dear Customer
    /E ITEM_HEADER
    IH Carrier, Departure
    /E ITEM_LINE
    IL &SBOOK-CARRID&, &SPFLI-DEPTIME&
    /E CLOSING_REMARK
    The print program
    Writing INTRODUCTION
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'INTRODUCTION'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    EXCEPTIONS
    OTHERS = 8
    Writing ITEM_HEADER
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'ITEM_HEADER'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    EXCEPTIONS
    OTHERS = 8
    Set ITEM_HEADER into TOP area of main window for subsequent pages
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'ITEM_HEADER'
    FUNCTION = 'SET'
    TYPE = 'TOP'
    WINDOW = 'MAIN'
    EXCEPTIONS
    OTHERS = 8
    Write ITEM_LINE
    LOOP AT .....
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'ITEM_LINE'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    EXCEPTIONS
    OTHERS = 8.
    ENDLOOP.
    Delete ITEM_HEADER from TOP area of main window
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'ITEM_HEADER'
    FUNCTION = 'DELETE'
    TYPE = 'TOP'
    WINDOW = 'MAIN'
    EXCEPTIONS
    OTHERS = 8
    Print CLOSING_REMARK
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'CLOSING_REMARK'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    EXCEPTIONS
    OTHERS = 8
    START_FORM function
    CALL FUNCTION 'START_FORM'
    EXPORTING
    ARCHIVE_INDEX =
    FORM = ' '
    LANGUAGE = ' '
    STARTPAGE = ' '
    PROGRAM = ' '
    MAIL_APPL_OBJECT =
    IMPORTING
    LANGUAGE =
    EXCEPTIONS
    FORM = 1
    FORMAT = 2
    UNENDED = 3
    UNOPENED = 4
    UNUSED = 5
    SPOOL_ERROR = 6
    OTHERS = 7
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    END_FORM function
    CALL FUNCTION 'END_FORM'
    IMPORTING
    RESULT =
    EXCEPTIONS
    UNOPENED = 1
    BAD_PAGEFORMAT_FOR_PRINT = 2
    SPOOL_ERROR = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CONTROL_FORM function
    The CONTROL_FORM function module alows you to create SapScript control statements from within an APAB program.
    Syntax:
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    command =
    EXCEPTIONS
    UNOPENED = 1
    UNSTARTED = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Example:
    Protecting the text element ITEM_LINE
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    COMMAND = 'PROTECT'.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    TEXELEMENT = 'ITEM_LINE'.
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    COMMAND = 'ENDPROTECT'.
    Regards
    Anji

  • Show NUMC Type Field with Zeros in SE16

    Hi.
    Is there any way to show a field of numc type (length 9) with zeros when is shown in SE16???

    Hi
    I am not clear with your question?
    Just check the table entries in VBAP
    fields VBELN  which is of CHAR 10 and
    POSNR which of NUMC 6
    For both the fields the leading zeros are displayed in SE16
    just check it.
    so what's your question?
    Reward points if useful
    Regards
    Anji

  • BAPI SALES ORDER CHANGE CUSTOM FIELD

    Hello Gurus,
    I am trying to update a custom field for sales order. The field name is zfield1 in vbak. The field is added to vbakkom, vbakkomx, vbakkoz, vbakkozx, BAPE_VBAK, BAPE_VBAKX. I guess i need to use the EXTENSIONIN table to populate this field's values to change it with the BAPI. But I not sure exactly how to populate the fields. Can someone tell me how exactly i need to do this?
    Also the documentation says fill Extensionin this way.
    STRUCTURE VALUEPART1 1234561234567890123
    BAPE_VBAP 0000004711000020 XYZ
    BAPE_VBAPX 0000004711000020 X
    What is the 1234561234567890123? Is it a field?
    Thanks,
    KB

    Hi,
    Check this example..I am updating the VBAP field..Instead you can replace it for VBAK..
    PARAMETERS: P_VBELN TYPE VBAK-VBELN.
    DATA: T_LINE LIKE BAPISDITM OCCURS 0 WITH HEADER LINE.
    DATA: T_LINEX LIKE BAPISDITMX OCCURS 0 WITH HEADER LINE.
    DATA: T_EXTEN LIKE BAPIPAREX OCCURS 0 WITH HEADER LINE.
    DATA: T_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA: BAPE_VBAP LIKE BAPE_VBAP.
    DATA: BAPE_VBAPX LIKE BAPE_VBAPX.
    DATA: ORDER_HEADERX LIKE BAPISDH1X.
    ORDER_HEADERX-UPDATEFLAG = 'U'.
    T_LINE-ITM_NUMBER = '000010'.
    APPEND T_LINE.
    T_LINEX-ITM_NUMBER = '000010'.
    T_LINEX-UPDATEFLAG = 'U'.
    APPEND T_LINEX.
    BAPE_VBAP-VBELN = P_VBELN.
    BAPE_VBAP-POSNR = '000010'.
    <b>BAPE_VBAP-<b>YYFREETEXT</b> = '02'.</b>
    T_EXTEN-STRUCTURE = 'BAPE_VBAP'.
    T_EXTEN+30 = BAPE_VBAP.
    APPEND T_EXTEN.
    BAPE_VBAPX-VBELN = P_VBELN.
    BAPE_VBAPX-POSNR = '000010'.
    <b>BAPE_VBAPX-YYFREETEXT = 'X'.</b>
    T_EXTEN-STRUCTURE = 'BAPE_VBAPX'.
    T_EXTEN+30 = BAPE_VBAPX.
    APPEND T_EXTEN.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = p_vbeln
    order_header_inx = ORDER_HEADERX
    tables
    return = T_RETURN
    ORDER_ITEM_IN = T_LINE
    ORDER_ITEM_INX = T_LINEX
    EXTENSIONIN = T_EXTEN.
    COMMIT WORK.
    Thanks,
    Naren

  • COPA charaterstic Origin table& field Changes

    Dear All,
    Iam facing the problem to change COPA characterstic origin table &field,
    Actually this characterstics (WWFSR) was already created with table VBKD, field POSEX_E, now Client want to change this characterstic with table VBAP, Field POSEX
    Please let me know, how to change the table and field for already created and saved characterstics in COPA ?

    Hi Rupali,
    I am very much sure that when there is WW characteristics, you need to go with Table Lookup under KEDR. But, if the desired combination of source/ origin and targets are not available there, we need to go with user exit. Take a help of your ABAP Consultant for user exit.
    Thanks & Regards,
    Robin

  • Schedule Line Cat and Passing of Reqs:  Credit Hold Situation

    Business need is for orders that are on credit hold to not pass requirements to create a purchase req. after MRP is executed. I realize that this can be controlled by the Schedule Line Category. So, I would have schedule line category of “XX” on the sales order line. Is there a way for the schedule line category to be changed to a different value (which will allow the passing of requirements to MRP) after the order is released from Credit Hold? How do we get the schedule line category to change on the sales order once the order is removed from credit hold? Can this be accomplished through standard configuration?

    Hi Tom,
      You can use the reason for rejection at the item level.
      But for this you have to maintain somne configuration.Goto sprosd-sales-sales document item--define reson for rejection.
      Here for a particular reason for rejection just put tick under blc column.
      This means the order doesn't require billing.
      Now put the same reason for rejection in your item level.The status of the order would change from open to completed.
      Completed status means that there are no requirements left for this order.
      There will be no requirements in MD04 as well.
      When you want to process the order again just remove the reson for rejection and proceed.
      But there is one problem with this solution.In future if you want to find this order in VA05 ,it will not appear because the status is completed.It would be difficult to find the orders where you put the reason for rejection.
    The only way to find those orders is thru tables.
    Goto SE16 and table VBAP .field is ABGRU.
    In the selectio screen of VBAP put ABGRU and you will get all the orders.
    Reward points if it helps
    Regards
    Karan
    Message was edited by:
            Karan Bhatia

  • Remote Client copy issues

    Hi,
    I have performed a remoted client copy of ECP300 to ECQ system using
    SAP_ALL Profile and the client copied successfully. After the client
    copy some users are complainting that not all data moved over or there
    are some major differences. I know the client copy finished but the
    users are saying the client copy is not a exact copy of ECP.Are there
    any functional or abap post configuration that needs to happen after
    this remote client copy? From the client copy logs, it seem like all
    the tables got copied over. Please advise as this is very critical.
    I have attached 2 issues reported by users and the client copy log with
    details. I have also attached the data dictionary differences of the 2
    system ECP and ECQ using SCC9 --> RFC SYSTEM COMPARISON.
    Target Client                220
    Source Client (incl. Auth.)  265
       Source Client User Master 265
    Copy Type                    Local Copy
    Profile                      SAP_ALL
    Status                       Successfully Completed
    User                         SAP*
    Start on                     01/07/2011 / 23:16:01
    Last Entry on                01/08/2011 / 03:53:31
    Statistics for this Run
    - No. of Tables                  56787 of     56787
    - Number of Exceptions               1
    - Deleted Lines                  11478
    - Copied Lines               152345539
    /ISDFPS/CS_EXLST     Field Missing Remote     IS-DFS-MM     /ISDFPS/MM_CS     SAP     TRANSP          Exception List: Overwritten Purchase Requisitions     SAPKGED04G
    /SAPMP/GT_FDE_T1     Table Missing Remote     IS-MP     /SAPMP/FAST_DATA_ENTRY_GEN_APP     SAP     TRANSP          IMG: Fast Entry in Trading Contract General Settings     SAPK-603DDINECCDIMP
    /SAPMP/GT_FDE_T2     Table Missing Remote     IS-MP     /SAPMP/FAST_DATA_ENTRY_GEN_APP     SAP     TRANSP          Fast Entry in Trading Contract: Transfer from Info Record     SAPK-603DDINECCDIMP
    AD01DLI     Field Missing Remote     PS-REV     AD01     SAP     TRANSP          Dynamic items (DI)     
    ADPIC_MIGO_SET     Table Missing Remote     IS-AD-MPN     ADPIC     SAP     TRANSP          Customizing Settings for MIGO     SAPK-603DDINECCDIMP
    ADPIC_MIGO_USR     Table Missing Remote     IS-AD-MPN     ADPIC     SAP     TRANSP          Customizing Settings for MIGO     SAPK-603DDINECCDIMP
    MPDCD     Field Missing Remote     IS-AD-MPD     AD_MPD     SAP     TRANSP          MPD: OBSOLETE - Counter Data for Maintenance Document Items     SAPK-603DDINECCDIMP
    MPDCUST_DATA_FLG     Table Missing Remote     IS-AD-MPD     AD_MPD     SAP     TRANSP          Customising table to store the data container flag     SAPK-603DDINECCDIMP
    MPDCUST_EFFT_DOC     Table Missing Remote     IS-AD-MPD     AD_MPD     SAP     TRANSP          Customising table to store effectivity data for documents     SAPK-603DDINECCDIMP
    MPDCUST_EFFT_TO     Table Missing Remote     IS-AD-MPD     AD_MPD     SAP     TRANSP          Cust. table to store effectivity data from technical objects     SAPK-603DDINECCDIMP
    MPDCYCLE     Table Missing Remote     IS-AD-MPD     AD_MPD     SAP     TRANSP          MPD: Cycle Data for Maintenance Document Items     SAPK-603DDINECCDIMP
    MPDEFFECT     Table Missing Remote     IS-AD-MPD     AD_MPD     SAP     TRANSP          MPD effectivity data     SAPK-603DDINECCDIMP
    MPDITEM     Table Missing Remote     IS-AD-MPD     AD_MPD     SAP     TRANSP          Maintenance Plan Items     SAPK-603DDINECCDIMP
    MPDPSD     Field Missing Remote     IS-AD-MPD     AD_MPD     SAP     TRANSP          MPD: MPD and MP header data     SAPK-603DDINECCDIMP
    ADMPN_RBA_CGRP     Table Missing Remote     IS-AD-MPN     AD_MPN_RBA_DDIC     SAP     TRANSP          Check Groups for APO ATP     SAPK-603DDINECCDIMP
    TMCNV     Convertible -> Local     CA-GTF-TS     BMG     SAP     TRANSP          Data on Material Numbers Conversion     
    CRFH     Field Missing Remote     PP-BD-PRT     CF     SAP     TRANSP          CIM production resource/tool master data     
    CKIS     Field Missing Remote     CO-PC-PCP     CK     SAP     TRANSP          Items Unit Costing/Itemization Product Costing     
    KALM     Field Missing Remote     CO-PC-PCP     CK     SAP     TRANSP          Costing Run: Costing Objects     
    KEKO     Field Missing Remote     CO-PC-PCP     CK     SAP     TRANSP          Product Costing - Header Data     
    MLCR     Field Missing Remote     CO-PC-ACT     CKML     SAP     TRANSP          Material Ledger Document: Currencies and Values     
    VSAFKO_CN     Field Missing Remote     PS-SIM     CNVS     SAP     TRANSP          Version: Order header data for PP orders     
    VSAFPO_CN     Field Missing Remote     PS-SIM     CNVS     SAP     TRANSP          Version: Order items in PP orders     
    VSAFVC_CN     Field Missing Remote     PS-SIM     CNVS     SAP     TRANSP          Version: Operation in order     
    VSAUFK_CN     Field Missing Remote     PS-SIM     CNVS     SAP     TRANSP          Version: Order master data     SAPK-603DDINSAPAPPL
    VSFPLT_CN     Field Missing Remote     PS-SIM     CNVS     SAP     TRANSP          Version: Billing schedule: Dates     
    VSPLAF_CN     Field Missing Remote     PS-SIM     CNVS     SAP     TRANSP          Version: Planned order     
    VSRESB_CN     Field Missing Remote     PS-SIM     CNVS     SAP     TRANSP          Version: Reservation/Dependent requirements     
    VSRSADD_CN     Field Missing Remote     PS-SIM     CNVS     SAP     TRANSP          Version: Additional fields for reservation     
    VSVBAK_CN     Field Missing Remote     PS-SIM     CNVS     SAP     TRANSP          Version: Sales document: Header data     
    VSVBAP_CN     Field Missing Remote     PS-SIM     CNVS     SAP     TRANSP          Version: Sales document: Item data     
    RSADD     Field Missing Remote     PS-MAT     CN_MAT     SAP     TRANSP          Additional fields for reservation     
    TCNTM05     Field Missing Remote     PS-ST-OPR-NET     CN_NET_OPR     SAP     TRANSP          Assignment Components to Groups     
    AFKO     Field Missing Remote     PP-SFC     CO     SAP     TRANSP          Order header data PP orders     
    AFPO     Field Missing Remote     PP-SFC     CO     SAP     TRANSP          Order item     
    AFVC     Field Missing Remote     PP-SFC     CO     SAP     TRANSP          Operation within an order     SAPK-603DDINSAPAPPL
    AFFW     Field Missing Remote     PP-SFC-EXE-CON     CORU     SAP     TRANSP          Goods Movements with Errors from Confirmations     
    AFRU     Field Missing Remote     PP-SFC-EXE-CON     CORU     SAP     TRANSP          Order Confirmations     SAPK-603DDINSAPAPPL
    AFRV     Field Missing Remote     PP-SFC-EXE-CON     CORU     SAP     TRANSP          Confirmation pool     
    PLPO     Field Missing Remote     PP-BD-RTG     CP     SAP     TRANSP          Task list - operation/activity     
    STPO     Field Missing Remote     LO-MD-BOM     CS     SAP     TRANSP          BOM item     
    T414     Field Missing Remote     LO-MD-BOM     CS     SAP     TRANSP          Explosion Types     
    CJITO_02     Table Missing Remote     IS-A-JIT     DI_JITOUT     SAP     TRANSP          Customizing Table for Definition of Tolerances     SAPK-603DDINECCDIMP
    CJITO_02T     Table Missing Remote     IS-A-JIT     DI_JITOUT     SAP     TRANSP          Text Table to Define the Tolerances     SAPK-603DDINECCDIMP
    JITOCO     Field Missing Remote     IS-A-JIT     DI_JITOUT     SAP     TRANSP          Call Components JIT Outbound     SAPK-603DDINECCDIMP
    S2L_GLOBAL_DATA     Field Missing Remote     IS-A-S2L     DI_S2L     SAP     TRANSP          User-specific Save for Global Settings     SAPK-603DDINECCDIMP
    LFA1     Field Missing Remote     FI     FBASCORE     SAP     TRANSP          Vendor Master (General Section)     
    KNKK     Field Missing Remote     FI-AR-AR     FBD     SAP     TRANSP          Customer master credit management: Control area data     
    VIMI01     Field Missing Remote     RE     FVVI     SAP     TRANSP          Rental unit - Master data     
    VIOB01     Field Missing Remote     RE     FVVI     SAP     TRANSP          Business entities     
    VIOB02     Field Missing Remote     RE     FVVI     SAP     TRANSP          Property master data     
    VIOB03     Field Missing Remote     RE     FVVI     SAP     TRANSP          Real estate building master     
    VIOB27     Field Missing Remote     RE     FVVI     SAP     TRANSP          Relationship between properties and buildings     
    VIOB38     Field Missing Remote     RE     FVVI     SAP     TRANSP          Relationship between Real Estate objects and SAP-PS     
    PEG_TXPT     Field Missing Remote     IS-AD-GPD     GPD     SAP     TRANSP          Pegging: Record of intransit stock in cross plant transfers     SAPKGES01G
    VEKP     Field Missing Remote     LO-HU-BF     HANDLING_UNITS     SAP     TRANSP          Handling Unit - Header Table     
    EQUI     Field Missing Remote     PM-EQM-EQ     IEQM     SAP     TRANSP          Equipment master data     SAPK-603DDINSAPAPPL
    EQUZ     Field Missing Remote     PM-EQM-EQ     IEQM     SAP     TRANSP          Equipment time segment     
    MHIO     Field Missing Remote     PM-PRM-TL     IPRM     SAP     TRANSP          Call Object from Maintenance Order     
    MHIS     Field Missing Remote     PM-PRM-TL     IPRM     SAP     TRANSP          Maintenance plan history     
    EQBS     Field Missing Remote     LO-MD-SN     IQSM     SAP     TRANSP          Serial Number Stock Segment     
    OBJK     Field Missing Remote     LO-MD-SN     IQSM     SAP     TRANSP          Plant Maintenance Object List     SAPK-603DDINSAPAPPL
    SER01     Field Missing Remote     LO-MD-SN     IQSM     SAP     TRANSP          Document Header for Serial Numbers for Delivery     
    SER02     Field Missing Remote     LO-MD-SN     IQSM     SAP     TRANSP          Document Header for Serial Nos for Maint.Contract (SD Order)     
    T377X     Field Missing Remote     LO-MD-SN     IQSM     SAP     TRANSP          Documents Allowed for Serial Number Management     
    CJIT01     Field Missing Remote     IS-A-JIT     ISAUTO_JIT     SAP     TRANSP          JIT: Call Control     SAPK-603DDINECCDIMP
    VLCADDCUST     Table Missing Remote     IS-A-VMS     ISAUTO_VLC     SAP     TRANSP          VELO: Table for VMS additional end customer     SAPK-603DDINECCDIMP
    AFIH     Field Missing Remote     PM-WOC-MO     IWO1     SAP     TRANSP          Maintenance order header     
    AUFM     Field Missing Remote     PM-WOC-MO     IWO1     SAP     TRANSP          Goods movements for order     
    AUFK     Field Missing Remote     CO-OM-OPA     KAUF     SAP     TRANSP          Order master data     SAPK-603DDINSAPAPPL
    CEZP     Field Missing Remote     CO-PC-OBJ-PER     KKPK     SAP     TRANSP          Reporting Points Line Items     
    CPZP     Field Missing Remote     CO-PC-OBJ-PER     KKPK     SAP     TRANSP          Reporting Points - Periodic Totals Values     
    PABHD     Field Missing Remote     PP-KAB     LAPA     SAP     TRANSP          JIT call header record     
    PABIT     Field Missing Remote     PP-KAB     LAPA     SAP     TRANSP          JIT call items     
    LTAK     Field Missing Remote     LE-WM     LVS     SAP     TRANSP          WM transfer order header     
    ASMD     Field Missing Remote     MM-SRV     MASB     SAP     TRANSP          Service Master: Basic Data     
    CHVW     Field Missing Remote     MM-IM     MB     SAP     TRANSP          Table CHVW for Batch Where-Used List     
    ISEG     Field Missing Remote     MM-IM     MB     SAP     TRANSP          Physical Inventory Document Items     
    MKPF     Field Missing Remote     MM-IM     MB     SAP     TRANSP          Header: Material Document     
    MSEG     Field Missing Remote     MM-IM     MB     SAP     TRANSP          Document Segment: Material     
    RESB     Field Missing Remote     MM-IM     MB     SAP     TRANSP          Reservation/dependent requirements     SAPK-603DDINSAPAPPL
    MCIPMIS     Field Missing Remote     PM-IS-REP     MCI     SAP     TRANSP          PMIS: Master data characteristics for PMIS before image     
    MDTB     Field Missing Remote     PP-MRP-BD     MD     SAP     TRANSP          MRP Table     
    PLAF     Field Missing Remote     PP-MRP-BD     MD     SAP     TRANSP          Planned order     
    PKHD     Field Missing Remote     PP-KAB     MD05     SAP     TRANSP          Control Cycle     SAPK-603DDINSAPAPPL
    TPK02     Field Missing Remote     PP-KAB     MD05     SAP     TRANSP          Key for Controlling Control Cycle: External Replenishment     SAPK-603DDINSAPAPPL
    T459K     Field Missing Remote     PP-MP-DEM     MDPB     SAP     TRANSP          Control table for customer requirements     
    EBAN     Field Missing Remote     MM-PUR     ME     SAP     TRANSP          Purchase Requisition     SAPK-603DDINSAPAPPL
    EKBE     Field Missing Remote     MM-PUR     ME     SAP     TRANSP          History per Purchasing Document     
    EKBEH     Field Missing Remote     MM-PUR     ME     SAP     TRANSP          Removed PO History Records     
    EKEK     Field Missing Remote     MM-PUR     ME     SAP     TRANSP          Header Data for Scheduling Agreement Releases     
    EKES     Field Missing Remote     MM-PUR     ME     SAP     TRANSP          Vendor Confirmations     
    EKET     Field Missing Remote     MM-PUR     ME     SAP     TRANSP          Scheduling Agreement Schedule Lines     
    EKKO     Field Missing Remote     MM-PUR     ME     SAP     TRANSP          Purchasing Document Header     
    EKPO     Field Missing Remote     MM-PUR     ME     SAP     TRANSP          Purchasing Document Item     
    EKRS     Field Missing Remote     MM-PUR     ME     SAP     TRANSP          ERS Procedure: Goods (Merchandise) Movements to be Invoiced     
    MARA     Field Missing Remote     LO-MD-MM     MG     SAP     TRANSP          General Material Data     
    MARC     Field Missing Remote     LO-MD-MM     MG     SAP     TRANSP          Plant Data for Material     SAPK-603DDINSAPAPPL
    MARM     Field Missing Remote     LO-MD-MM     MG     SAP     TRANSP          Units of Measure for Material     
    MCH1     Field Missing Remote     LO-MD-MM     MG     SAP     TRANSP          Batches (if Batch Management Cross-Plant)     
    MCHA     Field Missing Remote     LO-MD-MM     MG     SAP     TRANSP          Batches     
    MVKE     Field Missing Remote     LO-MD-MM     MG     SAP     TRANSP          Sales Data for Material     
    T130F     Field Missing Remote     LO-MD-MM     MG     SAP     TRANSP          Field attributes     
    T134     Field Missing Remote     LO-MD-MM     MG     SAP     TRANSP          Material Types     
    MVRA     Field Missing Remote     LO-MD-MM     MGVERS     SAP     TRANSP          Cross-version fields for MARA     SAPKGES01G
    MVRC     Field Missing Remote     LO-MD-MM     MGVERS     SAP     TRANSP          Cross-version fields for MARC     SAPKGES01G
    MVRM     Field Missing Remote     LO-MD-MM     MGVERS     SAP     TRANSP          Units of Measure for Material     SAPKGES01G
    MVVE     Field Missing Remote     LO-MD-MM     MGVERS     SAP     TRANSP          Sales Data for Material     SAPKGES01G
    MILL_T399X     Field Missing Remote     IS-MP-PP     MILL_PP     SAP     TRANSP          Parameters for Partitioning Order - Order Type     SAPK-603DDINECCDIMP
    ESLH     Field Missing Remote     MM-SRV     ML     SAP     TRANSP          Service Package Header Data     
    ESLL     Field Missing Remote     MM-SRV     ML     SAP     TRANSP          Lines of Service Package     
    RSEG     Field Missing Remote     MM-IV     MRM     SAP     TRANSP          Document Item: Incoming Invoice     SAPK-603DDINSAPAPPL
    ADRC     Field Missing Remote     BC-SRV-ADR     SZAD     SAP     TRANSP          Addresses (Business Address Services)     
    VBAK     Field Missing Remote     SD-SLS     VA     SAP     TRANSP          Sales Document: Header Data     SAPK-603DDINSAPAPPL
    VBAP     Field Missing Remote     SD-SLS     VA     SAP     TRANSP          Sales Document: Item Data     SAPK-603DDINSAPAPPL
    VBEP     Field Missing Remote     SD-SLS     VA     SAP     TRANSP          Sales Document: Schedule Line Data     
    VBKD     Field Missing Remote     SD-SLS     VA     SAP     TRANSP          Sales Document: Business Data     SAPK-603DDINSAPAPPL
    CHVW_INC     Field Missing Remote     LO-BM     VB     SAP     TRANSP          Batch Where-Used List- N:M Assignment for Order     
    VBRK     Field Missing Remote     SD-BIL     VF     SAP     TRANSP          Billing Document: Header Data     SAPK-603DDINSAPAPPL
    VBRP     Field Missing Remote     SD-BIL     VF     SAP     TRANSP          Billing Document: Item Data     SAPK-603DDINSAPAPPL
    KONDH     Field Missing Remote     SD-MD-CM     VKON     SAP     TRANSP          Conditions: Batch Strategy - Data Division     
    LIKP     Field Missing Remote     LE-SHP     VL     SAP     TRANSP          SD Document: Delivery Header Data     SAPK-603DDINSAPAPPL
    LIPS     Field Missing Remote     LE-SHP     VL     SAP     TRANSP          SD document: Delivery: Item data     SAPK-603DDINSAPAPPL
    VALW     Field Missing Remote     LE-SHP     VL     SAP     TRANSP          Delivery Plan: Definition of Route Schedule     
    KNVV     Field Missing Remote     LO-MD-BP-CM     VS     SAP     TRANSP          Customer Master Sales Data     
    KNA1     Field Missing Remote     LO-MD-BP-CM     VSCORE     SAP     TRANSP          General Data in Customer Master     
    FPLA     Field Missing Remote     SD-BF     VZ     SAP     TRANSP          Billing Plan     
    FPLT     Field Missing Remote     SD-BF     VZ     SAP     TRANSP          Billing Plan: Dates     
    TFPLT     Field Missing Remote     SD-BF     VZ     SAP     TRANSP          Date Type for Billing Plan Type     
    VBSK     Field Missing Remote     SD-BF     VZ     SAP     TRANSP          Collective Processing for a Sales Document Header     
    VBUK     Field Missing Remote     SD-BF     VZ     SAP     TRANSP          Sales Document: Header Status and Administrative Data     
    VBUP     Field Missing Remote     SD-BF     VZ     SAP     TRANSP          Sales Document: Item Status     
    WBHI     Field Missing Remote     LO     WB2B_DDIC     SAP     TRANSP          Trading Contract: Item Data     
    LFM1     Field Missing Remote     LO-MD-BP-VM     WLIF     SAP     TRANSP          Vendor master record purchasing organization data     
    LFM2     Field Missing Remote     LO-MD-BP-VM     WLIF     SAP     TRANSP          Vendor Master Record: Purchasing Data     
    ZPPWRKMAP     Convertible -> Local     BC     ZDEV     PTANAKI     TRANSP          PP-012: Work Center Mapping     ECDK901192

    Hi,
    What is the volume of data you copied. Also have you followed the best practice of minimal/no activity in the source client.
    The dictionary differences seems to be becuase of some SPs not applied in your ECP system yet
    Regards,
    Sanujit

  • Condition type value updation using characteristic value in sales order

    Hi Experts,
    We are implementing SAP for one of our Spain client. In that one of the Legal requirements is, whenever they are selling the finished products to domestic customers who contain OIL as one of the component then, some additional cost needs to be calculated and collected from customer and which needs to be paid back to Spain Government every month on Region basis.
           If OIL is not a component to produce the finished product then, not required to charge the customer additionally.
    The OIL content used to produce every finished product will vary based on product characteristic value. Meaning, for some finished product the OIL used will be 2.2 KG and for some products it will be 3.5, 4.3 KG and etc.
    Since various combinations of products are available for the client, during sales order creation we are planning to update some special characteristic which the data flow from u201CVariant Tableu201D. In the variant table we are going to maintain the OIL Quantity required making finished product.
    But we are not sure how to activate a new condition type with the value fetched in the special characteristic. This new condition type needs to be activated based on this characteristic value and multiplied with total order quantity and price to charge from customer.
    Example, the special characteristic fetched the value of 2.2 KG based on variant table. Total Order quantity is 10 PC and charge is 0.06 EURO per KG. in this case, (2.2 x 10 ) x 0.06 EURO = 1.32 EURO
    I need the expert opinion how to activate the new condition type based on characteristic value and achieve the above requirement.
    Thanks in advance.
    Warm Regards,
    VEL

    Hello,
    I have replicated the whole requirememt in IDES and getting the price calculation as needed but the only issue with the Conversion factor for the condition type. Either you need to maintian the conv factor in material master or need to enter manually for the condition type in SO. Some how you have to maintain the conversion factor to calculate the price for the condition type in different unit.
    For easy of understanding Lets make the whole requirement in 2 parts
    Part - 1
    Oil qty calculation. For convenience sake I have taken oil qty also in TO
    1) Created a num char OIL_QTY1 with length 9 and decimal places 5 and UOM as TO
    2) Created Variant table to infer the OIL qty in TO per piece of finished prod ( This oil qty data may be depends on various factors). For certain Finished products the oil qty may be 0 or blank
    3) Created a REF char SO_QTY  to pull the SO qty to configuration and add this char in class 300(Table:VBAP,Field :KWMENG)
    4) Created another char SO_OIL_QTY  (Num with length 9 and decimal places 5 and UOM as TO)
    5) Created a PROCEDURE say PROC_SO_OIL_QTY with code
    *$self.SO_OIL_QTY = $self.OIL_QTY1 * $self.SO_QTY*
    6) Create another PROCEDURE as mentioned earlier with modified code
    $SELF.A_VARCOND = 'TEST_001' if OIL_QTY1 specified,
    $SET_PRICING_FACTOR ($SELF,A_VARCOND,'TEST_001', SO_OIL_QTY)
    Note: Maintain proper seq of the procedures in profile. The Qty cal proc should be before the price related procedures.
    PART-2
    1) For the condition type maintained 60 EUR per TO (0.06 EUR per KG)
    Now if you create SO for the Finished product of 10 PC
    the Char values will be
    OIL_QTY1  = 0.00022 TO (inferred from Variant table th proc)
    SO_QTY    = 10
    SO_OIL_QTY = 0.0022 TO
    Get into conditions tab
    Here Condition type ZSIG will be displayed as error with Amount 60 EUR per TO and condition value will be blank. Just enter value 1 in the col NumC and CCon fields.
    Now the Condition value will appear as 1.32 EUR.
    Hope this gives some more clarity
    Regards
    Brahmaji D

  • How to ChangePlantfor each item of Sales order using User Exit SAVE_DOCUMEN

    Hi All,
    I have to change plant for Each line item of sales order using (MV45AFZZ) (USEREXIT_SAVE_DOCUMENT) based on first Schedule line.
    if Confirmed Quantity is Less than Ordered Quantity.
    based on first Schedule line.
    it has to select other Plant and need to populate it in line item of sales order.Please see the below code and let me knoe if any changes required... Thanks in Advance.
    data : wa_vbep like xvbep,
           Lv_matnr type mara-matnr,
           lv_werks type marc-werks.
    DATA: it_vbap TYPE STANDARD TABLE OF vbap,
          wa_vbap TYPE vbap.
    field-symbols: <wa_vbap> type VBAPVB.
    clear wa_vbap.
    *loop at xvbap into wa_vbap.
    loop at xvbap assigning <wa_vbap>.
    read table xvbep into wa_vbep with key posnr = <wa_vbap>-posnr.
    if wa_vbep-ETENR = '0001'.
    if sy-subrc = 0.
    IF wa_VBEP-BMENG LT wa_VBEP-WMENG.
        SELECT SINGLE DWERK
                     INTO lv_werks
                     FROM MVKE WHERE matnr = <wa_VBAP>-matnr
                                and  DWERK ne <wa_VBAP>-werks.
    if not Lv_werks is initial.
    if lv_werks EQ 1033.
    move '1002' to <wa_vbap>-werks.
    if sy-subrc eq 0.
      xvbap-werks =  <wa_vbap>-werks.
    modify xvbap from <wa_vbap> .
    endif.
    elseif lv_werks EQ 1003.
    move '1003' to <wa_vbap>-werks.
    elseif lv_werks EQ 1010.
    move '1010' to <wa_vbap>-werks.
    endif.
    endif.
    endif.
    endif.
    endif.
    endloop.
    endif.
    Regards,
    Sudhakar Reddy.A

    You have to use the form routine "USEREXIT_SAVE_DOCUMENT_PREPARE"
    regards
    Vinod

  • Change the Profit Center in Sales Order line item's Account assignment tab

    Hi Gurus,
    I need to change the Profit Center at Sales order Line item in Account Assignment Tab. Currently  The Profit center is coming from Material Master for the Line Item's Material as default but I have to change / overwrite  that.
    Can any body provide me how can i achive that means
    Any User exits, substitution or any thing ?
    I tried MV45AFZZ but i am not able to find out the right place where I can change COBL-PRCTR.
    Sony

    Hi
    There is perform which moves the values to VBAP field.
    This PRCTR field is stored in VBAP (i.e., SO line item table)
    USEREXIT_MOVE_FIELD_TO_VBAP
    Hope it works.
    VVR

Maybe you are looking for

  • Using Front Panel Audio with Fatality Professional

    I have a query regarding connections on the Titanium Fatality PCIe. I have an XFi XtremeMusic PCI card and am considering replacing it with the Titanium Fatality XFi card. A couple of reasons, I like the shrouded enclosure, I like the little XFi LED

  • Having issues with Compressor and my footage looking pixelated..

    Compressed a wedding video through Compressor (from Final Cut Pro). When I have it in DVD Studio Pro and look at the footage, there is a minute or two where the footage looks pixelated and is almost vibrating. There is no issue when I go back and loo

  • A "best practice" question

    I wonder how the "experts" do this. As I lay down my clips into the sequence, there may be a part of the clip, not at the edit points, which needs to be deleted. What is the easiest way to do this? (Make a new subclip, then insert "non-deleted" parts

  • Setting the dynamicRender configuration in Designer

    Hi, I'm trying to generate a dynamic PDF using Livecycle Forms. According to the documentation the "RenderAtClient" parameter in Livecycle Forms is set to "auto" by default which means it "instructs the Form Server Module to observe the form design's

  • How do I switch on access to assistive devices in OS X Mavericks?

    A couple of days ago I installed OS X Mavericks. Now when I try to open my ABBYY Lingvo App, the system says "Access for assistive devices is disabled: To be able to use the quick lookup feature, you must enable access for assistive devices in the Un