Deleated Valuation Type --Need Error Message while creating Purchase Order

Hi,
In our scenario , i need a message should flash , if enduser by mistake select the deleated valuation type while creating Purchase Order.
In current configuration , it's not there.
Await your expert opinion.
Regards
Shyam Kogta

I investigated this recently in our company and gave this answer:
A deletion flag does not restrict anything. It is just an indicator to tell SAP that you want this record to be deleted with the next archiving run.
The archiving run then checks if a deletion is possible or not.
So you can set such deletion flags long time in advance, even at a moment where you still have inventory.
To block materials from beeing used in business transactions, usually the material and sales status are used. But these statuses can only be set at overall, plant and sales organisation level.  
In some transactions SAP issues warning messages if a material has a deletion flag. This messages could be customized to be an error and prevent any business. However, this type of restriction is not designed for our machine, as we use the material and sales status.
Anyhow, there is no message for valuation types that have a deletion flag in procurement area.
There is one for goods receipts (but only for a certain industry solution that is not used by us)
There is one for deliveries ( VL 211 ).
The valuation types are defaulted from customizing to the transaction e.g. purchase order. Or from info record to the PO. So a standard purchase order gets valuation type  ABC , while an internal order (production) gets the DEF.  Usually there should not be a need to change this valuation type manually.
So the only solution is to archive the material master at valuation type level.
But I guess, you already have POs with that wrong valuation type, which means you have to archive the POs first. It you have already batches with wrong valuation type, then thy have to be archived as well before a material can be archived.
And finally if you had stock in current year, then you can archive your material in year after next year, as SAP archives only materials that have no stock in current and previous year.

