SRM7 PO output  trigger

Hi Experts,
I would like to know about PO triggering concept in SRM7. Particularly, I want to know what are the fields when changed triggers PO output. For example when i change price at item level PO output gets triggered, but if I change internal note / account assignment, output is not triggered.
I tried to debug a bit into this as below
In class CL_BBP_ACTION_OUTPUT_PO method CHECK_RELEVANCE_DIFF there is a FM
CALL FUNCTION 'BBP_PD_ALL_GET_DIFF'
     EXPORTING
       iv_guid1          = mv_object_key
       iv_guid2          = mv_object_key
       iv_comp_method    = bbppd_comp-po_output
       is_read_flags     = ls_read_flags
     IMPORTING
       ev_objects_differ = lv_objectdiffers.
if lv_objectdiffers is 'X' then output is triggered.
If we go two levels inside we have forms  get_diff_header and  get_diff_itemlist to identify any kind of difference at Header/ Item level respectively. Inside each of these forms there are separate FMs to compare different sets of data. For example for comparing longtexts we have  BBP_PDLTX_GET_DIFF and for Organisational data  BBP_PDLTX_GET_DIFF etc.,  Before calling these FMs there is another FM  BBP_PDH_CLEAR_FIELDS where the fields are compared with table BBPD_COMP_FIELDS.
I could not understand the role of table BBPD_COMP_FIELDS in PO triggering. Even though I maintain PRICE /GROSS_PRICE/ TOTAL_VALUE in table BBPD_COMP_FIELDS with COMPARE_KIND indicator as 'E", output still gets triggered.
Thanks,
sankar.

Hi Sankar,
In standard, in PO for change versions, the application first checks the PO status whether it is ordered or not & then checks the differences between change and active versions using the compare method POO.
Depending on the differences, new output generation is determined. Therefore, during version comparison, the system checks for the fields in the system table BBPV_COMP_FIELDS for the method POO whether they defined as exclusive(E) or inclusive(I). The comparison is excluded if
a particular field along with its dependent fields are set as E. So, when those particular field/fields are changed and order the PO it will not generate a new output.
For checking those differences, the FM used is BBP_PD_ALL_GET_DIFF. The application sends the flags of the required sets to be compared to find the differences between active and change version for determining a new output. Those sets will then be cross_checked with the fields in the table BBPV_COMP_FIELDS. Based on the values in this table new output determination is done. This is the procedure how a new output is determined for PO change version.
As per the standard system behaviour, a new output will be generated whenever the PO is changed & reordered. By default, the following three fields of structure BBP_PDS_ITEMS are set as 'E' in table BBPC_COMP_FILEDS. That means, when any of these fields are only changed in & reordered the PO, a new output will not be generated. But for the rest of all changes in PO, a new output will be generated.
BBPD_COMP_FIELDS:
POO            BBP_PDS_ITEM    BE_OBJECT_ID     E
POO            BBP_PDS_ITEM    BE_OBJECT_TYPE   E
POO            BBP_PDS_ITEM    BE_OBJ_ITEM      E
If you define any field in this table BBPV_COMP_FIELDS as E that has no dependencies with any other field from other structures and if you change that field which is set as E and reorder the PO then NO new output will be generated.
Example: if you define PO Header description which is set a E in table BBPV_COMF_FIELDS, like this  ==> POO Description BBP_PDS_HEADER E as description does not have any dependencies with any other field and if you change description only in PO and reorder the PO. For this
change no new output is generated !!
However, if you change field which has dependencies and those dependent fields are not defined in this table as E instead only the changed field is defined then output will generated if you change this field in PO and reorder the PO.
Example: Define ==> POO Currency BBP_PDS_HEADER E in table BBPV_COMP_FIELDS.
Change currency and reorder the PO. An output will be generated for this change although Currency is defined as E. This is because, for currency other dependent fields of BBP_PDS_PRC and BBP_PDS_ITEM structures will also be changed dynamically at run time.
As to "Price", this field is an exception to this input, you CANNOT prevent the output to be generated again when changing it. "Price" plays a main role in PO. Obviously when you change price in PO, this change has to be informed to the vendor. So in that point of view it is must to generate new output so that the changes can be intimated to the vendor. Due to this reason, output still gets triggered even you have maintained it in this table.
I hope this could help you understand the logic.
Regards,
Wendy

