How to avoid material listing Check

A list of order types to be excluded from material listing through a custom table.
For all those order types entered in the custom table the system will not perform any material listing check, regardless if the material is existing in the material listing.
Can you please tell me any particular exit or where can i code this.???
Many Thanks in Advance,
Rajendra

Hi,
You have available structure KOMKG with sales order header fields and KOMPG structure with sales order item fields.
You control if the requirement is fullfilled setting the sy-subrc field:
- sy-subrc = 0 -> requirement fullfiled (listing/exclusion will be determined using lisitng/exclusion type the requirement is assigned to in the lisiting/execusion procedure)
- sy-subrc = 4 -> requirement not fullfiled
Sample code:
  SY-SUBRC = 4.
*--check the exclusion only for sales org DE01 and sales order type ZOR
  IF KOMKG-AUART EQ 'DE01' AND
     KOMKG-VKORG EQ 'ZOR'.
    SY-SUBRC = 0.
  ENDIF
In KOBEV part you can use only KOMKG structure or just set sy-subrc = 0 if you're not able to check you condition based on header fields, in the KOBED part you can use both header and item structures.
Regards,
Marcin

Similar Messages

  • How to make material availability check work during Work Order creation

    Hi Experts,
    Kindly advice about these matters:
    1. How to make material availability check work during Work Order creation?
    My requirement is Work Order can not be created when it has missing parts. I have set the config to '3' can not created when is has missing parts, but it still does not work.
    I have implemented SAP Notes 1148139 on my system (SAP ECC 6 Ehp 5) also, but still does not have any effect.
    I must not set the config Res./Purch Doc creation to 'immediately', because it does not fit to my user requirement. Is there anyone knows how to solve this requirement?
    2. How to make information message/ Availability check screen appear when sparepart is missing, without clicking Availability Check button? for example: appear when clicking Save button.
    Thank you
    -amoonra-

    Hi Maheswaran,
    I have implement the prerequisite notes. (Notes 790219 and 1034962). Do you know why it is still does not work?
    Thanks
    -amoonra-

  • How to avoid multiple listing for same artist?

    How to avoid multiple listing for same artist?

    Sounds like there might be blanks in the artist name.
    For instance "Lou Reed" and "Lou Reed_" will not match.
    (Pretend the underscore _ is a blank).
    Select all the Lou Reed songs, Get Info, and type "Lou Reed" in the artist field. That should fix it.

  • How to avoid directory listing in java web applications.

    how to avoid directory listing in java web applications.
    That is on typing the url of the application it should not the directory listing. Welcome tag in web.xml doesnot fully solve the problem, since still the images folder etc is still accessible

    I know of two ways.
    If you're using tomcat and have access to the conf directory.
    Edit your $TOMCAT/conf/web.xml. Find your default servlet properties and change
      <servlet>
        <servlet-name>default</servlet-name>
        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
        <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
        </init-param>
        <init-param>
          <param-name>listings</param-name>
          <param-value>true</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>to  <servlet>
        <servlet-name>default</servlet-name>
        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
        <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
        </init-param>
        <init-param>
          <param-name>listings</param-name>
          <param-value>false</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>And restart your server. This will affect every directory on the server, and return a 405 directory browsing forbidden error.
    Another way, is to place an index.jsp inside each directory with a simple one line redirect to your applications CONTEXT_PATH.response.sendRedirect("http://yourserver/yourapp/");This will only affect specific directories which contain these index.jsp files.
    Hope this helps

  • How to avoid material master data migration of inactive materials to SRM

    We are replicating material master from R3 4.6b to SRM 5.0 system.  Under COMMPR01 , we can see the product status as deleted or locked .
    How we can avoid the master data replication of  materials which are already flagged as inactive (deletion) in R3.
    Pls suggest.
    Regards,
    Avinash

    Hi
    Please try this ->
    1) It is possible to use product_id without needing to replicate material masters from R/3 to SRM. For this to work you have to set the flag "Do not check product" in customizing
    (see SRM Server > Master Data > Define External Web Services).
    We do it like that and it works perfect for us. Only annoyance is, that we have to put leading zeroes in the product_id field.
    "Do not check product" is used to avoid product check in SRM (to avoid replicating products into SRM), so they are not checked against SRM product master.
    But this is not related to R/3 check.
    In a classic or extended classic scenario, SRM will check that this material exists in the backend, especially for the current plant (location), before creating follow on doc.
    As you created your catalog item without zeros, I guess SRM is sending this material to R/3 that does not recognize it.
    Then you have this error message. Adapt your product IDs to be aligned with R/3 material master.
    2) Try to run the report BBP_PRODUCT_SETTINGS_MW, there you select user as SRM instead of CRM and select service product active
    3) Did you already checked OSS note 722600 and 366135 ? Also, Check the SAP OSS Notes -  786345, OSS Note 456753. It talks abt the internal and external representation of product ID in catalog and R3 system.
    Related useful pointers ->
    Product xx does not exist in plant xx or it has been flagged for deletion
    Stock reservation movement (field XWAOK) is not flagged in ECC ??
    Product XXX  does not exist in plant YYY or it has been flagged for delete.
    material deletion flag
    Product XXX does not exist in plant YYY or it has been flagged for deletion
    Hope this will help. Do let me know.
    Regards
    - Atul

  • SHDB/BDC - PA40 - How to Avoid Absolute List Position of PA40 Action

    The following code was generated by SHDB for transaction PA40.  It's picking a particular action from the list on the screen (23rd item from the top).  This is almost certain to change in production because our dev environment isn't configured exactly the same.
    Is there anyway I can avoid using an absolute position in my code do perform this logic?  Thanks!
        PERFORM bdc_dynpro      USING 'SAPMP50A'                '2000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'              'T529T-MNTXT(23)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'              '=PICK'.
        PERFORM bdc_field       USING 'RP50G-SELEC(23)'         'X'.

    You can even do an action from PA30. I usually do BDCs for Action via PA30. There won;t be any issues related to config variations in it.
    A

  • How to avoid: Material data locked by another user

    Hi,
    'Material data locked by another user'
    We want to avoid this kind of situation  so that two different users can do the transactions on same material at same time.
    Regards,

    hi,
    As per SAP std. configuration its not possible...And if we the reason...then it good for a user...
    so, that once the user 1's work is not done fully user 2 can't work untill then and by this we avoid making of extra GR/IR or any of the duplicate documents...
    Regards
    Priyanka.P

  • Order types entered in a Ztable, system will not perform material listing.

    Hi Guys,
    I have a requirement where user will enter the list of order types to be excluded from material listing  through a custom table.
    For all those order types entered in the custom table the  system will not perform any material listing check, regardless if the material is existing in the material listing.
    Can you please tell me how to do this through coding???Any particular exit or where can i code this.???
    Many Thanks in Advance,
    Rajendra
    Moderator message : Requirements dumping not allowed, show the work you have already done.  Thread locked.
    Edited by: Vinod Kumar on Jan 13, 2012 4:08 PM

    Swagat,
          Thank you for your response, what I am still not getting is - even in manual transfers via LT10 shouldn't the system restrict the movements to certain storage types? If you think from the shopfloor perspective the WM material movements are done at WM level only - meaning moving materials from one storage type to another and LT10 is widely used as it is one step tcode.
    I know we can restrict movements when storage class is assigned in search strategy, but this applies only to hazardous materials. The material in question is not hazardous so I am still thinking if there is any way to restrict material movements.
    Do you have any documentation link which mentions search strategies are not taken into consideration during manual transfer? If yes please send that would be helpful.
    Once again thanks for your time.

  • Work Order Material Availability Check Customizing

    Hi,
    I am currently trying to set up material availability check in the work order before saving. I am testing it by entering a material in the work order for which there is zero stock. Then clicking on ORDER > FUNCTIONS > AVAILABILITY > CHECK STOCK MATERIAL. However SAP would return 'All checked materials in order 100000317 are available' in status bar.
    My customizing is as follows:
    Define Checking Rules (SPRO):
    PM     Checking rule for plant maintenance
    Define Scope of Check (OPJJ):
       Availability Check: 01 (Daily Requirements)
       Checking Rule: PM (Checking rule for plant maintenance)
       Availability check: 2 (Check availability during order release)
        Stocks
        Include safety stock: X
        StockIn Transfer: X
        Incl. quality insp. stock: X
        Replenishment lead time
        Check without RLT: X
        In/outward movement
        Incl. purchase orders: X
        Incl. purchase requisitions: X
        Incl. dependant reqs: X
        Include reservations: X
        Include sales reqmts: X
        Include deliveries: X
        Incl. planned orders: X (check all planned o)
        Incl. production orders: X (take all production)
    Define Scope of Check (OIOI):
       Plant: (Corresponds to Work Order)
       Order Type: (Corresponds to Work Order)
       Check material availability when saving order: X
       Check rule: 02 (Corresponds to material being used)
       Release Material: 3 (No release if parts are missing)
       PRT Availability: No check
       Capacity Availability: No check
    I would appreciate if you could indicate if I am missing something in the customizing or if there is some sort of error. I would like SAP to display a system message on the status bar stating that this material is not available once the user enters this material.
    Regards,
    Nikolai

    I'am facing the almost the same problem. Could anyone tell me:
    1. How to make material availability check work  during Work Order creation?
    My requirement is Work Order can not be created when it has missing parts. I have set the config to '3' can not created when is has missing parts, but it still does not work.
    I have implemented SAP Notes 1148139 on my system (SAP ECC 6 Ehp 5) also, but still does not have any effect.
    I must not set the config Res./Purch Doc creation to 'immediately', because it does not fit to my user requirement. Is there anyone knows how to solve this requirement?
    2. How to make  information message/ Availability check screen appear when sparepart is missing, without clicking Availability Check button? for example: appear when clicking Save button.
    Thank you
    -amoonra-

  • Material Listing

    Hi all,
    I have a problem.The quotation document type is activated for listing, but no condition record is maintained for material or basicallay any combinations.Hence when I create a quotation, after entering sold to, ship to XXX and the material, system is throwing an error that Material is not listed therefore not allowed.I accept this.But when I just change the Ship to party yyy,  system is not showing any error and is creating order.I indeed can't accept this as no condition record is maintained even for ship to yyy or any combination.
    I activated Listing/Exclusion analysis while creating quotation and checked for Ship to YYY, system is showing condition record is missing for all the combinations
    Has anyone faced this problem? Why system behaves so.Any partcular setting controls this? Kindly give some inputs on this
    Regards
    Mano

    Hello Mano
    Material Listing works with 2 types of Partners- Sold-to (SP) and Payer (PY). It does not take into account SH partner or changes to SH Party.  So once it failed the first time for a given SP or PY,   it won't do the check again if you changed the SH partner.
    Here is the help documentation which talks about it.
       "Material listing applies to two partner functions in Sales & Distribution: the sold-to party and the payer.
       In the standard version of the SAP System, when the sold-to party and payer are different, the material listing check is as   follows:
    ·        If the sold-to party has a material listing, the system only checks this listing (no other check takes place).
    The material listing for a sold-to party can include materials that do not appear in the material listing for the payer (for example, in the case of materials that are rarely ordered or only in exceptional cases)
    ·        If there is no listing for the sold-to party, but a listing has been created for the payer, the system automatically checks the payeru2019s listing.
    ·        If no material listing data exists for either the sold-to party or payer, then the customer may order any material."
    Also OSS note  listed below confirms the same concept; Check it out.  Hope this clarifies your question.
    863767 -FAQ: Listing/Exclusion

  • Hi regarding material availability check

    hi
    can any body let me know how to perform material availability check for a sales order to promise delivery date to customer.
    regards
    jaya prasanna kumar.d

    Hello
    Please check if setting for Res/Purc.req. is set as 'from release' or 'immediately'. I assume you system is set as 'from release' .
    Via note 790219 the material availability check was corrected and has replaced note 168373. From prospect of standard it does not make sense to execute a detailed material availabilty check when the material is still not mrp relevant. The detailed material check makes only sense when the component is relevant for MRP. As still mentioned above this MRP relevance can be handeled via order type customizing. When the order type set the MRP relevance to 'immediately' instead of 'from release'.
    For influencing the MRP relevance you can change the default values of the order type or set it manually. Via the follwing customizing path you can set the MRP relevance to 'immediately' for the order type and plant:
    Plant Maintenance
    -> Maintenance and Service Processing
       -> Maintenance and Service Orders
         -> Functions and Settings for Order Types
           -> Define Change Docs, Collective Purc. Req. Indicator, Operation No. Interval.
    Regards,
    Jane

  • How do I transfer my checked songs from one computer to another - tried exporting library playlist etc but no luck! Please help! I have 26,000 songs - 17,000 are selected and I can't run down the list on my new computer and re-check 17,000 songs! Thanks!

    How do I transfer my checked songs from one computer to another - tried exporting library playlist etc but no luck! Please help! I have 26,000 songs - 17,000 are selected and I can't run down the list on my new computer and re-check 17,000 songs! Thanks!

    Make a smart playlist of your whole library but only checked songs - #4 on  http://support.apple.com/kb/ht1801
    Highlight all files in that playlist, then drag to the other drive.  This isn't preserving any playlists or whatever, just copying files from one drive to another.
    You might want to delete the smart playlist this once you are done because it will probably gobble up resources with that many files.

  • Cheque printing. How to avoid last page in case of check printing in F110?

    F-68 prints only one page whereas F110 prints 2 pages.
    How to avoid last page in case of check printing using F110? Is there any other option than changing the Script.

    Hi,
    Im also facing the same issue. Generates 1 page with F-58 but 2 pages with f110. Kindly let me know how to resolve.

  • How to find the list of  different material in other SAP system.

    We have two SAP different systems.  there is an integration between two systems.
    One system has 2 millions materails (parts) and other system has 6 millions materails (parts).
    I need to know the list of what are those 4 miilions of materials in the other sap system .
    How can I find out the list of the 4 millions additional material list  ?
    Can you please help me .
    YOUR HELP WILL BE HIGHLY APPRECIATED.
    Thanks in advance.

    Hi,
    Compare two different environments/systems in t.code: SCU0 . Also you can try with OY19
    Regards,
    Biju K

  • How to avoid sample printout in check printing

    hi
    in fico check printing i have copied the standard script F110_PRENUM_CHCK
    and devloped a z  to add the company logo
    the problem with the printout is that it displays an additional sample printout on first page
    followed by the required print on the next page
    how to avoid the sample printout .
    the check printing is done through f-58
    thanks
    regards
    darshan

    Hello Darshan,
    In F-58: "Output Control" block there is a checkbox for "Test Prinout".
    Plz uncheck the box & you will not get the sample print out.
    Hope this helps.
    BR,
    Suhas

Maybe you are looking for