Similar Messages

  • What is t-code or path see the error message while creating Purchase order

    Hi,
    I am creating PO and I have not maintained Info Record.While cretaing PO it is throwing warning message.Now I want to convert this to error message.How to do this.
    Regards
    Raghavendra Pai

    Hi,
    You can alter the message at SPRO->Materials management->Purchasing->Environment data->Define attributes of system message.
    Here in the system message, go to  message number 341, then change category from W to E.
    Regards

  • Error message while viewing Purchase order summary

    Hi all,
    we are in 11.5.10.2 , we are getting error message while viewing purchase order "Currency formatting cannot be performed without a currency code".
    is it beacuse of currency not popluated in Purchase order?
    Verified metalink note - 960504.1
    Thanks
    Kiran

    Hi Kiran,
    Verified metalink and other areas but could not get any appropriate solution.
    I tried to reproduce the issue in various available environments...but no luck!
    My guess would be the datafix/BUG that you have referred in the MOS note 960504.1
    Please check with your DBA for this patch in test instance.
    Thanks
    -Arif.

  • Error message while creating production order with KMAT material strategy25

    Hi PP Gurus I am running variant configuration cycle...Strategy 25, Custermer Req KEK (KMAT Matrl)
    Sales order & MRP Picked the components correctly as per the dependencies
    written. So Planned order generated against sale order.
    When I tried to convert planned order to Production order...I am getting the
    below error message..
    Error Message:
    You cannot make an assignment to make-to-order stock Message no. CO684
    Diagnosis The component cannot be allocated to an individual stock because
    make-to-order production and engineer-to-order production cannot be executed
    with this order.
    A possible cause is that you are trying to create an order with reference to a
    sales-order/project, where an account assignment to a sales order/project is not
    allowed in the settlement profile that is assigned to the chosen order type.
    This is inconsistant.
    System response The following responses are possible:
    Order processing is cancelled.
    The system resets the special stock indicator back to the original value.
    Procedure Choose another order type.
    I used order type with SD1 as settelement profile.
    OVZG: default 046, settlement profile = SD1
    OPJH: Settlement profile = SD1
    Plz through some light on this if u have worked on Variant Configuration/MTO
    settlements.
    Question:
    1) Is creation of production order with KMAT material supported by SAP?
    2) If yes, why the above error occurs?
    Waiting for Ur reply
    With Best Regards

    Dear R.Brahmankar,
    I have check on the note, but it is not relevant to ecc6. The current system default setting is :
    Standrad setting for reqt class 046
    Special Stock E
    Acct Assgt Cat. M
    Valuation M
    Settlmt Profile SD1
    However if I change the Acct Assgt Cat. from M to E. It resolve the problem. I would like to know is this the right solution?
    Config in Acct Assgt M
    Consumption Posting = E
    Config in Acct Assgt E
    Consumption Posting = '  '
    In F1 key of Consumption Posting field it shown following:
    To flag the sales order item as cost- and revenue-carrying, enter an "E" (settlement via sales order).
    If you do not wish to flag the sales order item as cost- and revenue-carrying, do not enter anything.
    Dependencies
    If you are working with nonvaluated sales order stock, always flag the sales order item as cost- and revenue-carrying.
    If you are working with valuated sales order stock:
      In the case of complex make-to-order production, flag the sales order item as cost- and revenue-carrying
      In the case of sales-order-related mass production, do not flag the sales order item as cost- and revenue-carrying
    Should we change to E?
    Regards,
    Ong

  • Price error message while creating production order- Urgent

    In past i was getting warning message of 'No price could be determined for material/batch and Plant" message no CK 465 at the time of saving the production order after creation but now it has stopped even though there is no price in material amster.
    I changed the configuration to Error message (TC: OPR4_PPCO) and it works but why not for warning message?
    Thanks

    Please confirm where i should check for Activity price?
    But then why we are able to get error message.
    Reexplain:
    Creating a production order which do not have standard cost in material master.
    While saving, getting a error message'No price could be determined.......'
    Now changing the message to Warning through configuration using TC: OPR4_PPCO
    Now again creating the production order and saving
    Expectation to have same message as warning but not getting anything.
    Thanks
    Edited by: vineet garg on May 1, 2008 12:14 AM

  • Error message while creating transfer order

    Hi Experts,
    My objective is to create a transfer order from a transfer requirement programatically.
    I am trying to create a transfer order using FM L_TO_CREATE_TR programatically. Prior to this FM, I am calling FM L_TR_CREATE to create a transfer requirement. I am passing this transfer requirement to FM  L_TO_CREATE_TR to create a transfer order.
    But on execution of L_TO_CREATE_TR , I am getting an error message: THIS SCREEN IS ONLY ALLOWED FOR MANUAL TRANSFER ORDERS as a status message in the program.
    Please tell how to solve this.
    Thanks,
    Sangeeta.

    Hi,
    Check whether following link is helpful
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-wm/lt04-from-lb01-1239928
    Regards,
    Dhana

  • Deletion marked material should give error message while creating proc ord

    Hello,
    i had marked the material for deletion through T-code MM06 & saved.
    Now when i'm creating the process order for the deleated material, System is giving only Warning message that " Material XXXX in plant XXXX has been marked for deletion."
    But my requirement is system shold give an ERROR message while creating Process Order for the deleted material.

    Yes Brahman is Right,
    Check the followig..
    Go to OMCQ and change the message category  to E- Error message instead of W- Waring message in Message no M7 127, but
    not  M7 121.
    and check it,
    Regards,
    Pavan idlur.

  • Error message while creating or editing a report

    Hi, we acquire the Crystal reports Ver 2008 type full, and this moment we are having an error message while creating or editing a report, the message suddenly appears saying:
    Crw32.exe has enconutered a problem and needs to close.
    Is there a patch available or what can we do?
    Thanks.

    Hi Lucus,
         This is to general an error, 1st try to reinstal the software, make sure you have admin rights on the PC, and try again.  If you still get the error, I would call the support number, and let them help you out.   You may need to know,   the type of PC or server the software was installed on, the current os, available memory... etc    For now, I would go to windows (If that is what you are running ) and re-install or repair the software.

  • Error message while creating an inbound delivery to generate an idoc

    hi,
    i am getting the following error message while creating an inbound delivery(vl31n) where the message has to be sent ot decentralized warehouse mangament using idoc .
    ." No recipient could be determined for object BUS2015 method SAVEREPLICA"
    Procedure for System Administration
    The system attempts to determine a recipient for object BUS2015 method SAVEREPLICA using the filter object types WHSE_NO. The system cannot determine a recipient. Define a filter object type WHSE_NO with a valid filter value for recipient determination for object BUS2015 method SAVEREPLICA.
    need help
    regards
    leo

    Inbound delivery is not part of Sales and Distribution. You might want to move your post to either the Logistics Materials Management (MM) forum or the Workflow forum.
    Also sometimes search for OSS notes by the message class and number helps.

  • Error message while creating Appropriation Request

    Hey there,
    I am getting Error message while creating Appropriation Request.
    I have done all the confiig according to SAP Best Practices U30 Investment Management.
    When going into transaction IMA11(Create an AR) I can full in all fields but as soon as I click on the Control Tab I get a Run time error. Also when attempting to save the AR without clicking on the Control tab I get this message.
    Any help would be greatly appreciated
    RAISE_ exception
    Runtime Errors         RAISE_EXCEPTION                                                            
    Date and Time          18.07.2011 07:15:07                                                                               
    ShrtText                                                                               
    Exception condition "ERROR_IN_STATUS" raised.                                                                               
    What happened?                                                                               
    The current ABAP/4 program encountered an unexpected                                         
         situation.                                                                               
    Error analysis                                                                               
    A RAISE statement in the program "SAPLAIA_TOOL" raised the exception                         
         condition "ERROR_IN_STATUS".                                                                 
         Since the exception was not intercepted by a superior program                                
         in the hierarchy, processing was terminated.                                                                               
    Short description of exception condition:                                                                               
    For detailed documentation of the exception condition, use                                   
         Transaction SE37 (Function Library). You can take the called                                 
         function module from the display of active calls.                                            
    Trigger Location of Runtime Error                                                                
         Program                                 SAPLAIA_TOOL                                         
         Include                                 LAIA_TOOLU11                                         
         Row                                     119                                                  
         Module type                             (FUNCTION)                                           
         Module Name                             AIA_TOOL_GET_STATUS                      
    Source Code Extract                                                                               
    Line  SourceCde                                                                               
    89 *                TYPE       = SY-MSGTY                              
        90 *                CL         = SY-MSGID                              
        91 *                NUMBER     = SY-MSGNO                              
        92 *                PAR1       = SY-MSGV1                              
        93 *                PAR2       = SY-MSGV2                              
        94 *                PAR3       = SY-MSGV3                              
        95 *                PAR4       = SY-MSGV4                              
        96 *           IMPORTING                                               
        97 *                RETURN     = ls_return.                            
        98 *   endif.                                                          
        99 *   if not ls_return is initial.                                    
       100 *      append ls_return to return.                                  
       101 *      raise error_in_status.                                       
       102 *   endif.                                                          
       103 *                                                                   
       104 *  Füllen der Ausgabetabellen                                       
       105    perform fill_output_tables tables lt_status                      
       106                                      lt_jsto                        
       107                                      et_appreq_status               
       108                                      et_appreqvarnt_status          
       109                                      et_appreq_user_status          
       110                                      et_appreqvarnt_user_status     
       111                                      lt_objnr                       
       112                                      lt_objnr_varnt                 
       113                                      lt_return                      
       114                               using  i_language                     
       115                                      i_with_text.                   
       116                                                                     
       117    if not lt_return[] is initial.                                   
       118       append lines of lt_return to return.                          
    >>>>>       raise error_in_status.                                        
       120    endif.                                                           
       121                                                                     
       122                                                                     
       123 ENDFUNCTION.

    Hi,
    You said you are trying to do this stuff in IDES right.
    If you are using IDES provided by a company and where many people play on IDES, then you can get many such issues...
    This is by our experience.  Today you do something in IDES and tommorow that thing or config is screwed up by others.
    If you have your own IDES, then check the suggestion given by the forum Guru's.
    Regards,
    SB

  • Error Message while creating connection pool

    Hi all,
    I got the following error message while creating connection pool for the
    SQL Server thru the Application Server Admin Console.
    The message is,
    An error has occured.
    Operation 'create.Jdbc.ConnectionPool' failed in 'resources' Config Mbean. Target exception message :
    JdbcConnectionPool Already Exists: cannot add duplicate.
    But the connection pool for the SQL Server was not there in the list.
    What may be the possible reason for this error.
    i was trying to deploy a BMP entiy bean using the Sun Application Server.
    Prior deploying i just tried to create connection pool and test the connection using the Admin Console
    Please help me by providing a solution.

    Kriti Sundar Mazumder wrote:
    Hi
    I am getting an following error message, while creating database connection pool
    in weblogic 7.
    "<Jun 18, 2004 4:52:36 AM CDT> <Error> <JDBC> <001060> <Cannot startup connection
    pool "MyJDBCConnectionPool" java.sql.SQLException: [IBM][JDBC Driver] CLI0647E
    Error allocating DB2 environment handle, rc=-1.>"
    Can anyone help me out in this regard
    Regards
    KritiHi. I am no expert, but it sounds like a problem with the privileges the user
    has... The best thing is to step back to a simpler environment. Can you try
    connecting to DB2 with a simple program like utils.dbping? Please look at our
    driver docs for the DB2 driver, because there are several variations in connect
    properties depending on the type of DB2 you are connecting to...
    Joe

  • Error message while creating database

    Log error
    while creating new database
    Robot-properties
    XML Parsing Error: junk after document element
    Location: http://portalserver/psconsole/faces/search/RobotPropertiesHome.jsp
    Line Number 18, Column 1:<body id="_id3" onload="return _id3_jsObject
    I have created my new search engine .
    and the robot is not running.I getting log error.
    and no directory is created with the search name.
    please help me with the fields..
    creating search server..
    required Port:
    required Configuration Name:
    Required Instance:
    *Web Container Administration*
    Required Administration Host:
    Required Administration Port:
    Required Administrator:
    Required Administration Password:
    *Web Container Directories*
    Required Install Directory:
    Required Instance Directory:
    Required Document Root Directory:

    Kriti Sundar Mazumder wrote:
    Hi
    I am getting an following error message, while creating database connection pool
    in weblogic 7.
    "<Jun 18, 2004 4:52:36 AM CDT> <Error> <JDBC> <001060> <Cannot startup connection
    pool "MyJDBCConnectionPool" java.sql.SQLException: [IBM][JDBC Driver] CLI0647E
    Error allocating DB2 environment handle, rc=-1.>"
    Can anyone help me out in this regard
    Regards
    KritiHi. I am no expert, but it sounds like a problem with the privileges the user
    has... The best thing is to step back to a simpler environment. Can you try
    connecting to DB2 with a simple program like utils.dbping? Please look at our
    driver docs for the DB2 driver, because there are several variations in connect
    properties depending on the type of DB2 you are connecting to...
    Joe

  • Warning to Error Message while creating Shopping cart

    Hi,
    How to make a warning message to error message while creating a SC against the Cost Center when the cost center is closed in SRM 4.0.
    Currently we are running on SRM 4.0 with ECC 5.0 as back end and user are able to raise a SC and POs even the cost center is closed.We want to make it as error message and stop users to create a SC /PO against those closed Cost centers.
    Thanks and Appreciate your inputs.
    Regards,
    RK

    Hi Richy,
    The cost centre which you have maintained is locked for postings. Try to change the cost center and the warning message  should be gone.
    If you still want to chnage the message from warning to error,you can do in SPRO-->img->SRM->SRM Server -> Cross app basic settings->message control -> Influence message ctl.
    If an entry doesnt exist for this message in SPRO,make an entry in view BBPV_PDMSG (Tranx: SM30).
    See these related threads for more pointers:
    Re: Error Messages in BBP_PD
    Re: How to change an error message to a warning message in SRM
    Re: Where can I change type of message BBP_PD 083 from warning to error
    BR,
    Disha.

  • Unable to capture error message while creating an SO using bapi

    Hi,
    Can anybody suggest how to capture the error message while creating a SO using BAPI.
    I have developed a customeized BAPI and using the BDC format to create the SO.
    Note: i am using a call transaction method for the BDC.
    I am sending the message into message1.
    but i am unable to send the same into an internal table
    shyam.

    Hi Shyam
    If my understanding is correct, you are performing BDC process within the customized BAPI...
    And you want to collect the messages from BDC to an internal table and pass to the output.
    Proceed as below:
    1. While calling BDC, use CALL TRANSACTION .... with addition: <b>MESSAGES INTO itab</b>. The structure of itab should be like <b>BDCMSGCOLL</b>.
    2. Now the messages will be collected in ita.
    3. Prepare the messages using FM: <b>FORMAT_MESSAGE</b>
    4. Collect to the returning table.
    Hope this helps...
    Though i could not understand the reason of creating a BDC within BAPI, you can opt for loading orders via BAPI's like: BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2.
    Kind Regards
    Eswar

  • Warning to error message while creating a SC

    Hi,
    How to make a warning message to error message while creating a SC against the Cost Center when the cost center is closed in SRM 4.0.
    Currently we are running on SRM 4.0 with ECC 5.0 as back end and user are able to raise a SC and POs even the cost center is closed.We want to make it as error message and stop users to create a SC /PO against those closed Cost centers.
    Thanks and Appreciate your inputs.
    Regards,
    RK

    Use the BBP_DOC_CHECK_BADI.
    1. Get the backend message with a getmessage* FM.
    2. Check if it's a closed cost center warning.
    3. Add your own error message (can be just a copy of the message you retrieved) as an 'E' error
    Because this is a backend warning, you can't influence it in SRM with the message control in SRM unfortunately.
    Regards,
    Robin

Maybe you are looking for

  • My ipod keeps flashing on and off

    My IPOD keeps flashing on and off how do i fix it

  • What are ancillary files associated with trash?

    Most of the items I put in the trash now produce a window which mentions ancillary files. What is the point if this extra window?

  • NWDS: NetWeaver Development Studio

    Hi, I begin to learn to create a Java mapping and I have a question about NWDS. Our NWDS uses the version 2.1.2 of Eclipse. Is it normal? Is there a mean to use the version 3.0? (more user-friendly) Thanks Mickael

  • Tables in PA (Project Accouting)

    Hi Guys, I earlier worked on OM Apps, now i'm in to new module PA (Project Accouting) me being new to this module, can anyone give an overview about this module with the important TABLES, API ....... if anyone has material on this, it would be great

  • PSE 10 Wont access Paper Profiles for printing

    I have my ICC Profile installed.  However I can not access the paper types when trying to print on my epson 1280.  Paper type only shows "Unknown" Im going crazy.   Can someone help?