Similar Messages

  • Digital stimulus-f​requency response: Need to drive with digital output trigger. Using counters for response.

    I need to drive stimulus-response with a software driven digital trigger and NI-TIO counter based response. No analog I/O is really relevant, although I have a PCI-6035E multi-function DAQ as part of my gear. I intend to use the analog, but its timing is non-critical and can be software timed.
    The real trick is that I want to set the basic timing of the system (in the range of 1 - 50Hz) from the timer0 on the 6035E. This signal needs to be replicated to drive a trigger pulse and to route through RTSI (or a PFI) to trigger frequency counts using the four possible groups of counter/timers on the 6602.
    What I need is:
    while( enabled )
    Repeat at (
    software controllable rate = 1-50Hz)
    Trigger Sets a PFI line for 10-20us
    same trigger sets an RTSI line
    - Software Set Delay (usually zero)- stable is more important than the delay time!
    Count for software set time on 4 counters
    analog samples
    Post-process
    I want to do this in LabView. I have checked out the Advanced sychronization demos online, but the examples all use analog triggering and buffered digital I/O. This doesn't really address what I need to do.
    I have made some failed attempts which relied on software to sync up the trigger and the response frequency acquisition. This is definately flawed. I need to start the counting right after setting the digital output trigger, and stop the count after a fixed interval for frequency calculation.
    I am having trouble working through the signal routing to get the timing to trigger off the digital stimulus output pulse.
    Any help would be appreciated
    Thanks,
    Joe

    Joe
    What are you using the trigger from the 6035E for? I do not know what you mean by, "to trigger frequency countes."
    If you are having problems just routing the signal to the 6602, here is a vi that shows you how to route a signal through the RTSI cable to use as the source of a counter.
    Brian
    Attachments:
    Route_RTSI_to_Source.vi ‏67 KB

  • Mass output trigger in sales order

    Hi
    Can we do mass output trigger for sales orders like the one we do for invoices in VF31?
    Regards,
    Subbu

    Hi Subbu
    Using background job you can set the time and then run the sales orders for output that have been created during that day and then execute
    Regards
    Srinath

  • Prevent Duplicate Output Trigger from Item Level

    Hi,
    We have a requirement of whenever a pricing error happen to send the whole Order information from ECC to an external system through Idocs / Output Trigger.
    The Output for pricing error can be configured by default at the item level. Hence if an ORder has multiple lines that have pricing issues we can get the same Order information sent twice bacuse of output getting triggered more than once.
    Any way I can prevent the duplicate output trigger when multiple items for the same order has issues.
    Regards,
    Arunava

    Hi Arunava,
    You can create a Output Routine using VOFM tcode and attach the routine to your Output type in NACE tcode.
    Inside the routine you can keep check based on the line items / order information.
    Thanks & Regards,
    Ramya.

  • Output trigger pulse width

    The data sheet on most (all?) the switch modules (I'm working with the 2530B, but that's really not relevant) mention that the output trigger pulse width is settable between 1uS and 62uS programmatically. 
    http://sine.ni.com/ds/app/doc/p/id/ds-330/lang/en
    (about 1/2way down page).
    However, I cannot find any reference to any property that you can set to modify this parameter.  By default it's coming out at 2uS wide.  I'm trying to capture the pulse using a microprocessor, but the pulse width is narrow enough that it's not getting it.  There is no configuration for this in MAX.
    I can't be the first person to try this.  Anyone have any idea?

    Hi Fast351,
    You can program the pulse width using a DAQmx Export Signal Property Node in LabVIEW. From the property selection you would go to Events»Advance Complete Event»Pulse»Width Value. In C, you would use the DAQmxSetExportedAdvCmpltEventPulseWidth function.
    -Jake B.

  • Sales order output type is on header level, but output trigger is based on

    line item user status.........
    Order Confirmation is sent to the customer once confirmed.
    Depending on the scenario and the systems involved in the process, the trigger to send the Order Confirmation from SAP is differ.  The user status will be used as the trigger, however different statuses will be used depending on the scenario.
    Client wants all items on a Sales Order to appear on the Order Confirmation.  What this means is that once an Order Confirmation is triggered at the item level an Order Confirmation will be issued and include all items on the Order.
    For example, a sales order (123) contains 3 items (10, 20 & 30).  The first item (10) is passed user status (which required triggering an output) and the status is updated, the other two items were not passed to that user status which required triggering the output.  The output should be issued based on one item meeting the qualifying criteria .  The Order Confirmation should contain all 3 items.  The first item (10) will show on the Order Confirmation as confirmed qty on a specific date at a specific price.  Items 20 and 30 will show on the Order Confirmation as “Pending”.  When the second and or third items are confirmed, another Order Confirmation will be issued showing again all 3 items and the whether they have been confirmed.

    Hi!
    Sounds like you need a line-triggered output (with a message, which displays all lines of the order).
    Do you have problems to create a new output type?
    Regards,
    Christian

  • Output trigger in invoice

    Hello,
    The problem i am facing is when invoice was created initially print output was not triggered automatically. This was due to user exit in the system. This porblem is rectified,
    There are some 1000 faulty invoices where print output was not triggered automatically inspite of output condition record.If the invoices are accessed through VF02 it will trigger  (since intial probelm is rectified) but since the no. of invoices is more it is not possible access all invoices through VF02.
    Please suggest how to trigger the output in all the invoices again.
    Thanks in advance,
    Kiran

    Hello,
    As i know VF31 can only used if the output type exist in the invoice with some status.
    My requirement is to give the output type in the invoice.Intially the output type did got get determined in the invoice due problem in a user exit. This problem is rectified. In new invoices the output type is determined automatically.
    In faulty/old invoices when accessed though VF02 the output type is determined. SInce the no. of faulty invoices is more i cannot access every invoice through VF02, so that output type is determined in the invoice.Can any one suggest a method to access the invoices  (like some mass change) so that output type is determined in the invoice.
    Hope my requirement is clear
    Thanks in advance for support,
    Kiran

  • NI DAQmx Digital Output Trigger To Start Analog Input Task

    Hi everyone.  I am using the NI DAQmx VIs to set a digital output line low (boolean '0').  I want to begin reading an Analog Input voltage (Start Analog Input Voltage reading task) right after the digital output line is set low.  I am using the DAQmx Start Trigger (Digital Edge).vi to try and do this.  I have the digital edge to trigger off a falling edge since the digital output line is being set low.  I am using "do/SampleClock" as the source into the DAQmx Start Trigger (Digital Edge).vi.  
    I don't have the DAQ card (PXI 6229) since someone else is using it but I wanted to write up the SW so that when it becomes available I can have SW to try out.
    I have attached the VI.  Am I setting up this VI correctly?
    Thanks!
    Attachments:
    Trigger AI Task Off DO Edge.vi ‏32 KB

    I think you are going to have to wire that Digital Output to a PFI line on the card with the Analog Input(s).  You then trigger on that PFI line.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Output trigger after PGI during shipment completion

    Hi Guys,
    We have following  requirement.
    After shipment completion, PGI will trigger, after PGI is completed, output sholud be triggered if the preceding document is free of cost sales order.
    How to ensure the above requirement is met.
    Thanks
    Shankar

    Hi
    For meeting your requirement you have to take the help of abaper and create one routine
    Go to Transaction VOFM
    go to menue -
    Requirement -
    Output control.
    Here abaper have to create one routine that
                           if AUART (sales document type) = "your Document type"
    Then System will allow to take printout
    Go to Transaction NACZ and assign routine here
    Regards
    Shambhu Sarkar

  • Re: Sales Order Output trigger after Overall status is Complete

    Hello Friends,
    We have a requirement where in , we want to trigger the Sales Order Ouput once the overall status is completed.
    Basically , the print program should trigger only when Overall status of Sales Order is Complete.
    Can anyone suggest any way to achieve this requirement ?
    Thanks in advance.
    Julie.

    Hi,
    For this we have to go for ABAP development/a "Z" program.
    This program/conditions will be maintained at the smart form level.
    This has to be triggered only when the over all status is complete.
    This thing we have to check in table "VBUK".
    Pass your order number into "VBELN" and check for the field "GBSTK".If it is "C" then only it should be triggered.
    We have to write a small line before this triggering program or condition is to be maintained in smart form if you are using it.Contact your ABAPer.
    Regards,
    Krishna.

  • Settings to trigger output at the time of PGI in shipment

    Dear Friends,
    I have a requirement where an output has to be triggered from the shipment document (VT02N), when the post goods issue is completed.i.e when the user completes the "shipment start" stage in the shipment document.
    The output document has to be sent by email to a couple of users when PGI is completed in the shipment.
    Since,here we are not manually triggering the output, instead the output is triggerred automatically when PGI is done.
    Please let me know the settings to trigger a particular output when PGI is done.
    Waiting for valubale feedback.
    Regards,
    Sampath

    Hello,
    You can do this through Configuration.
    LE>Transportation> Shipments >Define and assign activity profile
    With reference to shipment type you have 7 status available. In your case Shipment begin stage you can Set PGI and Output trigger by creating variant.
    All you have to do is put the mouse on the "at shipment begin" and select maintain and you can see the PGI option and output fields where you can call the output type there.
    try it will work....
    tkreddy
    Edited by: Tkreddy on Nov 10, 2009 3:00 AM

  • Urgent: Slip output not trigger out

    Hi experts
    HOpe to get your help
    We have two output type zwa1/zwa2.  Now we found zwa1 could be triggered out by mb1b but zwa2 can't.
    we have set NDR as big X and ND9 as the user group. in omj4 ,we setup plant locaiton and user gorup with printer.
    Now If I set locaiton with output type with zwa1, when I do mb1b ,zwa1 could come up in message
    but if I set locaiton with output type zwa2 , there is no message output trigger out.
    I check the output type, it seems they both use plant/location/user group combination.
    ANy adivce why zwa2 can't come up ?
    Thanks
    Alice

    HI,
    Check if both the message types are define in the access sequence procedure in inventory management,
    Check the automatic message determination properly in MN21, MN22 and MN23 and see to that the all the information is provided correctly
    Thanks & Regards
    Kiran

  • Trigger a Output as Spool on Delivery Deletion via Vl02n

    Dear All,
    My requirement is that when I delete a delivery in VL02n , a spool should be generated . I have a SAP SCRIPT which can be triggered via a Z output type .
    How do we link to trigger this output type on delivery deletion?
    Thanks
    Disha

    Hi Disha,
    If you want to create a spool for one delivery, you can do it manually.
    But if you want to convert every output trigger into spool, you have to use the function module to convert the script data into spool.
    You can use the FM CONVERT_OTF to convert the OTF format into spool.
    Once this is done the otuput will be saved in spool with a spool number
    You can convert this spool into PDF using the program RSTXPDFT4 and save it in a place in a directory.

  • Printing: The outputs print on a printer other than that specified on the u

    We are using activity profile on the shipment to trigger outputs at different statuses set on the shipment document. In order to have the output trigger based on activity profile we need to have the timing for these output types set to “3”. Now the outputs set in the activity profiles are proposed on the sales document the first time the document is saved by the user. The communication details for the outputs proposed have the details from the user data set in the user master (SU01) for the person who saved the sales document as the print parameters for the output is “S” (user parameters).
    The issue is we want the system to print outputs proposed on the sales document to different printers.  E.g. The bill of lading output on the shipment document is required by the shipment planner to provide the same to the truck drivers. However the documents like pick list are required by the loaders loading the packages in the warehouse. Hence the documents need to be printed in different printers. How do we achieve this when the outputs proposed at the time the sales document is saved have the print parameters form the user data of the user who created the document?

    Hello,
    Have a look here:
    http://help.sap.com/saphelp_erp2004/helpdata/EN/7e/36e4c4023411d399b70000e83dd9fc/frameset.htm

  • How to connect external trigger PCI-1433

    Hi all:
    I met the same problem as this old post: https://forums.ni.com/t5/Machine-Vision/How-to-connect-external-trigger-PCIe-1433/m-p/1677560/highli...
    however the post did not give solution.
    I am having an issue getting the external trigger( from PCI 6259) to work with a cameralink camera, a PCIe-1433 card . The PCI 6259 is connected to BNC 2111, the output trigger signal from CTR0 is connected to the SMB connector on the 1433 card and is providing pulse train at TTL voltages (0-5V).  Using the MAX SOFTWARE and under the Acquisition tab I have CC1 set to external 0, however the camera is not receiving this external trigger. The camera is Basler 4096-140km.
    I measured the ouiput signal from CTL0, the sigal seems good.
    I tried RTSI trigger before, failded. I thought SMB should be more straight forward, seems I was wrong.
    Looking forward to reply!
    Attachments:
    camera configuration.jpg ‏168 KB
    External Camera Trigger(SMB).vi ‏57 KB

    Bobjojo,
    You will actually need to affect the properties of both the camera and the frame grabber to take advantage of this triggering mode. I found a document that contains a good run down of the process to acquire in this mode (linked below). As far as the programming for the acquisition is concerned, the frames will be built at the driver level for the specified frame height. This means that the IMAQ driver will composite the line scans for you, and any simple acquisition (the document shows using the Vision Acquisition Express VI) will be able to pull the image into LabVIEW.
    www.ni.com/white-paper/13786/en/pdf
    Karl G.
    Applications Engineer
    ni.com/support

Maybe you are looking for

  • Itunes Free Apps Purchase History Deletion

    I dont want my purchase history to show up for apps that are free and usually demos. I dont think it is neccessary to keep all the free apps i try or the demos i try. As part of privacy I sometimes dont even want to remeber about an app I tried becau

  • Why Design View will be removed?

    My question is that: why Design View will be removed from Flash Builder? Will it be substituted by another way of doing the things visually? Will adobe provide other visual tool to design applications? Disabling Design view and extinguing Catalyst se

  • Keychain keeps asking for password

    A few days ago I had a keychain failure and since then Mail and the system periodically ask me to enter the keychain password. I'd like to stop this behavior and let all installed apps use keychain while I'm logged in. Where do I find the setting?

  • How to redeem itune gift card

    how to redeem itune gift card

  • How to add new hair

    HI, i was wondering if anyone knew how i am able to recify this.  A photo was cropped at the studio (in camera) to not include the top part of the head.  I am trying to see if i can add this in as i am combining with another photo where they both hav