Issue with profit center while creating sales order (VA01).

Hello Gurus,
When I creating  sales order (Material need to be configure from VA01->Extra->Configuration) with reference of existing then XVBAP is populating the correct profit center. But when creating new sales order from scratch for the same material, at that time XVBAP is getting wrong profit center for index 2.
Thanks in Advance!!

Debugging Sales order at Enhancement MV45AFZB ->form userexit_move_field_to_cobl.

Similar Messages

  • How to block the material qty to 1 while creating sales order (VA01)?

    Hi All,
    Scenario :  We have 20 Materials each with 100 qty in Plant. In the sales order we should have all the 20 materials with qty one. The sales order should throw an error if the material qty is more than 1 and should not allow to create a sales order.
    so is there any transaction code where we can block the entire material qty to 1 from the same plant while creating sales order?
    Note: We should not set in MM01 "Minimum order qty". Assume we have 100 material in plant we can't set for each material one by one "minimum order qty".Instead of that is there any option to set the whole material qty to 1 as minimum while creating sales order?
    Kindly guide me how to proceed.
    Thanks,
    Renjith

    If you have access to idoc before calling the processing Function module, Adding header text segments E1EDKT1 and E1EDKT2 to the idoc will create the header text.
    Regards
    Sridhar

  • Problem with BOM Quant while creating Sales order with reference using BAPI

    Dear All,
    I am facing problem with creating a slaes order with reference to other sales order by using BAPI_SALESORDER_CREATEFROMDAT2 .
    Sales order is getting created but
    1. It exploding the BOM means the line items which are not there in the reference SO also coming in the new SO ( all BOM items are coming )
    2. Schedule line for BOM header item is getting copied to all sub items of BOM.
    Can any one help me out to prevent the above deviations in creating Sales order with reference by using BAPI_SALESORDER_CREATEFROMDAT2.
    Note: while passing the parameters to BAPI_SALESORDER_CREATEFROMDAT2
    all the data related to items is exactly the same as in the original Sales Order.
    Thanks in advnace.
    Regards,
    John

    Hi All,
    Can any one help me !!!!!!!!!!
    please

  • How to change the status of material while creating sales order via BDC

    Hai.
    In BDC while creating sales order( va01 posting ) it is stucking up in middle saying material is new. I.e Sales order (va01) is not  getting created because  of material status is new . I want to create sales order  (va01) even  material status is new.
    pls give me out the solution. Points will be rewarded.
    thanks & regards,
    sami.

    Hi,
    If you drag the line item a little towards the right side, you will find a filed material entered. The one you see in the material filed on sales order over view screen is the one determined. You can as well double click and see the fields material entered and material determined.
    Is there anything else you are expecting to see as part of analysis ?
    Regards
    Sadhu Kishore

  • Changes in Netprice(KOMP-NETWR) While Creation Sales Order(VA01)

    Hi expert ,
    My issues while creating sales order(Va01) is :
    i have added two conditions types namely YVAT and YNBT in Condition , while calculating netprice (NETWR) its picking both values for YVAT and YNBT , i want only netprice excluding YVAT and YNBT , for example
    NETPRICE is  3000.00
    YVAT      is      50.00
    YNBT      is       30.00
    NET         is       3080.00
    but i want to display only 3000.00 in NET(KOMP-NETWR)
    please suggest  is there any user exit to do this calculations.

    Hi,
    I'm not sure if you need to update ADRC table - the address number is usually the the customer's address and is picked automatically.
    Also the transport zone is picked automatically based on the customers address or on the shipping conditions in the Sales Order.
    Transportation Zone (LZONE) also exists in the partner function (VBPA) and the shipping partner (VTPA) - in case you need to suggest a different route for shipping other than the one determined automatically.
    To change this - change both the internal tables table xvbpa and xvtpa (after reading with sales order and item from structures vbak and xvbap) in USER_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ.
    But, I'm not sure if the Address Number (determining the shipping point) would be independent of the Transp Zone, though it's changed in the exit.
    Regards,
    Anil.

  • Profit center derivation in sales order with New GL

    Dear Gurus,
    We are using the New GL, so EC-PCA is not activated.
    We would like to set-up a substitution rule in order to derive the profit center in the sales order and customer invoice (we don't want the profit center to always be derived from the costing view of the material master data).
    I created a substitution rule with transaction 0KEM and assigned it to the controlling area with active status"3" (Other transactions + cross-company (orders + billing doc.)).
    Unfortunately, it doesn't seem to be called when I create a sales order.
    Can you please confirm gthat 0KEM is the transaction to use even when we use New GL without EC-PCA?
    Where should I put a breakpoint in order to trace the call to the substitution rule?
    Thanks a lot in advance for your help.
    Regards,
    Simo

    Dear Gurus,
    We are using the New GL, so EC-PCA is not activated.
    We would like to set-up a substitution rule in order to derive the profit center in the sales order and customer invoice (we don't want the profit center to always be derived from the costing view of the material master data).
    I created a substitution rule with transaction 0KEM and assigned it to the controlling area with active status"3" (Other transactions + cross-company (orders + billing doc.)).
    Unfortunately, it doesn't seem to be called when I create a sales order.
    Can you please confirm gthat 0KEM is the transaction to use even when we use New GL without EC-PCA?
    Where should I put a breakpoint in order to trace the call to the substitution rule?
    Thanks a lot in advance for your help.
    Regards,
    Simo

  • Error while creating sales order with ref to contract

    while creating sales order, with refernce to contract system is giving a message
    Configuration not possible for material : Reason 3 --> Help
    Message no. V1360
    and the message is as follwed can any one explain
    Diagnosis
    This may have been caused by one of the following:
    1. The configuration profile for the material allows or requires the bill of materials to be exploded during order processing. However, a plant has not been specified in the item.
    2. The configuration profile of the material allows or requires the bill of materials to be exploded during order processing, but the order quantity in the item must be greater than 0.
    3. A configuration profile has not been maintained
    or
    A configuration is not permitted for the material
    or
    4. The configuration profile of the material allows or requires the bill ofmaterials to be exploded during order processing. However, the system could not determine a date because important data is missing from the item (see incompletion log).

    Hi
    I think you have both Variant configuration and BOM.
    Pls ensure the following.
    1. BOM masterdata is maintained for the variants
    2. Variant configuration is configured correctly
    Configuration profile is created for the material
    Knowledge base object and run time version are available
    3. Maintain materials as not relevant for delivery or dont give delivery quantity as 0
    Once you are sure that these are in proper shape, you can start creating order. The problem wont come.
    Reward points if it helps you.

  • Error determining posting period(infostructure S008,Variant Z2,RC3) while creating Sales orders from Inbound IDOCS

    Hello,
    I am getting this Error message"error determining posting period(infostructure S008,Variant Z2,RC3)" while creating Sales order from Inbound Idocs in the IDOC,which is affecting sales order creation.
    While viewing this Info structure S008, I could see no records have been maintained. Wanted to know the reasons behind this Hard error?
    Is it something related to Date Field used in the Update Rules for this Infostructure which is causing this posting period error?
    Appreciate your inputs on this.
    Thanks and Regards
    Mohammed Roshan

    Thank you Jelena,I checked the Ship. Delivery dates in the IDOC which are for Current Fiscal Year- 20140703 and 20140711,Could there be any other reason for this error?
    Could it be an issue with e Update rule in this Infostructire S008
    Secondly when we try change the update rule thru MC25 for this Infostructure S008,It gives a message"
    "Maintenance of SAP standard updates not allowed"
    Kindly advice
    Thanks and Regards
    Mohammed Roshan

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

  • While creating sales order wrt quotation customer code field is in display

    Hi all,
    I am facing one problem, while creating sales order with reference to quotation customer code field is in display mode.
    I am not able to change the customer code. But i want to change it accordingly.
    Previously it was in changeable mode only but now it is not in changeable mode.
    Can anyone please tell me the solution for this issue?
    Thanks in advance
    Babu

    hi
    is that happening only when you create sales order wrt quotation,try creating normal sales order and see whether customer is in changable mode
    regards
    senya

  • Profit Center derivation in Sales Order

    Dear Gurus
    I have a requirement where profit center should be derived in sales order on the combination of customer country and plant.
    In standard SAP it can be defaulted at plant level from material master.
    How can this be defaulted on Customer country and shipping plant.
    Looking for experts opinion.
    Regards,
    Neeraj Srivastava

    Dear Neeraj,
    It is possible to achieve this by using Profit Center Substitution in Sales Orders but as per your requirement Customer country is not available in Table fields but wherein Plant is available. Please find the below example process
    The profit center is entered in the material master in the Sales: general/plant view.
    When sales order is created the profit center in the material master will be populated in the sales order line item profit center field, which is present in the account assignment tab. This is the standard SAP behaviour.
    To substitute the profit center, substitution rules have to be created. To define the substitution rules, use transaction 0KEM or the menu path IMG -> Enterprise Controlling -> Profit Center Accounting -> Assignments of Account Assignment Objects to Profit Centers -> Sales Order -> Sales Order Substitutions -> Define Substitution rules. Once in this transaction, click on Substitution icon to create a new substitution rule.
    Enter the code say ZZ01 and description of the substitution rule and click on save.
    Select the new substitution rule i.e. ZZ01 and click on the Step icon. System will give a pop up window in which the second option (profit center) has to be selected. Press enter or click on the green OK icon.
    After pressing enter, another pop up box will be seen. Here, select the first option i.e. constant value and press enter.
    You will be taken to the Step 001 - Overview screen. Enter the description for the Step and then click on Pre-requisites on the left side.
    In the next screen, double click on EC-PCA: Substitution in Sales Order under List of Structures. In the next screen, select the item based on which the substitution has to be done. For eg: Division in item. 
    After you double click on Division in item, you will find the Division in item in the box above. After this click on "=" button which is next to the table fields. You will now find "=" next to Division in item in the box above. 
    Now click on constant button. System will give a pop up box in which enter the division number on which the substitution rule has to be built for eg. Division 10 i.e. whenever the division at item level is equal to 10 the profit center has to be replaced. After entering the value, press enter. After this you will find in the box above Division in itm = '10'. 
    Click on Substitutions on the left hand side. On the right hand side enter the profit center number which has to be populated (i.e. the profit center that has to be substituted with) in the sales order line item if the pre-requisite is met. Check the check box next to profit center also. 
    Click on the save icon. System will give a message save and generation successfully completed. The substitution rule is now created. 
    Now the substitution rule has to be assigned to the relevant controlling area. To do this, use transaction 0KEL or menu path IMG -> Enterprise Controlling -> Profit Center Accounting -> Assignments of Account Assignment Objects to Profit Centers -> Sales Order -> Sales Order Substitutions -> Assign Substitution Rules. To assign the substitution rule to the controlling area click on new entries and enter the controlling area, substitution rule and active status. Appropriate active status can be given as per requirement for eg: 3. 
    When the sales order is created, you can observe that the profit center for the line item is 'YYYY' because the pre-requisite is met i.e. the item division of the material in the line item is 10. This means even though in the material master the profit center is 'XXXX', it has been substituted by 'YYYY' based on the substitution rule logic

  • How to restrict the order reason in Tcode Va01 while creating sales order

    Hi Gurus,
    My requirement is
    while creating sales order in VA01
    if order type is Zvol
    than the list of order reasons has to be restricted.
    Now 15 are coming from OVAU  tcode
    I need only 5 from these.
    Thanks & Reagrds
    kals.

    Hi,
    By doing the user exit in IW32 we achieved the requirement of restriction of maintenance order TECO functionality if any Service Entry sheet pending with reference of maintneance order.
    regards
    JKM

  • Error while creating sales order

    while creating sales order for a particular plant there is error coming
    NO NUMBER RANGE FOR DOC TYPE ZOS1VXBAK-AUARTSILD
    PLANTXVBAK-VKBUR.
    Intailly I have check the no series we have internal no series for all plant,the 
    number series which start 195000001, only one plant the giving the above error, rest all plant it is as applicable above series.
    kindly guide me for the same.

    Hi Sanjay
    This is regarding number ranges defining and assigning tips which you can follow as below:
    Whenever there is a new Sales Org being created, you will be required to maintain Number Ranges for Sales Documents which are allowed for your New Sales Area.
    Number Ranges can be maintained Internally by the system, however it can be maintained externally also if you customize it accordingly.
    In Standard SAP the Transaction code for Maintaiing Number ranges externally is VN01.
    Defining - The same can be reached through in IMG as : Sales & Distribution>Sales>Sales Document Header-->Define Number Ranges for Sales Documents.
    Here you provide the system a specific Number range as follows:
    Number range Key Start Number range End Number Range+Current Number
    For Example: If you want to propose the following Number Range
    *1     9000076000      9000076999      0
    The Current Number field will be kept zero as you are proposing new number range and no sales documents have been created on it , Obviously..
    *1 is a Unique Two digit Alphanumeric Key, while proposing your key, you should ensure that it should not be there in the system as existing.
    If you propose a key that is there in the system or if the Number Range (Start and End Series) is there in the system already, the system will throw a message that Interval already already exists. So choose a key that is unique, and which is not there in the system.
    Here , by making this , you are assigning a Key to a Number Range Series.
    All the symbols can be used along with numbers from 0 to 9 and Alphabets from A to Z and in any order. For example: !1, ^A, BB,Z*,M2.........
    Assigning - In Assigning, you assign the particular Sales Document to the Number Range you have already proposed as above.
    The Assigning Part is done as follows:
    The Two digit Alpha Numeric Key is maintained or Assigned to the respective Sales Document type in V0V8.
    This can also be reached in IMG by:
    Sales & Distribution>Sales>Sales Document Header-->Define Sales Document Types
    Locate the particular Sales Doc Type, and double click on it to display it configuration. Here you put the Two Digit Number key in the Field- "Number range External Assignment"
    Besides this:
    If a new Shipping Point is created then Delivery Number ranges are required to be maintained.
    Similarly,
    If a new Plant is created then Billing Number Ranges are required to be maintained.
    Regards
    Naren

  • End of Valid Logistic Calender error while creating Sales Order

    Hi,
    While creating Sales order in VA01 the following error message comes for particular material code for a particular site only:
    24.01.2202 date comes after end of valid logistics calendar. (Please
    correct)
         Message no. 61062
    Can anyone suggest on the same.
    Regards
    Nilofer

    Hi,
    The input value given in Sales order is " Req Delivery date: 31.03.2012", but the error comes with the below date such as
    "24.01.2202 date comes after end of valid logistics calendar.(Please correct)"
    We also face one more error such as
    " Incorrect index structure for table XMVERF_POS/0000224110/000040 ".
    From where system is taking 24.01.2202 date?

  • User Exit to check whether chapter id for Material and Plant combination is maintained while creating sales order

    Hello all,
    my requirement is, system should give error message while creating sales order, if chapter ID is not maintained for a material and plant combination.
    please suggest the user exit.

    Hi
    CASE 1 : All Plants are excisable.
    In Material master , Foreign Trade data tab-  mentioned Control code field mandatory. ( i.e nothing but Chapter ID)
    CASE 2 : Few Plants are excisable
    In the Case 2 you need to go for Enhancement
    Program Name : MV45AFZB 
    User Exit:            USEREXIT_CHECK_VBAP ( Item Level Check )
    By using above user exit you write a logic with the help of ABAPer
    Plant and Chapter ID combination table : J_1IMTCHID

Maybe you are looking for