PO change scenario

Hi all,
I need all of your expertise and suggestions on a scenario i want to work on .
the scenario is :
when ever an inbound idoc changes the purchase order i want to initiate ( trigger ) a program and pull the data from the PO tables and send an email .
if anyone have worked on these kinf of scenario can you all please suggest some examples on how to approach my scenario.
Thanks in advance .
Regards,
Ry

hi,
all the changes to po's will be captured in CDHDR,CDPOS tables.
if u want to capture using workflow ,then u can use the business object for po change and trigger the workflow whenevr there r changes in po.
use this link which will triger workflow for po changes.
[http://****************/Tutorials/Workflow/PO/Change.htm]

Similar Messages

  • Change Scenario Attribute

    I want to change Default View for the Budget Scenario from MTD to YTD. But when I change it, the "PhasedSubStartYear" always show up a "0" and I cannot load the updated metadata.
    Just a side note, we have not use the process management yet so the "Phasedsubstartyear" should be blank and they are blank for all other scenarios.
    Is anyone know what could be the issue?
    Thanks a lot.

    Hi,
    Try this logic in PBO...
    LOOP AT SCREEN.
    if ok_code = 'CREATE'.
    IF screen-name = 'EDIT'  or  screen-name = 'DISPLAY' .
    screen-input = '0'.
    MODIFY SCREEN.
    ENDIF.
    elseif ok_code = 'EDIT'.
    IF screen-name = 'CREATE'.
    screen-input = '0'.
    MODIFY SCREEN.
    ENDIF.
    endif.
    ENDLOOP.
    Thanks,
    Vijay

  • Workflow purchase orger change scenario (4.6d) need step by step approach

    hi, as i have worked with above mention scenario could any one explain me about detailed step by step approach of purchase order change with screen shot will better ....
    pls refer <b>00002723.chm</b> in 4.6d library.
    thanks in advance .
    help in this   regard ,
    thank you ,
    Niranjana Devi.
    Purchase Order Changes (PP-SFC)
    Purpose
    If an external material (non-stock material) or service (externally processed activity) has to be procured for a certain production order, a purchase requisition must be created. The purchaser responsible processes this requisition and one or more purchase orders are created as a result. This is noted in the production order.
    If changes are made to the materials or services ordered for the production order (changes to the requirement quantity or requirements date), the system modifies the purchase requisition automatically. Any purchase orders that have already been created must be changed manually by the purchaser responsible.
    Process Flow
    Using SAP Business Workflow, the purchaser responsible can be informed if
    Changes are made to the requirement quantity or requirements date for an external material or externally processed activity
    An external material item or external service activity has been deleted
    An external activity has been changed to an internal activity
    Or if a production order has been technically completed and the external material or activity are no longer needed
    And if one or more purchase orders have already been created.
    The purchaser receives a work item containing all of the relevant changes regarding the external materials and activities. He or she can then display the relevant purchase requisitions and any purchase orders that have already been created. The purchase orders can also be edited or new ones created.

    From the information provoided it seems you are using PO that is subjected to Release of PO for multiple Release Code and each Release Code Release is being done by one approver. If that is the case then I think the Terminating event should get caught. Please check whether the Terminating event that is getting triggered is specific to the Release Code or not.
    Thanks
    Arghadip

  • OSS note 961363 - for SUS MM order change scenario

    confirmation control key does not get popluated in SRM correctly even after implementing the OSS note.
    Can someone help me in this?

    Hi
    Which SRM Version and support pack you are currently using ?
    What is the exact requirement ? Please elaborate the same.
    Regards
    - Atul

  • Career alternatives in changing scenario

    At the time when rumours rule mindsets & situation demands a better understanding of the future it becomes desirable to have a comprehensive game plan. In effect to the latter i seek advice from my net colleagues in assisting me to head start my career from now.
    I have completed C & Java. Though i do feel the need of learning an operating system alongwith a RDBMS in order to complete the rudimentary requisites of the industry, however I am finding it difficult to resolve the matter.
    I shall be gratifed if any of my net comrade airs his/her healthy comment on the issue & also provides me information on various job oriented courses.

    I think you should have a look at some of these basics
    (operating systems & databases) to get a better understanding. I know quite a few people how still lack even basic knowledge of databases and have problems without understanding why ;-]
    So spending some time to understand how databases work and how to design data structures for relational or XML datastores would be a good idea.
    As you know C and there's a big community for Linux, you
    might just get the Linux sources and the sources PostgreSQL, ask questions about architecture etc. Probably not to understand everything, but to get basic concepts and ideas and literature links. :-)

  • Can we change the Existing scenarios name in a outline

    Hi All,
    I have a requirement like change the Existing scenario name to another name...
    Ex: Existing scenario name Scenario -> "Budget"
    After changing scenario name Scenario-> Fcst_Buget
    Can we do this???
    If yes, what are the things i need to take care because we have data for that scenario...please let me know...
    Please update on this ..its urgent

    You can absolutely change the member names.
    Are you concerned about the impact on data loads, formulas, calcs, etc?
    An easy way to have your cake and eat it too is to assign an alias to the member so that Budget now becomes Budget with an alias of Fcst_Budget. Whatever artifacts refer to the old name continue to do so and from a reporting perspective you reference the alias.
    Or you can reverse it so that the member name now becomes Fcst_Budget and the alias is Budget.
    Your choice, but I think the former is what you want.
    Regards,
    Cameron Lackpour

  • How to change the header of Material BOM in a program for alternative BOM ?

    Requirement: An Inbound IDOC creates /change/delete Alternative Material BOM. The Alternative Material BOM can have alternative values from 1 to 99.
    ISSUE: I am good with CREATE and DELETE BOM. The issue is with CHANGE of header Material BOM. The fields which we need to change in the header is the base quantity, BOM status, Lot Size from and Lot Size to. Please note that I am able to change the item details of the BOM with FM CSAI_BOM_MAINTAIN. I find no FM /BAPI which would change the header of a material BOM.
    Please NOTE that I am using BAPI_MATERIAL_BOM_GROUP_CREATE to create alternative Material BOM. This has a parameter in TABLES called "VARIANTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL .Also ,there is another parameter in TABLES called "ITEMASSIGNMENTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL which implies this FM will allow us to change the BOM. But this does not work when I use it for CHANGE scenario with CHG value. I debugged this BAPI and observed it requires a STNLR(Bill of Material) value . This field is not there in any of the structure. I am not sure if I am passing the right parameters to it.
    Let me know if the parameters are passed correctly for CHANGE scenario.
    Also let me know if there is any other way(FM/BAPI)  to update the Header of the Material BOM ?
    Here is the code I am using:
    *& Report  ZTEST_S_E
    REPORT  ZTEST_S_E.
    * This code will create a material BoM for the material
    * MAINMATERIAL with the components COMPON1 and COMPON2.
    * Data Declaration
    DATA:
    it_bomgroup LIKE bapi1080_bgr_c OCCURS 0 WITH HEADER LINE,
    it_variants LIKE bapi1080_bom_c OCCURS 0 WITH HEADER LINE,
    it_items LIKE bapi1080_itm_c OCCURS 0 WITH HEADER LINE,
    it_matrel LIKE bapi1080_mbm_c OCCURS 0 WITH HEADER LINE,
    it_itemas LIKE bapi1080_rel_itm_bom_c OCCURS 0 WITH HEADER LINE,
    it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    * Fill the data
    * Material BoM Group Header Data
    CLEAR it_bomgroup.
    it_bomgroup-bom_group_identification = 'BAPI_SMP_COL1'.
    it_bomgroup-object_type = 'BOM'.
    it_bomgroup-object_id = 'SIMPLE1'.
    it_bomgroup-bom_usage = '1'. " YOU COULD CHANGE THE BOM USAGE TO YOUR
    *NEEDS
    it_bomgroup-ltxt_lang = sy-langu.
    it_bomgroup-technical_type = ' '.
    it_bomgroup-bom_text = 'Simple BoM - FM'.
    APPEND it_bomgroup.
    * Header Details of the different variants
    CLEAR it_variants.
    it_variants-CHANGE_NO  = '500000000349'.
    it_variants-bom_group_identification = 'BAPI_SMP_COL1'.
    it_variants-object_type = 'BOM'.
    it_variants-object_id = 'SIMPLE1'.
    it_variants-alternative_bom = '01'.
    it_variants-bom_status = '01'.
    it_variants-base_qty = '2.000'.
    it_variants-valid_from_date = sy-datum.
    it_variants-function = 'CHG'.
    APPEND it_variants.
    * Details of the items of the variants
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_items-item_no = '0010'.
    it_items-item_cat = 'L'.
    it_items-component = '030790490'.
    it_items-comp_qty = '2'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_itemas-change_no = '500000000138'.
    it_items-item_no = '0020'.
    it_items-item_cat = 'L'.
    it_items-component = '030790490'.
    it_items-comp_qty = '3'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    * Details of the materials of the different variants
    CLEAR it_matrel.
    it_matrel-bom_group_identification = 'BAPI_SMP_COL1'.
    it_matrel-material = '030790490'.
    it_matrel-bom_usage = '1'.
    it_matrel-alternative_bom = '01'.
    APPEND it_matrel.
    * Linking items to the corresponding variants
    CLEAR it_itemas.
    it_itemas-bom_group_identification = 'BAPI_SMP_COL1'.
    it_itemas-sub_object_type = 'ITM'.
    it_itemas-sub_object_id = 'SIMPLE1'.
    it_itemas-super_object_type = 'BOM'.
    it_itemas-super_object_id = 'SIMPLE1'.
    it_itemas-valid_from_date = sy-datum.
    it_itemas-function = 'CHG'.
    APPEND it_itemas.
    * Create variants
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
    EXPORTING
    all_error = 'X'
    TABLES
    bomgroup = it_bomgroup
    variants = it_variants
    items = it_items
    materialrelations = it_matrel
    itemassignments = it_itemas
    return = it_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT it_return.
    WRITE:/ it_return-type, it_return-id, it_return-number,
    it_return-message.
    ENDLOOP.
    Let me know if the parameters are passed correctly for CHANGE scenario.
    Also let me know if there is any other way(FM/BAPI)  to update the Header of the Material BOM ?

    Try doing something like this:
    class MyJTextArea extends JTextArea {
        public boolean keyDown(Event evt,int key) {
            if(key == 13 || key == 10) { // or whatever ascii codes enter may have
                // move carret to next line
            } else {
                super.keyDown(evt, key);
    }which means you have got to catch the enter-key before the actutal JTextArea does this.
    p.s. look at my post, maybe you can help me, too.
    http://forum.java.sun.com/thread.jsp?forum=5&thread=465803&tstart=0&trange=100

  • Find/change using end of paragraph marker /p

    Folks,
    We are attempting to remove a space at the end of a paragraph in unstructured documents.  If I enter ' \p' in the Find text field in the Find/Change dialog FrameMaker finds the the appropriate paragraphs.  If I then enter '\p' in the Change text field in the Find/Change dialog and click Change the space is removed.  However the target paragraphs style is also applied to the the following paragraph.  This occurs in FrameMaker 8,9 & 10.
    If the Find/Change scenario above is followed with these two paragraphs the first paragraphs style is applied to the second paragraph.
    paragraph 1 with a trailing space and using Heading 1 style
    paragraph 2 using Heading 2 style
    Any thoughts?
    regards
    Jon

    JonEBe wrote:
    Arnis,
    Thanks!
    Yes why bother indeed!  I am at the end of a rather lengthy process to convert the creation and output of Framemaker documents into a database with a web front end.  As part of this the existing documents are imported to save lengthy keying/rekeying.  The output from the system is then compared against the originals.  As a matter of course I stripped of leading or trailing spaces (it is amazing how many there are in a manually created/updated document) so we therefore have noisy comparison documents as a result.
    BTW the trailing spaces are apparently a legacy of the conversion from WordPerfect.
    My choices are to re-import without stripping the trailing space and remove them at a later date or create a script using the FDK, which I am very familiar with, and is the likely outcome!
    Jon
    Just a wild thought - a real GREP processor, not the mild imitation in FrameMaker, can find a construction like a space followed by a paragraph marker and delete the space without affecting the marker. The technique is a form of the "lookbehind" or "lookahead" feature. I'm zero-skilled at actually doing this beyond just mentioning it, but the technique might work in a MIF, or text conversion, of the file. Search Google for terms like "GREP lookbehind lookahead," without quotes.
    Another possibility is that once the FrameMaker file is converted to the database, it would be possible to use a database command to remove the space.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Total Transfer & Organizational Change (SEM-BCS)

    Dear colleagues!
    Got som challenge with processing a merger under consolidation of
    investments in SEM release 4.0.
    As I understand, the proper method to apply to mergers is a) a
    divestiture of the old consolidation unit and b) postings of account
    balances from old unit toward the new unit in the source system,
    with subsequent data load.
    Issue:
    In our case a subsidary of the old parent (merged)"follows" the
    merger
    towards another consolidation group (old parent divested, subsidary
    unchanged with new cons group assignment).
    Client expects the merger to be physically carried out in period 6,
    with a validity (back in time) starting with period 1, without
    processing period 1-5 in the monitor. Client also expects the income
    statement balances to be reversed from old cons group assignment and
    posted under new cons group for the accum. balance from period 1-6.
    Question:
    Would anybody know (could give us) a brief description on what to
    remember when setting the parameteres in preparation of the
    organization change (total transfer)!?
    Help is greatly appreciated.
    Frank

    Dan,
    What C/I activity are we supposed to use if we want transfer a unit vertically up in the hierarchy?
    And also,  we are still getting an error with Organization Change scenario when we run our COI. Can we please send you a detailed document of the issue we are facing to your email id?
    Thanks
    Ramesh

  • How To Guide : Impact of a BEx query change to universes and WebI document

    Ever wondered about the impact of a BEx query change to your universes and Intelligence documents ? "If I change this, will I need to refresh the universe structure ? will my Web Intelligence documents break ?". This article aims at clarifying these questions for Web Intelligence documents that use OLAP Universe(s) based on BEx query(ies). More specifically, it clarifies which BEx query change does impact Universes and Web Intelligence documents and which one is transparent to them.
    The first part of this article provides a summary table. The second part explains what to do to make the universe and Web Intelligence documents reflect the BEx query change. And finally, it covers each change scenario in details with more explanation and screen shots.
    [http://wiki.sdn.sap.com/wiki/x/0wt9DQ|http://wiki.sdn.sap.com/wiki/x/0wt9DQ]

    Hi Rajesh J Salecha,
    What I understood is like :
    You have two queries and both gives same results but one of the query having a parameter.
    You have one report which is using query1.  Now you want that report to be copied as Report2 and use Query2 instead of Query1.
    If the this is the issue, then you copy Report1 as Report2 and go in Database and change the Data source location to Query2.
    Hope this will help you.  If my understanding is wrong then give us the work flow.
    Thanks,
    Sastry

  • ChaRM: Normal Change - Not possible to set "Successfully Tested" unless the Maint. Cycle is set to "In Development with Release"

    Hello,
    I'm doing some tests with ChaRM, Normal Change scenario.
    As far as I know, the following steps would be the correct sequence (concerning development and test phases only):
    1) Developers perform the correction in DEV and release their TASKS of the transport request
    2) Developer Lead set the Normal Change document status to "to be tested"
    3) In background, a Transport of Copies is created with all data previously stored in the original transport request. Then this ToC is transported into QAS
    4) Change Manager set the Maintenance Cycle status to "Test"
    5) Tester performs the test into QAS
    6) Tester provides a valuable feedback and set Normal Change document status to "tested successfully"
    According to the following SAP Portal article, it seems to be correct:
    http://help.sap.com/saphelp_sm71_sp10/helpdata/en/48/db938dceba518de10000000a42189c/frameset.htm
    During my tests, however, I have noticed that it is just possible to go from step 5 to 6 if the Maintenance Cycle status is set to "In Development with Release" (go a step back in the Cycle). Otherwise, I get the following error messages:
    Warning Message Details Status was reset by system
    Warning Message Details Action RELEASE_ALL cannot be performed during this maintenance phase
    Warning Message Next status cannot be set because some actions cannot be executed.
    Once I have done the Cycle status change, then it is possible to move from 5 to 6 without errors and then the original transport request is transported into QAS too.
    Question: Is this the correct behavior or am I missing customizing?
    Thanks in advance for your help.
    Daniel

    Hello Vivek,
    Thanks for your reply.
    It is kinda weird the steps sequence, since the Tester needs to tell the Change Manager to move the cycle's status before approving the correction done in QAS (successfully tested).
    Perhaps a new action between "to be tested" and "successfully tested" could exist, in order to request the CM to perform the cycle update.
    But OK, that's how it is.
    Regards,
    Daniel

  • HCM FPM Forms: change details

    Hi,
    I have a form with sap_pd service having many OM fileds like Personnel area, subarea, Cost center for a position.
    This form is for Change scenario where all the above fields are defaulted on the form for a selected Position.
    Now, i can change any data on this form and click submit.
    Suppose there are 20 fields whose data is displayed on the form and i change data for only one field.Only this changed data should be saved to backend with effective date and previous data for this field has to be delimited. i am trying by checking the field values for each field from service fields and comparing it with data in backend.
    Is there any other way where we can check which field data on the form has been changed before clicking submit.
    Alternatively, can we check if any change is made for any fields data on the form to throw a message 'No change done' if no data is changed and yet the user clicks submit. Thank you.

    Dear Kalyan,
    After reading your query I can say it is not clear, please share the exact point if possible. Coming to reports SAP have given many standard reports which you can use apart from that if you want any changes check with your technical consultant for custom report generation. Still you have doubt please let me know.
    Regards,
    Naresh

  • Urgent - SUS with multiple company scenario

    Hi all,
    We are using the same client for EBP & SUS & we are on SRM5.0 & ECC 6.0.
    My question is, do we need to maintain multiple companies as separate nodes in the Org structure.
    The problem is, we are able to transfer a R/3 PO to SUS for 1 company code, wheras when we issue the PO for other company codes, the PO errors out in SUS with the message "maintain country for sold to party' .
    As this is urgent, any help / input is highly appreciated.
    Regards,
    Aakash

    Hi
    <b>No...  you do not need to maintain multiple comapnies as seperate nodes in the Org Structure.</b>
    <u>Please refer to the links below -></u>
    <b>Error Sending SRM PO Change to SUS-Different Country field contents deleted
    Transfer PO from EBP to SUS (one client)
    R/3 MM /SRM PO's not in SUS
    Re: OSS note 961363 - for SUS MM order change scenario
    Re: What are the steps to me followed to get the vendors from R/3 to SUS
    Re: SUS documents
    Re: Help MM-SUS!
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Change controlling method from CO to PS

    Hi
    We're considering changing from CO to PS, the question is if thats possible to do for our live projects or if we have to start all over.
    In customizing it's possible to change the controlling method, even if the project type is in use and actuals have been posted. is that going to work out or just create problems?
    Regards
    Frank

    Hi,
    It is always possible to change controlling scenario for given project type. The changing scenario does not effect to old project. It will take new scenario in account after change and costing will happen based on new scenario to new project.
    In your case given project type must have created accounting data based on old scenario to your existing project. According to my experience you can change scenario that will applicable to new project and it will not effect to your old project.
    Regards,
    Karan Hon.

  • Active directory, SSGD and password change

    Hi everybody, we have some problems with SSGD, active directory and password change
    Scenario:
    We have 2 different perfectly working Active directory called "Gruppo" and "Eracle";
    We have 2 different tarantella installations called "Sgd" and "Tlv";
    Sgd servers are working servers and users authenticate against Eracle, used by our customer.
    We made 2 basic different test with Tlv:
    1. we configure Tlv to authenticate users against Gruppo (that is our real need)---> we can't change pasword using kpasswd or ttakpasswd
    2. we configure Tlv to authenticate users against Eracle ---> everything was ok
    There are NO DIFFERENCE beetween Sgd and Tlv, they have same configuration, same krb5.conf etc..
    There is ONE DIFFERENCE beetween Eracle and Gruppo:
    Eracle Active Directory's properties:
    Domain functional level: Windows 2000 mixed
    Forest functional level: Windows 2000
    Gruppo Active Directory's properties:
    Domain functional level: Windows 2000 native
    Forest functional level: Windows 2000
    SSGD documentation doesn't speak about different Active Directory properties. The SSGD documentation says that you can authenticate users against Active directory, so, IT HAS TO WORK even if the domain functional level of active directory is different.
    Can someone help us^Hi Simon
    I'll try again to explain you our problem, because it seems that I wasn't so clear.
    Scenario:
    We have 2 different perfectly working Active directory called "Gruppo" and "Eracle";
    We have 2 different tarantella installations called "Sgd" and "Tlv";
    Sgd servers are working servers and users authenticate against Eracle, used by our customer.
    We made 2 basic different test with Tlv:
    1. we configure Tlv to authenticate users against Gruppo (that is our real need)---> we can't change pasword using kpasswd or ttakpasswd
    2. we configure Tlv to authenticate users against Eracle ---> everything was ok
    There are NO DIFFERENCE beetween Sgd and Tlv, they have same configuration, same krb5.conf etc..
    There is ONE DIFFERENCE beetween Eracle and Gruppo:
    Eracle Active Directory's properties:
    Domain functional level: Windows 2000 mixed
    Forest functional level: Windows 2000
    Gruppo Active Directory's properties:
    Domain functional level: Windows 2000 native
    Forest functional level: Windows 2000
    SSGD documentation doesn't speak about different Active Directory properties. The SSGD documentation says that you can authenticate users against Active directory, so, IT HAS TO WORK even if the domain functional level of active directory is different.
    Can someone help us?
    Many thank
    Patrizia

    Added question.
    Do you guys know if changing the password will change the password on their Active directory access.
    Thanks,
    helmut

Maybe you are looking for