Exit/badi to restrict output types while creating PO

Hi,
Please let me know how to suppress output types while creating/saving a PO. I need to find an exit/badi where I can get all the output types with status vstat = 0. Before saving the PO, I need to manipulate the nast records/output types, so that only PO will be processed successfully for those output types which I need.
Please help me on this...
Regards,
Vikram.

Hi Vikram,
Output types are normally handled in configuration. In the configuration you can determine which output types are valid for the object in question and for the function (create or change).
Also in the configuration you will be able to maintain requirements (coding), i.e. specifiy conditions when an output type should be surpressed or not ->Tx OMFT.
Discuss this with your MM consultant.
KInd regards,
Robert

Similar Messages

  • Can we restrict storage type while creating a order in COR1?

    Hi
    When we create a process order in COR1 then we enter material list... in that we specify plant stor loc of the material..
    my req is if the material type of material is XXX then if its stor loc is ZZZ then it shud look for only 3 storage types ie A, B & C.
    Where can I put this condtion..
    I tried writing code in user exit EXIT_SAPLCOSD_001 but not getting how to apply the logic.. plz guide on this...
    Regards

    Hi,
    In include ZXCO1U0
    Right this code
    If STRLC_HEADER_I  ne 'A' and  STRLC_HEADER_I ne  'B' and  STRLC_HEADER_I ne ' C'
    Message 'Error' Type E.
    Endif.
    Revert back if you need further help
    Regards,
    Vishal

  • How/ where to  check output type while saving sales order for confirmation

    Hi All,
    Could you anyone pls let me know How/ where to  check output type while saving sales order for confirmation.
    Present scenario : when the Sales Order is created the Order confirmation is sent irrespective of credit block of the sales order.
    Requirement : Order confirmation “ZA00” sent to the partner only for those Sales orders which does not have credit block and ZCLE sent to the partner if the order has credit block.
    Now i want to know where exactly to check the output types "ZA00" and 'ZCLE' based on the credit block to send the confirmation to partener.
    Quick help highly appreciated......
    Preetham

    Hi Santosh,
    Thanks for the info. But here in this case I have to send the confiramation based on credit limit check. If credit limit check exceeds "ZCLE' should go as confirmation else 'ZA00' should go as confirmation.
    Where can we check the credit limit whether it exceeded or not. My doubt is whether it is config issue or do we need to write code user exit or routine to send the specific output type for confirmation.
    Thanks & Regards,
    Preetham

  • Valuation type while creating BOM

    Hello Experts,
    My requirement is that, I should be able to select valuation type of material in BOM. Please let me know, if there any setting where I can enter valuation type, while creating BOM.
    We have two valuation types for my raw material - Local and Import. When we execute standard cost estimate, system picks up value appearing in material master (without valuation type). This value is average of both the valuation types. So we want that system should pick up valuation type, mentioned in BOM.
    =
    Deepak

    Hello Deepak,
    In go to CS01/CS02 select the line item and go to item overview and in that in the customer fields tab you can maintain the valuation type.
    If customer field not available then with help of the user exit ''PCSD0002'' you add the customer filed in item.
    It's not standard process, you have to do the development
    I hope this information helpful to you,
    Regards
    Umesh Mali

  • User exit to change an output type

    Hi,
    Is there any user exit to change the output type instead of another one when the user tries to print a sales order?
    Thanks in advance.
    Ricard.

    Hello,
    for example you have 2 message types
    1) ZOUT1  (Zprogram1 or Scirpt or Smartform what ever)
    2) ZOUT2  (Zprogram2 or Scirpt or Smartform what ever).
    For example based on Vendor Type you want to trigger ZOUT1 & ZOUT2.
    what you have to do is.
    Goto VOFM  -> Requirements -> Output Control -> Create 2 routines for each output type. then go to Code part of each routine make subrc = 4 if you dont want to execute output type.
    subrc = 0 implies output will execute else vise versa.
    let me know if you dont understand my solution.
    ***********Poorna***********

  • What are the sources system will pick the document type while creating invo

    hi
    I would like to know how system will pickup the doucment type while creating invoice in vf01.
    i have taken off the fields  f1, f2, from the document type. in billing sub tab.  so  The moment when am creating billing system automatically displaying F2 invoice doucment creation.  What are the sources for this.
    thanks & Regards
    Rack129

    Hi,
    Hope you have maintained u2018Delivery relevant billing type F2u2019 and u2018Order relevant billing type F1u2019 in the billing tab of the Sales document type in VOV8.
    If you create delivery related billing, the system will pick F2. This is controlled in Item category (VOV7). Billing relevance in Business data of Item category decides whether this is delivery related or order related. u2018Au2019 for delivery related billing; u2018Bu2019 for order related billing and so on.
    Item category is determined by this combination: Sales document type + Item cat group + usage + higher level item cat.
    Regards,
    K Bharathi

  • How to change the document type while creating a PO by ME59N

    Hi,
    I  have 2 groups of PR's, for group one the document type is picked as NB and PO is created and for the group 2 it should pick as XYZ and PO should be created using ME59N tcode.
    How to change the document type for group 2 in ME59N? Which user exists to use to change the document type while creating PO in ME59N? 
    Can any one suggest me.

    Hi,
    There a config area, where you can define default PO doc types for a particular Pr doc type. If you maintain the settings properly there, then your requirement can be fulfilled.
    SPRO->IMG->MM->Purchasing->Purchase requisation->Define doc types.
    This will serve your purpose.
    Thanks,
    Srinu

  • Jpr adapter not showing in adapter type while creating communication channe

    Hi all,
    I got error in JPR adapter type.Due to that its displaying in adapter type while creating communication channel.I checked in RWB in communication channel monitoring its showing
    Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for EXI.SystemHome.hexsap found
    No access to get JPR configuration
    How to solve this issue,
    Regards
    Vijay

    Thanks guys for the response..
    I checked the IR and the SAP Basis has been added. Here are the details I got.
    Name:     SAP_BASIS
    Version:  700
    SWCV:     SAP BASIS 7.00
    Available Support Packages:  12
    Any more suggesions/feedback will be greatly appreciated.
    Thanks

  • SAP REx 3.2 Predefined list of activities for visit type while creating visit on iPad

    Colleagues, our customer wants to have a different predefined list of activities for different visit types while creating a visit on iPad. I have seen such functionality in SAP Demo for REx 3.2 on iPad. Could you tell me what I should do to have such functionality?

    Hello Viktor,
    There are no REx customisation available to mainatin the set of activities that can be assigned to a visit.
    In the REx iPAD & iPhone solution, all the surveys, journals and activities are shown together as activities.
    For example in the first screenshot provided by you, for the newly created visit the activities shown plannogram check, trade assets, store sales performance and promotion compliance are the surveys and journals assigned to the CRM transaction type of the REx visit Business Review. We can assign activities which are customised in the SPRO path mentioned by me in the previous post. In the device when we go to the details of the visits and activities then we can see that the surveys and journals assigned to these activities are grouped seperatly.
    So if want only specific activities (in iPAD & iPhone surveys and journals are activities) to be available for a visit then we should set the CRM customisation for surveys and journals accordingly.
    Regards
    Pramod

  • RESTRICT USER FROM USING SAME REQUIREMENT TYPE  WHILE CREATING SALES ORDER

    Hi Friends,
    I Have a requirement to in SD while creating any sales order i want the system sholud throw a error
    message when i am using line items having same requirement type more than one time
    i have tried some customer exits v45a0001 & v45a0003 . but was not successfull .
    kindly somebody help me with elaborated steps  .
    thanks in advance  .
    regards
    digvijay rai

    no reply and i am to close this thread so i am putting it as answered ;(

  • Output type not created for outbound delivery while using SHMNT05 idoc type

    Hi Experts,
    Please help me to solve the below issue.
    Problem:- I want to to generate an IDOC(using type SHPMNT06) once the PGI is done for an outbound delivery.
    Already it is working fine when used DESADV.DESADV01 or DESADV.DELVRY07. But now the output type is not getting created when used SHMNT.SHPMNT06. I have created a separate output type ZPJ7 just as a mirror copy of the earlier output type(ZPJ6) used for DESADV.DELVRY07.
    Question:- Is it possible to use idoc SHPMNT06 instead for DESADV01 or DELVRY07? If yes then what are steps to be followed?
    The reason why SHPMNT06 idoc is planned:- We have a scenario to send outbound delivery to 3rd party system via XI. If the outbound delivery is for National(Not for Export) and PGI is completed then send the idoc straight forward to XI otherwise DO NOT generate the idoc, but just create the delivery. Collect all the deliveries in a transport and send it in a shipment. The shipment details can be sent using SHPMNT idoc. Now from XI perspective, if we can utlitze the same SHPMNT idoc for the National delivery(1st case) then perhaps this will require less effort. Hence shipment idoc is required to be generated when the delivery is created and PGI is done.
    Also it would be great if you can advice some better way to solve above mentioned scenario.
    Many Thanks,
    Sanjay

    There could be several reasons. Go to the document and in the extras-output check output determination analysis in the processing log.
    If the output has been created successfully then you need to see your printer determination. Ask basis to check it up. If the problem is that even the print preview is not coming. Check your communication in the output analysis and ensure LOCL is selected. Any other printer will need to be configured.
    If thats done already then check whether you have maintianed the condition record.
    If that too is done then check whether your output type has been assigned to the output procedure and that the output type is listed in the procedure.
    regds
    Jude

  • Want to assign output type while posting document in MIGO

    Hi All,
    I want to assign output type(WEE1) while posting document in MIGO txn.
    It can be done through configuration but it won't apply in my case as I have some conditions to put as well.
    If anybody could suggest for any User Exits/BADI/Enhancement spots for the same would be of great help.
    Thanks in Advance.

    Hi
    There are many reasons why an update could be terminated, not
    just
    number ranges.
    Go to transaction SM13.
    Enter the date and user ID if known and find your transaction that was
    terminated. Drill-down until you find which function (line) caused the
    termination and double click. That should help you determine why the update failed.
    update was terminated
    regards
    kunal
    Edited by: kunal ingale on Nov 7, 2008 7:03 AM

  • Email Output type : No Automatic trigger of output type while saving doc.

    Hi Gurus - To trigger an email from the output type, I've configured a output type with medium as 5(external send) with communication strategy and created condition records with medium as 5 to trigger immediately.
    While creating corresponding document, the output is not automatically determined, it required to manually feed the output type every time. Can you please provide if any settings were missed to trigger immediately!!
    In Output analysis showing a message as "No print data determined for the communication strategy"
    Steps:
    1. Configured the output type with Medium as"5" and associated partner functions.
    2. Created the condition records with medium as 5 and trigger immediately.
    Thanks,
    Sree

    Hi ,
    while maintaining condition record for output type when you click on communication method, give logical destination as 'LP01'.Hope this will solve.PLease let me know if you have any issues on this.
    Thanks and regrads,
    Rajeshwar

  • BADI ME_PROCESS_PO_CUST is not triggering while creating/changing PO

    Hi,
    I am new to BADIs,
    I am trying to implement BADI ME_PROCESS_PO_CUST in ECC 6.0. I have done the implementation and activated. I kept a break point in PROCESS_ITEM method, but the BADI is not triggering while creating or changing the PO. Please advice me what could be the reason behind this?
    I used the SQL trace but i couldn't get the BADI ME_PROCESS_PO_CUST in the list.
    thanks in advance
    Regards
    Jagadish

    hello jagdish,
    implement   this user exit.....
    MM06E005...
    go to     EXIT_SAPMM06E_017   in that   then you can put a break point in the user defined function module.....
    or use
    BREAK  'C5133392'  (use your user in place of C5133392)....it will stop here while creating PO or changing PO...
    now you can do whatever you want to do in create or change PO using this function exit......
    perform the validations on import parameters.....to create  or change ....and activate the project....
    hope this will give you some idea and help

  • Error while triggering program through output type while saving invoice

    Hi,
    I have a scenario where in my Z program needs to be triggered when saving a invoice.
    For that we have attached out Z program to output type which gets picked while saving invoice.
    In the Z program we have written the entire code in Form Entry subroutine.
    In the Z program we have called a FM "SD_SALESDOCUMENT_CREATE", to create a sales order.
    After sales order is created we have used a Commit statement.
    If I run the Z program individually, Salesorder gets created perfectly.
    How ever as per scenario when trying to save the invoice, output type gets picked. But program doesn't get called.
    and when I go to the saved the invoice I get the following error immediately:
    "Error document - Update was terminated"
    I have found that the problem is with COMMIT statement through transaction SM13.
    Can anybody help me with this. I cannot save the sales order without COMMIT, so I have to use it.
    Thanks in Advance,
    Rohan.

    Hi Rohan,
    I have worked on almost similar kind of requirement as you. 
    "Error document - Update was terminated" is because saving of invoice is done in u201CUpdate Tasku201D. Again in that work process, FM also calls for update task, which is not allowed and give short dump.
    Here are two different approaches to cope up in this scenario.
    1.Call FM in NEW TASK.
    Calling Function module in new task will assign new work process and will use different update task.
    Use:
    CALL FUNCTION 'SD_SALESDOCUMENT_CREATE' STARTING NEW TASK 'task'
    This will not give update termination error.
    Call of FM in this way will work, but as this will be asynchronies call you will be not able to get status/message out of the FM call result.
    If capturing return message is mandatory, use below approach
    2, Process output type via Job
    Set output type, dispatch time u201CSend with periodically scheduled jobu201D in u201CDefault valueu201D tab.
    Run batch job for program u201CRSNAST00u201D with appropriate variant.
    Please let me know if you need any further details.
    Best Regards,
    Nisarg

Maybe you are looking for

  • Installing 2 seperate itunes accounts on one computer

    I have two ipods; a 30GB ipod which is in sync with the itunes that I have on my computer. I have an additional 2GB ipod nano which I first installed on a privious computer I owned. The ipod nano has different songs than my current itunes Library and

  • Working in Debug mode, not after building the installation.

    Hi, I have a button to launch a form. When I test it in debug mode, it works fine. But, after making installation, if I do the same thing (press the button), I'm getting the following error: Unexpected end of file while parsing name has occured. Line

  • Itunes match, itunes radio and playlists...HELP!

    okay. so i turn on itunes match on my phone so I dont listen to ads while listening to itunes radio. when i do that and connect it to my computer via usb, i cannot sync any smart playlists to my phone. they are all icloud available but i cant find th

  • Segment  updation issue

    Dear expert                  our client implement SAP in 2006 without activating document splitting and profit center accounting & segment & 2011 after migration we are going to implement document spiting and   profit center accounting & segment. My

  • Diagram import

    Hello! How can I import UML diagram into the JDeveloper project from Oracle Designer 6.0? Is it possible? Thank you.