VPRS cond type is not appearing after creating a sales order

Dear Friends,
I have copied pricing procedure from Std pric procedure i.e from RVAA01.
In Material master in Accounting 1the following things are maintained,
Valuation Class--7920 ( Finished products)
VC Sales Order Stock--7920 ( Finished products)
Pricing Control-V ( Moving average Price/Periodic unit price)
Standard Price--- Blank
Price Unit--1
Total stock--100
In Pricing procedure VPrS cond type is included and settings are as follow,
Statistics---Relevant
Subtotal-- B ( carry over value to KOMP-WAVWR (cost))
Requirement--4
Item Catg is TAN and in Business data it is relevant for Determine Cost.
Activated cost determination for item categ TAN
But when I am creating sales order VPRS cond type is not appearing.
Analysis is saying
The requirement 004 is assigned to this condition in the pricing procedure. This requirement was not met and so the condition was excluded from further processing.
Can anybody tell me where I am going wrong?
Regards,
Shrikant

Hi Friends,
Thanks for your reply as per your instruction I have maintained cond type and also in Pric procedure I removed 4 from Requirement column.
Now I am getting following error,
Diagnosis
This condition has not been determined using condition records. The amount or value should be determined from another data source. For cost (condition category 'G') it is read using conditions from the material valuation segment, for a cash discount condition it is read using conditions from the terms of payment table.
In this transaction an error occurs - the material valuation segment or the terms of payment table could not be read or a currency translation has failed.
System Response
The condition has been provided with the deactivated indicator 'X'.
Procedure
Refer to the messages in the status line of the condition overview screen.
Regards,
Shrikant

