Condition dependent output

Hi ,
           When the user is putting a check mark on the " no further invoices expected" indicator system creates a change version of the purchase order and creates a new print output.
          I don't want to have print output at that stage in all other cases no issue if it prints.
Ingen

Class CL_ACTION_PO_OUTPUT_BBP, method GET_DIFF
*{   REPLACE        SRDK916154                                        3
*\      ev_objects_differ = lv_objectdiffers.
      ev_objects_differ = lv_objectdiffers
    tables
      et_diff_fields = lt_diff_fields.
*}   REPLACE
read output-relevant data into lt_po_metaout
  if lv_objectdiffers = bbppd_on.
    m_execute_needed = bbppd_on.
*{   INSERT         SRDK916154                                        2
   else.
   m_execute_needed = bbppd_off.
*}   INSERT
see if it works for you as well as for me

Similar Messages

  • Condition dependent output not triggering

    Hi,
    We created a new PO action definition. Processing time is 4 Processing when saving document. The processing time not permitted is 00XX0 Selection report. The schedule automatically flag is checked. In the action determination section, the determination technology is set at "Determination using conditions that can be transported" and the rule type is set at "Workflow conditions". This action definition has one processing type "Smart forms print".
    A condition dependent output is configured for the action definition indicated above. This condition has the default settings from action definition checked. In the processing detail tab we have a specific printer we want to use. In the schedule condition this is what I configured:
    (  " --- Vendor medium ---
         &EC Purchase Order.Sending Medium& = PRN
      ) " --- Vendor medium ---
      and    (  " --- OA address number ---
         &EC Purchase Order.Vendor Address.Address Number& = 12642
      ) " --- OA address number ---
    We have a vendor with additional ordering addresses. I got the additional address number from table BUT020. Vendor has medium "PRN" in table BBP_SENDMEDIUM.
    When I create PO using the vendor and selecting the additional address (# 12642), the immediate output to the specified printer is not triggered. I mean the condition dependet output configured is not being triggered.
    Please, can anyone give me some tips about what I am doing wrong.
    Thanks and regards, Jose Oyon.

    Hi, If you want to work with Condition-Dependent PO Output, you have
    to set the conditions for output in Define action for Purchase order
    output. Under Action determination and Action summarization you can
    choose from different option.  Also clean-up customizing inconsistencies using transaction SPPFCADM and adjust to determination technology  "Determination Using Conditions" to retest. Check note 564826 which may be helpful.
    Best Regards
    Lauren

  • Condition-Dependent Output not processed

    Hello,
    I have configured conditions for output for purchase order documents (BUS2201) in the following path in SPRO > SAP Supplier Relationship Management > Cross-Application Basic Settings > Set Output Actions and Output Format > Condition-Dependent Document Output.
    The purpose for this is to check the purchase order status prior to sending out the PO as to ensure that only successfully replicated POu2019s are sent to suppliers.  When I create a PO that passes the conditions (iow the conditions are True), the output is generated in a Not Processed status.  I have to now process the output manually or by running program RSPPFPROCESS.  Once processed, output is successfully sent. 
    Note that the Time Of Processing setting is set as  u201CProcessing when saving documentu201D.  I would expect the output to be processed automatically by the system, but it is not.
    If I create a purchase order that does not pass the condition (iow the conditions are false) an output is also generated with a Not Processed status, but I am unable to process it due to the conditions that are not met.
    Please advise why the output that passes the condition is not processed automatically.
    Kind Regards
    Rene

    Hi, If you want to work with Condition-Dependent PO Output, you have
    to set the conditions for output in Define action for Purchase order
    output. Under Action determination and Action summarization you can
    choose from different option.  Also clean-up customizing inconsistencies using transaction SPPFCADM and adjust to determination technology  "Determination Using Conditions" to retest. Check note 564826 which may be helpful.
    Best Regards
    Lauren

  • Issue with Condition dependent PO output

    Hi,
    We're implementing Extended classic version for SRM 5.0.
    As part of the output determination, we need to determine 2 print outputs for Purchase orders. We have 2 purchase organizations and both of them need to have 2 different smartforms for the print. So, we're designing 2 different smartforms. In order to assign the smartforms as per the purchasing org, I've used "Condition dependent output" in IMG settings. But whenever I try to print, it picks up the standard form from the IMG node "Define actions for Document Output" where the standard form is maintained. We did not maintain the custom form in this node because we have 2 forms for print.
    I would like the program to pick up the custom form maintained in " Condition dependent document output".
    I understand that we could use the BADI alternatively. But any help in resolving this problem through the configuration is highly appreciated.
    Regards,
    Lakshmi

    Hi,
    Pls implement the badi "BADI BBP_OUTPUT_CHANGE_SF".
    For sample code/pointers,see the foll links;
    Re: How to change default smartform triggered while printing for shopping cart
    Re: How to change default smartform triggered while printing for shopping cart
    Re: Smartform display
    Re: Add a Printer ?  -> LP01
    Re: Condition Dependent Document Output
    Re: Add a Printer ?  -> LP01
    sending Smart form to Printer  in SRM
    Re: SRM PO's to be printed out with the PO
    BR,
    Disha.

  • Condition Dependent Document Output

    Hello, all
    Please help me,
    We have extended classic scenario in SRM 5.0.
    May I to use Condition Dependent Document Output in Spro
    if  I need  to print 2 smartforms for one purchase order?
    Best regards,
    Guzal

    Hello, all
    I'm solved a question. I'm used the BADI BBP_OUTPUT_CHANGE_SF.
    Best regards,
    Guzal

  • Issue with Condition dependent PO output   in SRM 4.0

    Thought I am using Condition-Dependent Purchase Order Output
    The PO preivew still picks up the form which is defined under Define Actions for Purchase Order Output
    Please suggest.
    Thanks in advance

    Hi,
    Have a look at the following note:
    Note 968534 - Incorrect determination of conditions on the BOR object
    Thanks,
    Pradeep

  • Condition Dependent PO output

    Hi Friends,
    I have maintained the PO output condition as 'Processing using Selection Report' in
    (IMG): SRM Server -> Cross-Application Basic Settings -> Set Output Actions and Output Format->Define Actions for Purchase Order Output.
    In (IMG): SRM Server -> Cross-Application Basic Settings -> Set Output Actions and Output Format->Condition-Dependent Purchase Order Output, I have maintained the
    Processing Time as 'Processing when saving the document' for e-mail output.
    But currently my system is not taking the Processing time ''Processing when saving the document' which I maintained in Condition Dependent PO output. It is taking the
    value 'Processing using Selection Report' which I maintained in Define Actions for Purchase Order Output.
    So when my PO is ordered the output status will be "Not Processed' at first and then I have to manually process it or run the selection report to process it.
    I want the Po output to be "Successfully Procssed" immediately after the PO is ordered with my current settings. Is that possible? Kindly help me with this issue.
    Thanks in Advance...
    Best Regards,
    Vidya

    Hi,
    Pls implement the badi "BADI BBP_OUTPUT_CHANGE_SF".
    For sample code/pointers,see the foll links;
    Re: How to change default smartform triggered while printing for shopping cart
    Re: How to change default smartform triggered while printing for shopping cart
    Re: Smartform display
    Re: Add a Printer ?  -> LP01
    Re: Condition Dependent Document Output
    Re: Add a Printer ?  -> LP01
    sending Smart form to Printer  in SRM
    Re: SRM PO's to be printed out with the PO
    BR,
    Disha.

  • Dump in IMG Activity BBP_TRIGGER_PO_COND Condition-Dependent Document Outpu

    I'm getting short dump when executing IMG activity BBP_TRIGGER_PO_COND (Condition-Dependent Document Output) with message "CX_OS_OBJECT_NOT_FOUND".
    We are on SRM Server 5.5 pack 12.
    Anybody had this problem too? Is there an SAP Note available?
    Best Regards!
    Dieter

    Hi! I had the same problem as well. Did you manage to find a solution to this? I just resolved it by
    1.     Run transaction code SPPFCADM.
    2.     Under u2018PPF: Applications in Customizingu2019, select the entry u2018BBP_PDu2019.
    3.     Check all the options in the u2018Clean Up Inconsistenciesu2019 box and confirm by choosing the u2018Clean Up Inconsistenciesu2019 pushbutton.
    4.     Refer to SAP Note 564826 for details.
    5.     You can now access the configuration with the runtime error.
    6.     By default, the action definition for print and mail is STOP. Delete the stop flag manually (right-click to choose option).
    Cheers!
    SF
    Edited by: SF on Dec 8, 2008 11:39 AM

  • Tutorial: 8 Adding a Conditionally Dependent Field

    Hi,
    I am trying to implement chapter 8 Adding a Conditionally Dependent Field. However, the Commission percentages stays enabled no matter what the value of the jobid is.
    Is this a bug or am I doing something wrong here?
    Thanks, Joep

    Joep,
    If you send your testcase for the LOV problem, we will also look at this issue.
    The conditionally dependent items work for me, so may be you made some typo.
    Steven Davelaar,
    JHeadstart Team.

  • Condition Dependant Document Output in SRM 5.0

    Hi,
    My requirement is to conditionally suppress the sending of the PO output if the action profile type is MethodCall (XML) and the initial PO send completed successfully. This means that on any subsequent change to a PO for this profile type, do not send the output.
    If I create a start condition for the Method Call process type, the output record is created but not sent as expected.
    Because the BOR object BUS2201 doesnu2019t have the required attributes to meet my requirement, I extended it by adding the version_no attribute.
    When testing BUS2201 via SWO1, the custom attribute is visible and populated. When I create the desired condition, the custom attribute is available for selection. When I create the PO the system sends the XML output. Then when I subsequently change it, the system still sends the output. Itu2019s as if itu2019s not recognizing the custom attribute in the decision to determine whether to process the send action.
    Has anyone successfully implemented this type of solution?
    Thanks,
    Jerry Martinek

    The solution to conditionaly suppress the PO output generation using a custom attribute seems to be working. Don't know why but would guess that it might have been somekind of a buffering issue as it worked the next day.

  • Issue with Customizing Condition-Dependent Document Output

    Hello gurus!
    When we print a Bid Invitation on SRM menubar web "Output Control", Sap creates three new spool orders.
    The first contains the output format of our SmartForm ZBBP_BID INVITATION.
    The second contains the format of a external mail.
    And the third, contains both (the two previous orders in a single spool).
    We need to change some parameters to print smartform and to store email content in a two spools maximum. Further, in the future will have to change email body and subject, and print inmediatly in the local printer. We don't know how to do anything, although we have tried several things.
    What can we do? Any idea?
    Thank you in advance. Hugs!!

    Hello, all
    I'm solved a question. I'm used the BADI BBP_OUTPUT_CHANGE_SF.
    Best regards,
    Guzal

  • Price Condition Depending of Material Master Record

    Helllo Experts, I have an issue with a price condition on a price procedure  the user wants to be able to mantain the price condition manually only if the material used at item level of sales order is equal to one of 3 sku´s.
    This Price condition can not be mantained on VK12 because it´s calculated manually depending of several factors.
    For Example, let´s say the Material ID´s are  1122, 1123 and 1124 and the price condition is ZY01.
    If the Mateial ID used at item level of sales document, the manual condition ZY01 shouldn´t be shown to the user only if the material used is equal to 1122, 1123 or 1124
    To solve this issue I was thinking to use at price procedure the field requirement and use a pricing routine as  "2" Item with pricing and edit the routine. the Material used at item level of sales document
    I´m not quire sure this is going to work, And what´s the name of the field I should use to get that
    Any Suggestion how to adress this  issue is welcome.

    Hello, I create my own condition table to include material field, also a new access sequence has been created, to link this table on field material I only can specify one material number, I capture there my material for wich I want this price condition work, but when I create a Contract on VA41 using the material included on my price condition, I´m able to mantain the amount, but the same happen when I try to use another material number not included on my access sequence.

  • Download link of IR, conditional field output means filters are ignored

    Hi All,
    I need to have a report on screen where the user applies filters, then when they've finished, they extract a subset of the on-screen fields to csv.
    The current application uses some on-screen selection lists/text items, a classic report underneath that, then an extract button to run another screen (passing in the filter values) which runs the query again to extract to the external csv file based on the filter values.
    I really want to change this to an interactive report, so the users can filter on anything they want to (and not have to request more filters to be added to the screen as we change the schema), then either hit an extract button or better: use the Download capability of the IR.
    I have tried:
    1. IR with a hidden field to collect an ID, create a collection then loop through the collection contents in a separate screen to output to csv.
    problem: the rows have to be on-screen for the hidden item to have a value, so unless the users are showing All rows, I don't get the full data set in the collection (apex_application.g_f01.COUNT just equals the rows on screen)
    2. IR, then use the built-in Download capabilities to output to csv.
    problem: I don't want all fields downloaded. I may have 20 fields on screen, the user has applied filters to many of them, but the csv needs 3 fields. I can make the output of every field I don't want outputted, conditional on :REQUEST != CSV and leave the others I do want downloaded, unconditional, but then the filters aren't respected (I assume because the field is not available to Apex due to the condition) and I get more rows than I was expecting.
    Is there a way of achieving this by using an IR? Is JavaScript the only way by accessing the current filtered query of an IR?
    regards,
    Malcolm.

    Using APEX_APPLICATION_PAGE_IR, APEX_APPLICATION_PAGE_IR_RPT, APEX_APPLICATION_PAGE_IR_COND is the answer.

  • How to check && condition in output text

    I want to check a condition like this in output text
    <af:outputText id="t1" value = "#{empty bean.text1 && empty bean.text2 ? 'temp1' : 'temp2' " />
    It throws an error saying "Expected name instead of

    If you are editing the el expression in source tab of your jsff/jspx file use the below el:
    <af:outputText id="t1" value = "#{empty bean.text1 *&amp;&amp;* empty bean.text2 ? 'temp1' : 'temp2' " />
    If you use the el: <af:outputText id="t1" value = "#{empty bean.text1 && empty bean.text2 ? 'temp1' : 'temp2' " /> in the property inspector, then it gets converted to the above expression.
    Hope it helps.

  • Groupby condition in output table

    Hello,
    I have to implement a groupby condition and remove the duplicate records from output table. I could do that in sql and my query looks like this:
    select col1,col2,col3, COUNT(col3) from TARGET_TABLE group by col1, col2, col3 having count(col3) >=2
    I get 99 records when i run this query in sql. I need that 99 records to go in as error table output in DI and remaining records to TARGET_TABLE.
    Where can i insert the sql and get two outputs (final output) and (error table).
    Appreciate your ideas.
    Arun

    Built-in transforms inside DS will let you achieve this. Connect the source table to a Query transform - say Query1
    Inside Query1:
    Map all the source columns col1,col2,col3 to target as it is. Add a column - say CNT_COL3 with datatype int.
    In the mapping tab, use Count (col3). Add col1,col2 and col3 to the Group By tab of Query1
    Connect a validation transform next to Query1.
    Inside Validation transform:
    Enable validation for CNT_COL3. Provide the condition as < 2 (Since this your the pass condition)
    In the Action on Failure tab, check 'Send to Fail'
    Connect the Pass path from Validation to Target table and Fail path to Error table. Values will be populated as required.
    Regards,
    Suneer

Maybe you are looking for

  • Indesign 5.5 or 6 + yosemite = production at standstill

    recently I brought into a production of about 25 mixed OS 10.6.8 and 10.9.4 Xeon Mac Pros and i7 iMacs two additional iMacs running Yosemite 10.10 When the graphic artists who need these systems work on shared InDesign pages the redraw (with multiple

  • Why won't apps load to iPod?

    Have a 4th Gen IPod.  When dragging apps from apps section to left margin to add to IPod the + sign changes to the circle with slash sign as margin line is crossed and apps wont load. Also, when using screen to rearrange apps, the app list an screen

  • What is password for root? Where can I find it?

    wireless connection process is asking for password for root in the authentication process, where can I find it? thanks

  • Package(s) Automatically imported?

    I am new to Java and studying for the SCJP. I ran across a statement that java.lang is automatically imported and it occurred to me that I have not been importing java.io in my initial test programs, but System.out.println() works... so my question i

  • My iPhone 6 won't cant connect to the Apple Store help

    My iPhone 6 comes up with the message can not connect to the Apple Store? help what do I do to fix this?