Variant configuration for Material for Sales Order

Hello,
I have craeted a configurable material in MM01, then created class for using CL01 , its characteristics using CT04, CU41, CT04, VK11, and lastly VA01.
But still while creating sales order it throws error :
Configuration not possible for material PEN_4 :Reason 2 --> Help
What must be the problem? Also is there any BAPI who can create configurable material?
Can anybody help on this issue.
Useful answer will be rewarded.
Thanks,
Madhura Nadgauda.
Edited by: Madhura Nadgauda on Jan 16, 2008 7:45 AM

try this may be it will help to you,.
REPORT ZVRDOC0 no standard page heading
line-size 300
line-count 50(5).
TABLES : vbak, "Sales Document Header Level
vbap, "Sales Document Header Level
kna1. "General Data in customer Master
*INTERNAL TABLE T_VBAP
DATA : Begin of t_vbap occurs 0,
       vbeln like vbap-vbeln,
       matnr like vbap-matnr,
       posnr like vbap-posnr,
       arktx like vbap-arktx,
       kwmeng like vbap-kwmeng,
       cmkua like vbap-cmkua,
       end of t_vbap.
*INTERNAL TABLE T_TAB.
DATA : Begin of t_tab occurs 0,
        vbeln like vbak-vbeln,
        kunnr like vbak-kunnr,
        audat like vbak-audat,
        netwr like vbak-netwr,
        vkorg like vbak-vkorg,
        name1 like kna1-name1,
        land1 like kna1-land1,
        end of t_tab.
*INTERNAL TABLE T_FINAL.
DATA : Begin of t_final occurs 0,
        vbeln like vbap-vbeln,
        kunnr like vbak-kunnr,
        matnr like vbap-matnr,
        posnr like vbap-posnr,
        arktx like vbap-arktx,
        kwmeng like vbap-kwmeng,
        cmkua like vbap-cmkua,
        audat like vbak-audat,
        netwr like vbak-netwr,
        vkorg like vbak-vkorg,
        name1 like kna1-name1,
        land1 like kna1-land1,
        end of t_final.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-bO3.
parameters : P_kunnr like vbak-kunnr.
select-options : S_vbeln for vbak-vbeln,
                 S_audat for vbak-audat.
SELECTION-SCREEN END OF BLOCK B1.
start-of-selection.
select vbeln  matnr posnr arktx kwmeng cmkua  from vbap
into corresponding fields  of table  t_vbap  where vbeln in S_vbeln .
IF sy-subrc EQ 0.
select  vbakkunnr vbakvbeln vbakaudat vbaknetwr vbak~vkorg
        kna1name1 kna1land1  into  table   t_Tab   from
        vbak   join  kna1   on kna1kunnr  = vbakkunnr
        FOR ALL ENTRIES IN t_vbap
        where vbak~vbeln = t_vbap-Vbeln and
        vbak~kunnr = p_kunnr and
        vbak~audat  in  S_audat .