Similar Messages

  • Billing document should not be cancelled after creating return sales order

    Hi All,
    Billing document should not be cancelled after creating return sales order with reference to billing document. Please suggest configuration settings on the same.
    Sudheer.

    Hi,
    In SAP, when the sub-sequent document is existing , we can not cancel the preceeding document. Therefore if you want to cancel the billing document you need to calcel the documents which are created with reference to that.
    Check and confirm.
    Regards,
    Ravi Duggirala

  • Line item data is not saving while creating a Sales order using Interactive

    Hi all,
    I am creating a sales order Using Interactive forms. In the form i am having Header data and line item data.I had created two structures one for Header data and one for Line item data. For entering  the LINE ITEM DATA i had created a Dynamic table with Buttons ADD ROW and DELETE ROW.
    User will Add the Row or Delete the Row based on the requirement.
    My issue is When ever the user clicks the SUBMIT button after entering the header data and 3 line items data , Sales order has been created with only first line item and the remaining two line items are not created.
    My Interactive form is like below
    HEADER DATA
    DOC_TYPE
    SALES_ORG
    DIST_CHN
    DIVISION
    PURCH_NO
    PARTN_ROLE
    PART_NO
    LINE ITEM DATA
                             ITEM_NO      MATERIAL          PLANT          QTY        COND_TYPE            COND_VALUE
    ADD ROW
    DELETE ROW
                                                                                    SUBMIT
    My  code for the method ONACTIONCLICK is like below
    method ONACTIONCLICK .
    data:
          Node_Adobe       type ref to If_Wd_Context_Node,
          Node_Zsaleheader       type ref to If_Wd_Context_Node,
          Elem_Zsaleheader       type ref to If_Wd_Context_Element,
          Stru_Zsaleheader       type If_Main=>Element_Zsaleheader,
          Node_Zsaleitem       type ref to If_Wd_Context_Node,
          Elem_Zsaleitem       type ref to If_Wd_Context_Element,
          Stru_Zsaleitem       type If_Main=>Element_Zsaleitem.
      data: header_data type BAPISDHEAD.
      data: item_wa type BAPIITEMIN.
      data: item_data type table of BAPIITEMIN.
      data: partner_wa type BAPIPARTNR.
      data: partner_data type table of BAPIPARTNR.
      data: sales_order type BAPIVBELN-VBELN.
      data: Errorlog type BAPIRETURN1.
    navigate from <CONTEXT> to <ADOBE> via lead selection
      Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN=>wdctx_Adobe ).
    navigate from <ADOBE> to <Zsaleheader> via lead selection
      Node_Zsaleheader = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleheader ).
      Node_Zsaleitem = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleitem ).
    get element via lead selection
      Elem_Zsaleheader = Node_Zsaleheader->get_Element(  ).
      Elem_Zsaleitem = Node_Zsaleitem->get_Element(  ).
    get all declared attributes
      Elem_Zsaleheader->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zsaleheader ).
      header_data-DOC_TYPE = Stru_Zsaleheader-DOC_TYPE.
      header_data-SALES_ORG = Stru_Zsaleheader-SALES_ORG.
      header_data-DISTR_CHAN   = Stru_Zsaleheader-DISTR_CHAN.
      header_data-DIVISION = Stru_Zsaleheader-DIVISION.
      header_data-PURCH_NO = Stru_Zsaleheader-PURCH_NO.
      partner_wa-PARTN_ROLE   = Stru_Zsaleheader-PARTN_ROLE.
      partner_wa-PARTN_NUMB = Stru_Zsaleheader-PARTN_NUMB.
       append partner_wa to partner_data.
        Elem_Zsaleitem->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zsaleitem ).
      item_wa-ITM_NUMBER = Stru_Zsaleitem-ITM_NUMBER.
      item_wa-MATERIAL   = Stru_Zsaleitem-MATERIAL.
      item_wa-PLANT = Stru_Zsaleitem-PLANT.
      item_wa-REQ_QTY = Stru_Zsaleitem-REQ_QTY.
      item_wa-COND_TYPE   = Stru_Zsaleitem-COND_TYPE.
      item_wa-COND_VALUE = Stru_Zsaleitem-COND_VALUE.
      append item_wa to item_data.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
      EXPORTING
        ORDER_HEADER_IN           = header_data
      WITHOUT_COMMIT            = ' '
      CONVERT_PARVW_AUART       = ' '
    IMPORTING
       SALESDOCUMENT             = sales_order
      SOLD_TO_PARTY             =
      SHIP_TO_PARTY             =
      BILLING_PARTY             =
       RETURN                    = errorlog
      TABLES
        ORDER_ITEMS_IN            = item_data
        ORDER_PARTNERS            = partner_data
      ORDER_ITEMS_OUT           =
      ORDER_CFGS_REF            =
      ORDER_CFGS_INST           =
      ORDER_CFGS_PART_OF        =
      ORDER_CFGS_VALUE          =
      ORDER_CCARD               =
      ORDER_CFGS_BLOB           =
      ORDER_SCHEDULE_EX         =
    endmethod.
    PLEASE SUGGEST ME IF ANY CODE CHANGE IS REQUIRED
    Thanks in advance
    Ajay

    Hi,
    The item data is not read because, the dynamically added rows should also reflect back to the Web Dynpro context. When the user clicks on Add Row, use the Onsubmit event to add a empty line to internal table and then bind it to the context. And if the user removes a row, remove a row from internal table and bind it back to the context.
    You may refer this article.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
    Regards,
    Runal

  • Condition Type to be excluded whil creating Return sales Order from invoice

    Hi Frnds,
    I have the following requirement.
    Sales order order is created and its delivered and invoiced too. This sales order has some freight pricing condition types (RCD1, RCD2...)included since its shipped to customer.
    When the customer wants to return the goods, there is a return sales order is created with reference to the invoice created above. Now, the RCD1 and RCD2... should not get copied to return sales order.
    How do i achieve this? Please let me know any user exit, BAdi or Enhancement spot where i can add code to avoide these condition types from being picked up.
    SAP system is ECC 6.0
    Regards.,
    Karthick C

    It can be achieved by implementing a custom requirement routine. If you go to the the transaction VOFM, you will find "requirement" in MENU. You select 'Pricing' on drilling-down it. Following document may help you in creating requirement routine..
    http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
    All requirement routines has similar pattern of writing... Your code may look like as follows:
    FORM KOBED_901.
    sy-subrc = 4.            "By deault condition is false.
    If NOT XKOMK-AUART = 'RE'.                   "RE is returing order type.
       sy-subrc = 0.        "This means For other than returning orders all others condition is true.
    endif.
    ENDFORM
    Once you activate routine, ask functional consultant to attach this to the Condition RCD1 and RCD2. Then, You'll not get RCD1 and RCD2 for Return sales Order.
    Please check and confirm and revert back if you want further details..
    Edited by: Pikle Audumbar on Oct 17, 2009 1:09 AM

  • Sale Order Item Quantity Not Populating When Create A Sale Order Using BAPI

    I am having a problem when creating a sale order using BAPI
    BAPI_SALESORDER_CREATEFROMDAT2
    Problem is that sale order item quantity field is not populating
    code is as follows
    ORDER_ITEMS_IN-ITM_NUMBER = '0010'.
    ORDER_ITEMS_IN-MATERIAL = '000000000010000262'.
    ORDER_ITEMS_IN-TARGET_QU = 'LB'.
    ORDER_ITEMS_IN-TARGET_QTY = 1.

    Hi,
    Try populating ORDER_SCHEDULES_IN table in the bapi field REQ_QTY.
    Regds,
    Rudra

  • After creating new sales order through BAPI, it is not showing in VA03

    Hi Experts
    I am developing one program to create sales order using FM BAPI_SALESORDER_CREATEFROMDAT2. In output screen it is showing that the new sales order number created with new sales order number. But whenever I want to display the newly created sales order via VA03 it shows an error message SD document 10007547 is not in the database or has been archived but in program output it shows that 10007547 is created. This is in DEV server. Document numbers are generated by the system sequencially, but it is not reflected in database.
    I am also attaching my code below.
    REPORT  z_bapi_salesorder.
    DATA : gt_header LIKE bapisdhd1,
           gt_item TYPE TABLE OF bapisditm,
           gt_itemx TYPE TABLE OF bapisditmx,
           gt_partner TYPE TABLE OF bapiparnr,
           gt_return TYPE TABLE OF bapiret2.
    DATA : gs_item LIKE LINE OF gt_item,
           gs_itemx LIKE LINE OF gt_itemx,
           gs_partner LIKE LINE OF gt_partner,
           gs_return LIKE LINE OF gt_return.
    DATA : v_vbeln TYPE vbeln_va.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(30) ord_type FOR FIELD p_auart.
    PARAMETERS : p_auart TYPE auart OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS       : p_vkorg TYPE vkorg OBLIGATORY,
                       p_vtweg TYPE vtweg OBLIGATORY,
                       p_spart TYPE vbak-spart OBLIGATORY,
                       p_sold TYPE kunnr OBLIGATORY,
                       p_ship TYPE kunnr OBLIGATORY,
                       p_matnr TYPE matnr OBLIGATORY,
                       p_menge TYPE kwmeng OBLIGATORY,
                       p_plant TYPE werks_d OBLIGATORY.
    SELECTION-SCREEN : END OF BLOCK b1.
    INITIALIZATION.
      ord_type = 'Order Type'.
    START-OF-SELECTION.
    *Header information data.
      gt_header-doc_type = p_auart.
      gt_header-sales_org = p_vkorg.
      gt_header-distr_chan = p_vtweg.
      gt_header-division = p_spart.
    *Partner information data.
      gs_partner-partn_role = 'AG'.
      gs_partner-partn_numb = p_sold.
      APPEND gs_partner TO gt_partner.
      CLEAR gs_partner.
      gs_partner-partn_role = 'WE'.
      gs_partner-partn_numb = p_ship.
      APPEND gs_partner TO gt_partner.
      CLEAR gs_partner.
    *Item data
      gs_item-itm_number = '000010'.
      gs_itemx-itm_number = 'X'.
      gs_item-material = p_matnr.
      gs_itemx-material = 'X'.
      gs_item-plant = p_plant.
      gs_itemx-plant = 'X'.
      gs_item-target_qty = p_menge.
      gs_itemx-target_qty = 0.
      APPEND gs_item TO gt_item.
      APPEND gs_itemx TO gt_itemx.
      CLEAR : gs_item, gs_itemx.
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
        EXPORTING
      SALESDOCUMENTIN               =
          order_header_in               = gt_header
      ORDER_HEADER_INX              =
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       =
      INT_NUMBER_ASSIGNMENT         =
      BEHAVE_WHEN_ERROR             =
      LOGIC_SWITCH                  =
      TESTRUN                       =
      CONVERT                       = ' '
       IMPORTING
         salesdocument                = v_vbeln
        TABLES
         return                       = gt_return
         order_items_in               = gt_item
         order_items_inx              = gt_itemx
         order_partners               = gt_partner
      ORDER_SCHEDULES_IN            =
      ORDER_SCHEDULES_INX           =
      ORDER_CONDITIONS_IN           =
      ORDER_CONDITIONS_INX          =
      ORDER_CFGS_REF                =
      ORDER_CFGS_INST               =
      ORDER_CFGS_PART_OF            =
      ORDER_CFGS_VALUE              =
      ORDER_CFGS_BLOB               =
      ORDER_CFGS_VK                 =
      ORDER_CFGS_REFINST            =
      ORDER_CCARD                   =
      ORDER_TEXT                    =
      ORDER_KEYS                    =
      EXTENSIONIN                   =
      PARTNERADDRESSES              =
      IF v_vbeln <> space.
        COMMIT WORK.
        WRITE :/ 'Document', v_vbeln ,'created'.
        CLEAR : v_vbeln, gt_header.
        REFRESH : gt_partner, gt_item, gt_itemx.
      ELSE.
        WRITE :/ 'Error in creating document'.
      ENDIF.
    Please give the possible solutions for this. What is reason for that update termination.

    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
        EXPORTING
          ORDER_HEADER_IN           = ORDER_HEADER_IN
      WITHOUT_COMMIT            = ' '
      CONVERT_PARVW_AUART       = ' '
       IMPORTING
         SALESDOCUMENT             = SALESDOCUMENT
      SOLD_TO_PARTY             =
      SHIP_TO_PARTY             =
      BILLING_PARTY             =
         RETURN                    = RETURN
        TABLES
          ORDER_ITEMS_IN            = ORDER_ITEMS_IN
          ORDER_PARTNERS            = ORDER_PARTNERS
      ORDER_ITEMS_OUT           =
      ORDER_CFGS_REF            =
      ORDER_CFGS_INST           =
      ORDER_CFGS_PART_OF        =
      ORDER_CFGS_VALUE          =
      ORDER_CCARD               =
      ORDER_CFGS_BLOB           =
         ORDER_SCHEDULE_EX         = ORDER_SCHEDULE_EX
    use bapi_transaction_commit.
    Regards,
    Venkat

  • Payment Guarantee Procedure not appearing automatically in the sales order

    Hi All,
    I have configured the risk management following all the steps as below but somehow the payment guarantee procedure does not auto appear in my sales order.
    Step 1: Financial Document Type
    Step 2: Field Controls in Fin Doc Type
    Step 3: Financial Document Control
    Step 4: Maintain Forms of Payment Guarantee
    Step 5: Define & Assign Payment Guarantee Procedure
    Step 6: Customer Payment Guarantee Procedure
    Step 7: Assign Doc Procedures to Order Types
    Step 8: Payment Guar.Procedure Determination
    Kindly advise if I have missed out any steps

    Hi,
    please check
    1 . Define Payment Guarantee Schema Determination
    2 . Activation of credit for item category
    With regards,
    Mrinal

  • Excise and ***. Valsue doen not show when Creating a Sales Order

    Hi SAP Gurus,
    I am creating a Return Sales order through VA01 with reference of Billing Document which was earlier giving error  of 'Copying from sales document type ZSFG to ZREV is not supported' that was resolved by going through the available threads support. I have done it through VTAF.
    Now system copying the records and showing the material and qty but when we doube click an item and then go in Condition tab it is not showing Assesable Value, Excise amount and CST where as it was showing Freight Amount.
    Please advise what wrong we are doing.
    Rajesh Gupta

    Check the pricing analysis in condtions tab what it says ?
    If only taxes are not copied then check the UTXJ Condition records , if it exits then go to VK12 check the validity periods of the same.
    Hope it helps u
    Regards,
    Ramesh

  • Condition Type is not copying from contract to sales order

    Dear All,
    The value the i am giving in the sales contract is not copying into sales order. Sytem again asking to enter the value.Is there any setting to be done forthat.
    Regards,
    Suresh Yadav.

    Hi,
    If the *CONDITION VALUES* are *manually* entered then the values will not be copied from the *SOURCE TO TARGET* document
    Please check in the  Contract whether the vales derived from Condition records are entered manually.
    If you want the prices to be copied automatically then they have to maintained through CONDITION RECORDS in *VK11*.
    Please maintain the CONDITION RECORDS and check whether they have copied or not
    Please also cehck the COPY CONTROLS from CONTRACT to SALES ORDER in VTAA transaction -- at item--->pricing type. and set it a s  D
    Please check the above settings and let forum know the feedback.
    regards,
    santosh

  • Purchase requisition not to be created if sales order is incomplete.

    Hi ALL,
    I have a requirement from the business wherin they want purchase requisition not to be created for the incomplete sales order
    in case of third party / invidiual P.O sales orders.
    We have defined some fields in the item category incompletion status and if this fields are empty then the P req shld not generate.
    Can anybody guide me what settings to be made to acheive this.
    Please help me in this.

    In t.code OVA2, try to assign an incompletion procedure at schedule line level. This procedure can be assigned with relevant status like checking goods movement, and general checked. Then test the scenario.
    There is an OSS note out there, but it is NOT exactly represents your scenario. However you can have a look at it.
    Note 623267 - Purchase requisition in spite of missing configuration II
    Regards,

  • Getting error 'Item 00000 does not exist' while creating a salse order

    Hi All,
    We are facing an issue, we get an error message saying 'Item 00000 does not exist' while creating a sales order for a particular order type, we do not get this problem with all the materials, only a few of them and the materials which give a problem are part of the supersession chain. The problem is not even coming for all the superseded materials.
    This problem is occuring with none of the other order types but just one. We have compared the configuration for the order types for which this error is not coming and the order type which is giving the problem, and its exactly the same.
    When creating the sales order through VA01 even though the error message comes, but on hitting the enter button the processing goes further. But when creating the sales order through the background program the processing stops the moment the error message comes and the Sales Order does not get created.
    Your valuable suggestions for helping us resolving this issue will be highly appreciated.
    Regards,
    Geeta

    HI Geeta
    As per your post "Problem is when you are executing VA01 in background sales orders are not generating due to error message".
    Apart from configuration check alternative is "Take ABAPer's help and change this error message type to warning/information message type in the system". With warning/information message type you could be able to create sales orders in background also.
    try and revert

  • Output type is not appearing in ME22N

    Hi,
    I have created some POs through sales order.i.e created a sales order and taken the PR from that.
    Using ME59N, I have converted the PR to PO. The PO will have some output types attached (in the unprocesssed status).
    The Output types (in the MESSAGES) are visible in ME23N. When I look into the PO in change mode ME22N, the output  types are not appearing....  this is not the case with all the POs. Happening only for few POs.
    Could you please suggest.
    Ramana Malladi.

    Hello,
    Review your condition record values against the PO's that don't have an output type.
    Could be something like purchasing group, material group, etc.
    Regards
    Waza

  • CRT results are not appearing after successful payroll run

    CRT results are not appearing after successful run of US payroll, however, RT results are appearing.
    Please suggest ideas to find the results of CRT.

    Hi Rémi Corriveau,
    Thank you for spending your time to answer my question.
    Here are the answers to your questions . . . .
    QUESTION: Did you run a Payroll Simulation or a live Payroll Calculation ?
    ANSWER: We did a LIVE payroll run for a period of 3 months.
    QUESTION: Did you use t-code pc_payresults ?
    ANSWER: Yes, we used the t-code pc_payresults but still it doesn't show the CRT results.
    QUESTION: Did you check Processing Class 30 and 70 for your WTs ?
    ANSWER: As per the process, we copied the SAP standard (model) Wage Type M010 to
    our customized Wage Type, hence, hope that it wouldn't disturb any of the standard SAP settings.
    However, we did check the Processing Class 30, but did not check the processing class 70.
    Shall update you once PC 70 is also checked.
    Please educate, if there are any particular specifications that need to be entered while checking
    for our WTs in PC 30 & PC 70.

  • Amount Rule Type field not appearing in settlement rule screen.

    Hi Experts,
    We developed a program which creates settlement rules automatically on uploading data from excel file.
    We encountered the following error.
    cursor field COBRB-BRTYP does not exist in the screen
    In the Settlement rule screen, under distribution rules, the field amount rule type is not appearing.
    We have 3 level WBS structure. For the 1 level WBS this field is not appearing. But this field is visible for below WBS.
    Please help me..
    Regards,
    Praisty

    Hi Balachandar,
    As i said, we are using an excel sheet upload to create settlement rules for WBS elements.
    While uploading we got this error. COBRB-BRTYP does not exist in the screen.
    Now we need to check with abaper, why the program is checking that field in particular.
    Any way, thanks for your prompt reply.
    Regards,
    Praisty

  • HT1386 My iOS device (Ipad mini) only appears in iTunes while cable-connected, but does not appear after diconnect the cable. How can I Wifi sync ?

    Hi, My iOS device (Ipad mini) only appears in iTunes while cable-connected, but does not appear after diconnect the cable. How can I Wifi sync ?
    Documents say
    Whenever the computer and the iOS device are on the same network, the iOS device will appear in iTunes, and you can sync it....
    But I can't see my iPad Mini in iTunes.
    And my  Ipad  (Settings, General, iTunes Wifi Sinc)  shows  a message :" Sync will resume when xxx(my PC with iTunes) is available "...
    Both are in the same network,
      Ipad mini is is plugged in to power
    . iTunes is open on the computer
    what can i Do ???

    Hi Skydiver119,  and tks for four interest.
    I have done exactly as you say, but it does not work for me.
    You indicated  " Navigate to the info tab and scroll down. There'll be a check box for 'sync over wifi' or something to that effect. Check that box and sync to affirm your choice."
    I navigated to Summary tab (not Info Tab) and checked "Sync with this ipad over Wi-Fi"
    I disconnect the wire,
    and my iPad disappears from my iTunes screen.
    in my iPad ->Settings -> General -> iTunes Wi-Fi Sync -> says " Sync will resume when (my PC) is available.
    So, I can not sync via wi-fi
    I appreciate if you can help me.

Maybe you are looking for

  • Help me pick a new powerbook/ibook

    I got the go ahead from my boss to pick out a new laptop (the ibook G3 12.1 800 is broken and oudated.) I know this is subjective but wanted some thoughts on what's important to have and what's not. I'm trying to keep it around $1200-1400 Some things

  • Looks like I bought a narcoleptic PowerBook..

    It's been about 8 years since these babies were manufactured. Since then has anyone actually come across a solution? Maybe on some random persons blog? I've found a lot of things out about these old computers (How to natively and smoothly play 720p a

  • Trying to simulate OTA download

    Hi I try to run a MIDlet on JBuilder X developer from a OTA server. I configured the jar and jad in the server. 1) I get this error: " ** Error installing suite (49): The suite is not authorized for javax.microedition.io.PushRegistry " 2) when runnin

  • Change enctype when submitting a form

    Hi, Can anyone please let me know if its possible to change the enctype when submitting a form. I am trying to change the enctype to "multipart/form-data" when upload is clicked, else i want it to be the default..... function OnSubmitForm(myform) ale

  • Populating second select box on the basis of first.

    Hello I want to populate second select box based upon the value selected in first select box from database.The second select box should be in disabled state first and should be enabled only if i select from first selct box. I want to make it by using