ENDIF.
*end-of-selection.
loop at t_vbap.
read table t_tab with key vbeln = t_vbap-vbeln.
move :
t_vbap-vbeln to t_final-vbeln,
t_vbap-matnr to t_final-matnr,
t_vbap-posnr to t_final-posnr,
t_vbap-arktx to t_final-arktx,
t_vbap-kwmeng to t_final-kwmeng,
t_vbap-cmkua to t_final-cmkua,
t_tab-kunnr to t_final-kunnr,
t_tab-audat to t_final-audat,
t_tab-netwr to t_final-netwr,
t_tab-vkorg to t_final-vkorg,
t_tab-name1 to t_final-name1,
t_tab-land1 to t_final-land1.
append t_final.
clear t_Final.
endloop.
sort t_Final by vbeln   Kunnr    matnr posnr  .
loop at t_final.
at new vbeln.
write : /1 SY-VLINE, 2 t_final-vbeln color 5 inverse.
ULINE /1(250).
endat.
write : /1 SY-VLINE, 2 t_final-vbeln color 5 inverse,
20 SY-VLINE, 21 t_final-posnr color 5 inverse,
40 SY-VLINE, 41 t_final-matnr color 5 inverse,
60 SY-VLINE, 61 t_final-arktx color 4 inverse,
80 SY-VLINE, 81 t_final-kwmeng color 4 inverse,
100 SY-VLINE, 101 t_final-cmkua color 4 inverse,
120 SY-VLINE, 121 t_final-kunnr color 3 inverse,
140 SY-VLINE, 141 t_final-audat color 3 inverse,
160 SY-VLINE, 161 t_final-netwr color 2 inverse,
180 SY-VLINE, 181 t_final-vkorg color 2 inverse,
210 SY-VLINE, 211 t_final-name1 color 1 inverse,
230 SY-VLINE, 231 t_final-land1 color 1 inverse,
250 SY-VLINE.
at end of vbeln.
sum.
ULINE /1(250).
write: /60 SY-VLINE, 'Total' ,
81 t_final-kwmeng color 4 inverse ,100 SY-VLINE,
101 t_final-cmkua color 4 inverse,120 SY-VLINE.
ULINE /1(250).
endat.
at last.
SKIP 2.
sum.
ULINE /1(250).
write: /1 SY-VLINE, 60 SY-VLINE, 'Grand Total' ,
81 t_final-kwmeng color 4 inverse , 100 SY-VLINE ,
101 t_final-cmkua color 4 inverse,120 SY-VLINE.
ULINE /1(250).
endat.
endloop.
TOP-OF-PAGE.
ULINE /50(24).
WRITE : /50 SY-VLINE , 52 'SALES ORDER DETAILS' COLOR 5,
73 SY-VLINE.
ULINE /50(24).
ULINE .
WRITE: /10 'CURRENT DATE :', 25 SY-DATUM COLOR 1 INVERSE,
100 'CURRENT TIME :', 115 SY-UZEIT color 5 INVERSE.
WRITE: /10 'USERNAME :', 25 SY-UNAME COLOR 1 INVERSE,
100 'PAGE NO :', 113 SY-PAGNO COLOR 5 INVERSE.
WRITE: /10 'LOGON CLIENT :', 25 SY-MANDT COLOR 1 INVERSE,
100 'COLON N0 :', 114 SY-COLNO COLOR 5 INVERSE.
WRITE: /10 'CURRENT REPROT:', 25 SY-REPID COLOR 1 INVERSE,
100 'LANGUAGE :', 116 SY-LANGU COLOR 5 INVERSE.
ULINE.
ULINE /1(250).
write : /1 SY-VLINE, 2 'SALES DOC NO' color 6 inverse,
20 SY-VLINE, 21 'SALES DOC ITEM' color 6 inverse,
40 SY-VLINE,41 'MATERIAL NO' color 6 inverse,
60 SY-VLINE, 61 'SHORT SALES TEXT' color 6 inverse,
80 SY-VLINE, 81 'CUMM ORDER SALES' color 6 inverse,
100 SY-VLINE, 101 'CREDIT DATA' color 6 inverse,
120 SY-VLINE, 121 'CUSTOMER NO' color 6 inverse,
140 SY-VLINE, 141 'DOC DATE' color 6 inverse,
160 SY-VLINE, 161 'NET VALUE SALES' color 6 inverse,
180 SY-VLINE, 181 'SALES ORG' color 6 inverse,
210 SY-VLINE, 211 'CUSTOMER NAME' color 6 inverse,
230 SY-VLINE, 231 'CUSTOMER CONTY' color 6 inverse,
250 SY-VLINE.
ULINE /1(250).
END-OF-PAGE.
ULINE.
WRITE: /45 ' THIS IS END OF PAGE FOR SALES DOCUMENT DETAILS'
COLOR 6 .

Similar Messages

  • Add new F4 (searchhelp) for material in sales order

    Hi there!
    I read the following related poste:
    customisation of F4 for material in sales order
    In that post Atul wanted to change an existing search help. My problem is differnet I think.
    What I have:
    In VA01 I have many different SearchHelps for the material: 9 standards and 2 from my serviceprovider. The standards have shortcuts M, A, H, K, L, N, O, P and S. The two custom ones have 2 and Y.
    in MM03 I have even more different SearchHelps for the material: maybe 23 standards and 3 customized ones. The standards have the shortcuts M, A, B, C, E, F, H, I, J, K, L, N, O, P, R, S, T, V and W (then one without ?!?), then G, U. The custom ones are 1, 2, 3, Y.
    I now want to use the searchhelp (for example) "I" (in german its "Artikel zur Liefarentenartikelnummer", so I think its about "Material from suppliermaterialnuber" in english) that I can use in MM03 as well in VA01.
    Where do I have to customize / program things to do so?
    Thanks in advance!

    Works!
    I had to include the Searchhelp MAT1I into the section "included searchhelps" of searchhelp SD_MAT1 within transaction SE11 and run the default parameter assignment (Button).
    I know it was MAT1I because I looked it up in Searchhelp MAT1_A... just to round this ticket for maybe the next readers.

  • Delivery Completed for Material in sales order....

    Hi Experts,
    I want to know the table for Materials of sales order which are completed delivery.
    e.g. : Order Qty. 5 Nos.
            Delivery Qty. 5 Nos.
         ================
          Balance is 0.
    Pl. waiting reply.
    YAB

    Thanks Prabhu,
    YUSUF

  • Difference between cost center for material and sale order

    Hi,
    I'm having an issue related to profit center. Our business of Reverse Logistics Process is taking the wrong profit center which should be taken from sale order master data, not from material master data as currently. As a developer, I'm confused the definition of profit center in this case. What are the differences between the profit center defined in sale order and in material ?
    Thanks,
    Paulb

    Hi Paul
    SAP allows you to change the PC in the sales order... If you dont change, it adopts the PC from Mat Master
    You can define substitution of PC for sales order in 0KEM and assign them in 0KEL... You can change the PC based on Sales Org, Dist Channel, Division, etc
    For a more complex logic, you can also use an exit
    br, Ajay M

  • Wrong Gross Weight for Material in Sales Order at Item Level (Shipping Tab)

    Dear All,
    Except MMR, where we maintain gross weight for material?
    Or, from where Gross weight gets detrmined in Sales Order at item level (Shipping Tab)?
    Details,
    I've 2 Materials in Sales Order, Mat1 and Mat2.
    In both the MMRs, Gross weight is 1.080 Kg
    In sales Order Mat1 has Qty 18,000 Kg and gross weight is 19,440 Kg --> which is right.
    Mat2 has Qty 2,160 Kg and gross weight is 2,332,800 Kg --> which is wrong.
    I tried with maintaing another line item with Mat2 in Sales Order, for which again wrong gross weight is calculated.
    I also tried with creating another Sales Order with Mat2, and again the same problem.
    Thanks for your help, in advance.
    Regds,
    Yogi.

    Hi,
    Thanks. That has already been checked by me, in Basic data1 --> Additional Data --> Unit of measurements
    everything is maintained correctly.
    What I have noticed is:
    Instead of obtaining Gross weight as 1.080 (which is maintained), somehow system is picking 1,080 (don't know why and from where)?
    Regds,
    yogi

  • Customisation of F4 for material in sales order

    dear all,
    while creating a sales order, when i enter material in line item, i want to customise search i.e. F4
    i want to search material on two criteria at a time
    1) material type
    2) material group.
    please give solution

    Hi,
    TO get this as per your requirement,
    First create a elementary search help through se11.
    In the  elementary search help, give the selection method as MARA , select the dialog with value restiction.
    The search help parameters as MATKL and MTART.
    Lpos and SPOs as 1 and 1 ( For MATKL)
                                   2 and 2 For MTART.
    Save and Activate it.
    Now in SE11 Give the search help name as MAT1_A and click on change.
    Click on Ok in the next dialog box.
    Go to the tab Included search helps. Click on Add button ( + button ) and give the created search help ( Zsearch help name) there.
    Save and Activate it.
    Now check for Material anywhere , you will find an extra tab as your custom tab.
    Regards,
    Sai

  • Retrieving Characteristic Values for Material in Sales Order

    Hi,
    I'm trying to create a program which allows me to extract the characteristic values of a configurable material in a sales order. I need to know which tables are used and how they are linked. Thanks

    CALL FUNCTION 'VC_I_GET_CONFIGURATION'
        EXPORTING
          instance      = vbap-cuobj
          language      = 'K'
          print_sales   = 'X'
        TABLES
          configuration = ex_tkomcon
        EXCEPTIONS
          OTHERS        = 4.

  • How Variant Configuration data stored with Sales Order

    Hi,
    I have created Sales Order with Variant Material. I have entered different Characteristic for that materail. I want to make report for these characterisctics and its values, but I am not able to get how these data stored in the system against every sales order.
    Please guide me for tables relationships and if there is any Function module to achieve same thing.
    Regards
    Bhavin Shah

    Use FM VC_I_GET_CONFIGURATION to read the configuration. Input is field vbap-cuobj.
    Regards,
    John.

  • Variant Configuration not updated in Sales Order

    We've added new variant configuration and used an ECN with a current date; and the configuration does show up in the similator CU50; however, in the sales order, using this same ECN date or even tomorrow it will not pull in.  If you use the following Monday as the requested delivery day, the new configuration will update.  Does anyone have experience with this date delay?
    Thank you,
    Laurie
    Global Electric Motorcars

    In a Sales document, VC will use the BOM_Explosion date (STDAT ?) I'm going from memory here. Look for OSS notes, 'cuz it "depends" on where it gets that date, wether its the Requested delivery date, or something else.

  • No serial no for material in sales order

    Hi experts,
    WE ARE UNABLE TO PREPARE THE CHALLAN DUE TO M/C SL.NO.NOT SHOWING IN THE SODS.PL HELP.
    where we will find this mistake and how to asiign serial no for the material
    Regards
    madhu

    its solved

  • Lock characteristic value for configurable material in Sales Order

    Is there a setting in SAP which can prevent user changing characteristic value for configurable material in Sales Order after production order created for this Sales Order? Currently, it can only works when first delivery create for this Sales Order.
    Thanks a lot.

    Hi,,
    in the characteristic goto additional data tab,
    you have a field called not ready for input.
    you select this when the value in this characteristic come by calculation based on the previous selection.
    that field will be greyed out.
    OR
    u can even select the no display check box,
    by selecting this u cant see the characteristic in the list,, it will give u a popup before leaving the screen.
    for this the char has to be a required field.
    OR
    if any of this is not working then may be u can try out with authorization management.
    thanks

  • When does the configuration get locked for changes in sales order?

    Hi Experts,
    I will really appreciate your help me in resolving this issue.
    Our client had sales order having BOM item with several sub items.
    Here we found that the user was not able to make changes to the Characterstic Value of one of the variant.
    The issue was the place where we change the characterstic  in sales order was greyed out, it was probably locked. Now even if they were unfrezing and trying to change the characteristic value the system did not allowed means greyed out.
    Can you please help me in understanding when do system locks the variants for a material in sales order, in what stage?
    Like maybe after the delivery document is created or PGI or some things else.
    since i see that the user here did delivered one of the item in the BOM subitem.
    Thanks
    Kaushik
    <Text removed by Moderator, please don't share your personal details on SCN post>
    Message was edited by: Jyoti Prakash

    Yes the characterstics were maintained for the main item.
    and the delivered item was a subitem for this main item.
    So characterstic were maintained for Item 10(Main item) but delivery was done for some of its sub item was item 100 / 120
    Also can i know where is this setting or configuration where we configure this to block the configuration if any of the subitem is delivered.
    Thanks
    Kaushik.

  • Configuration for Third Party Sales Order

    Hi All,
    I would need some advise on how should I go about to configure a third party sales order. The MM consultant has configured a special item category for it but the sales order has some incompletion data error where the schedule line could not be maintained.
    Kindly advise.
    Thanks

    Hi Lee,
    Pls go through the following links below:
    [Third party sales order|http://www.sap-basis-abap.com/sd/third-party-order-processing.htm]
    [configuration for Third party sales order|http://www.saptechies.com/process-flow-for-3rd-party-sales/]
    Hope these helps you.
    Regards,
    Krishna.

  • How to block material for a particlar sales order

    Hello Gurus
    How to  reserve a material in sales order level  for a given quantity in sales order
    If we do availability check  for that material  it should not show in unrestricted stock and  it should show in reserved  stock
    Looking for your inputs
    Regards
    Venkat

    Hi Lakshmipathi,
    It should happen for every sales order  not only one order , when ever i create sales order for particular material , quantity it should reserve the stock for that order after doing availablity check and one more thing is once the stock is reserved it should be be show in unresricted stock
    Thanks for your useful information  and i have checked in system , all the requirement you have mentioned are there in system.
    Looking for more inputs
    Regards,
    Venkat

  • MRP area for running a sale order MRP

    Hello PP experts,
    I come across a scenario where , I need to do the  MRP run for sale order in a MRP area. I have checked , I can put PIR with respect to MRP AREA , but when I open MD50 screen for running MRP for sale order. I did not found the MRP AREA
    field in the screen.
    In short , my question is , How the sale order MRP run ,  system will do in a MRP
    area defined for the material ?
    Here , I have already defined the material is MRP AREA and also I have created
    MRP area segment in the material master.
    I have also configured the MRP area in SPRO.
    Waiting for your reply.
    Regards,

    Hello ,
    Thanks for reply.
    I am using plant MRP area. For FERT , I am using make to order strategy 20.
    I want to specify the real problem. It is like below.
    Suppose 'A ' is sumassembly goes to a variant configured MTO KMAT say 'V'.
    The same 'A'  subassembly is a child for a make to stock FERT say ' S'.
    Presently  using strtegy 11 for MTS fert 'S' and 10 for the subassembly ---'A'.
    Now the planner want to plan for the subassembly.
    He is putting the PIR for the subassembly as sales order is not availble and he is putting the PIR for FERT 'S'.
    When sales order is coming then additinal quantity planning is happening.
    So I suggested to use the strategy 70 for subassembly 'A' , so the sales order (of 'V') OF  quantity will be offset for the PIR of the SUBASSEMBLY 'A'.
    But the consumption of PIR of 'A' will  be apllicable to MTS  FERT that is 'S'.
    So how can we prevent the system from offsetting the dependent requiremet triggered from the PIR of 'A'.
    That means the consumption  (that is the usage of stategy 70) of the FERT requirement should only work for ' A' and sales order based KMAT 'V'.
    The same offseting should not work for subassembly 'A' and MTS FERT 'S'.
    For for Make to order KAMT 'V' , if I use MRP area and do the sales order planning in MRP area. Will I get the desired result ?
    Waiting for reply.
    Regards,
    Ravindra

  • One line item delivery for 3rd party sales order

    Hello Experts,
    We have configured a 3rd party sales order process where the PR gets created. We are using scheduling agreement(PO) and creating Schedule line and doing a GR for partial line items.  The stock is recieved as a Sales Order stock.
    But when i create a Sales Delivery the delivery document copies all the line items (ieven for the ones which we don't have GR)  from the sales order and we have to manually delete the line items from delivery doc.
    Is there a way i can restrict the delivery document to only copy the line items from the sales order  for which the sales order stock is available? If so how can we do that?
    Appreicate your help.
    Thanks
    Arpita Rani

    Hello All,
    We have configured a 3rd party sales order process. The schedule line category is configured with account assignment categoory as "M". when we are creating GR the Moving average price of the material  is not getting updated.
    But if i replace with "E" it is getting updated, but the CO-PA is not getting generated for Profitability segment reporting.--we need profitability segment reportng.
    Can some one tell me how we can update the moving average price using acc. asssignment category type "M" at the same time the Profitability segement information is updated.
    THanks in advance
    Appreciate your help
    Arpita Rani

Maybe you are looking for