Update Fund & Fund center data in auto generated PR during MRP RUN

Problem in the MRP auto generated PRs.
The normal PRs created manually have all relevant fields of fund center viz CO area ,commitment item,Funds center, fund.
But the problem is with respect to the Purchase Requisitions generated automatically during the MRP RUN.
How to include the fund centers in MRP generated PRs automatically in the creation stage itself instead of going into change mode using ME52n Transaction code and change it to include fund centers one by one for each line item.
We require this as we have hundreds of PRs generated every day.

Hi,
In order to fulfill this requirement, transaction FM_MRP_PR should be used.
Please also take a look to FM_MRP_PR on-line documentation :
The PRs generated from the MRP run are considered as planning documents
and do not have any impact on the budget. To encumber these PRs in the
corresponding settlement receivers, you have to execute this program for
the relevant PRs.
Best Regards,
Arminda Jack

Similar Messages

  • Schedule lines are not getting generated during MRP Run

    Schedule lines are not getting generated during MRP Run. I have maiantained source list for the material with proper validity date and also maintained scheduling agreement . MRP relevvant Indicator , I have marked - 2 which means -Record relevant to MRP. Sched. lines generated automatically.
    Still I am not able to get schedule lines and instead of that *Purchase Requisitions* are getting generated.
    Can any one help me and suggest me what to be done in this case .
    Thanks & Regards ,
    Nirmalya

    Dear,
    Welcome to SDN,
    In transaction OMDT you have to enable the indicator create schedule lines
    In MD02 MRP control Prameter here select the Delivery schedules -3- Schedule line. Processing Key as NETCH and Planning Mode - 3 delted and recreated.
    Maintain source list ME01, in that put MRP indicator as '2' i.e. schedule lines via MRP.Put your agreement no in that.
    If u run MRP properly u will get schedule lines automatically in ME38.
    Make the schedule agreement, make it source relevent in the source list make is FIX and MRP indicator as 3.
    Regards,
    R.Brahmankar

  • SQL Dev Data Modeller:  Auto-generate Surrogate PKs in the Physical Model ?

    How can I have the logical modeller allow the user to design with logical PKs, but then have surrogate primary keys be auto-generated off sequences by the modeller when it comes to create the physical model - as in conventional application design?
    Without this facility, this tool is useless, IMO.
    I want:
    i). sequences to become the physical PKs by default, and that what were the logical PKs in the logical model, to become a unique key in the physical model.
    ii). I want this set by default when generating the physical model....
    iii). ....with an option to turn this off on a entity-by-entity basis (as not all tables will necessarily require such a surrogate PK; so the logical PK may remain the physical PK).

    It is common practice that physical PKs in Oracle tables are defined from sequences (surrogate PKs), and that the logical PK from the entity becomes a unique key in the table.
    This may not always be the case in every application out there, and some people may disagree, but it is nonetheless a needed feature.
    My new Feature Request is therefore:
    I would like to see the following additions to the product.
    1. In the Preferences -> Data Modeler -> Model -> Logical, a flag that by default indicates whether the designer wishes to opt to enable this feature (ie; have all logical PKs converted to unique keys, and replaced by sequence nos. in the physical model). This flags needs to be there since in real life, albeit erroneously IMO, some people will choose not to opt to use this functionality.
    2. On every entity created in the model, there needs to be a flag that allows to override this default option, as not every table will require a surrogate PK to be generated. Being able to (re)set a flag located on the entity properties (perhaps under 'Engineer To'), will accomplish this.
    3. When Forward Engineering to the physical model from the logical, the following should happen.
    ENTITY  1 ---------->TABLE 1
    ---------------------> P * Surrogate PK
    * Attribute 1 -----> U * Column 1
    * Attribute 2 -----> U * Column 2
    o Attribute 3 ----------> Column 3
    Here you can see,
    - Attributes 1 & 2 (the logical PK) of the entity become a unique key in the table (columns 1 & 2),
    - optional Attribute 3 becomes NULLable column 3,
    - and a physical surrogate PK column is added (type unbounded INTEGER, PRIMARY KEY constraint added).
    From entity DEPT as:   (Examples based on SCOTT schema)
    DEPTNO NUMBER(2) NOT NULL <-- Logical primary key on entity
    DNAME VARCHAR2(14)
    LOC VARCHAR2(13)
    CREATE TABLE DEPT
    (PK_DEPT INTEGER, -- New column becomes surrogate physical PK, driven from sequence defined later
    DEPTNO NUMBER(2) NOT NULL, -- Former logical PK becomes a UK
    DNAME VARCHAR2(14),
    LOC VARCHAR2(13))
    ALTER TABLE DEPT
    ADD CONSTRAINT PK_DEPT PRIMARY KEY (PK_DEPT) USING INDEX PCTFREE 0
    ALTER TABLE DEPT
    ADD CONSTRAINT UKLPK_DEPTNO UNIQUE (DEPTNO) USING INDEX PCTFREE 0 -- Former logical PK becomes a UK (constraint name reflects this)
    CREATE SEQUENCE PK_DEPT_SEQ
    CREATE TRIGGER PK_DEPT_SEQ_TRG
    BEFORE INSERT ON DEPT
    FOR EACH ROW
    WHEN (new.PK_DEPT IS NULL)
    BEGIN
    SELECT PK_DEPT_SEQ.NEXTVAL
    INTO :new.PK_DEPT
    FROM DUAL;
    -- Or from 11g onwards, simply,
    :new.PK_DEPT := PK_DEPT_SEQ.NEXTVAL;
    END;
    From entity EMP as:
    EMPNO NUMBER(4) NOT NULL -- Logical primary key on entity
    ENAME VARCHAR2(10)
    JOB VARCHAR2(9)
    MGR NUMBER(4)
    HIREDATE DATE
    SAL NUMBER(7,2)
    COMM NUMBER(7,2)
    DEPTNO NUMBER(2)
    CREATE TABLE EMP
    (PK_EMP INTEGER, -- New column becomes surrogate physical PK, driven from sequence defined later
    FK_DEPT INTEGER, -- New FK to surrogate PK in DEPT table (maybe NOT NULL depending on relationship with parent)
    EMPNO NUMBER(4) NOT NULL, -- Former logical PK becomes a UK
    ENAME VARCHAR2(10),
    JOB VARCHAR2(9),
    MGR NUMBER(4),
    HIREDATE DATE,
    SAL NUMBER(7,2),
    COMM NUMBER(7,2),
    DEPTNO NUMBER(2))
    ALTER TABLE EMP
    ADD CONSTRAINT PK_EMP PRIMARY KEY (PK_EMP) USING INDEX PCTFREE 0
    ALTER TABLE EMP
    ADD CONSTRAINT FK_DEPT FOREIGN KEY (FK_DEPT) REFERENCES DEPT (PK_DEPT)
    ALTER TABLE EMP
    ADD CONSTRAINT UKLPK_EMPNO UNIQUE (EMPNO) USING INDEX PCTFREE 0 -- Former logical PK becomes a UK (constraint name reflects this)
    CREATE SEQUENCE PK_EMP_SEQ
    CREATE TRIGGER PK_EMP_SEQ_TRG
    BEFORE INSERT ON EMP
    FOR EACH ROW
    WHEN (new.PK_EMP IS NULL)
    BEGIN
    SELECT PK_EMP_SEQ.NEXTVAL
    INTO :new.PK_EMP
    FROM DUAL;
    -- Or from 11g onwards, simply,
    :new.PK_EMP := PK_EMP_SEQ.NEXTVAL;
    END;
    [NOTE:   I use PCTFREE 0 to define the index attributes for the primary & unique keys since the assumption is that they will in general not get updated, thereby allowing for the denser packing of entries in the indexes and the (albeit minor) advantages that go with it.
    This is certainly always true of a sequence-driven primary key (as it is by its very nature immutable), but if the unique key is likely to be frequently updated, then this PCTFREE option could be user-configurable on a per table basis (perhaps under Table Properties -> unique Constraints).
    For non-sequence-driven primary keys, this storage option could also appear under Table Properties -> Primary Key.
    I notice no storage options exist in general for objects, so you may like to consider adding this functionality overall].
    Associated Issues :
    - Preferences, 'Naming Standard: Templates' should be updated to allow for the unique key/constraint to be called something different, thus highlighting that it comes from the logical PK. I've used 'UKLPK' in this example.
    - Mark the physical PK as being generated from a sequence; perhaps a flag under Table Properties -> Primary Key.
    - When Forward Engineering, if an entity exists without a logical PK, the forward engineering process should halt with a fatal error.
    !!! MODERATOR PLEASE DELETE ME !!!

  • Error during MRP run for a Material : Calendar date

    Hello All,
    I am trying to run MRP for a material and it is not creating Purchase Requisition. It is giving an error that says  " 08/10/2003 date lies before start of factory calendar. (Please correct)"
    The MRP is set up in such a way that we have a special procurement key pointing to another plant. So we are expecting it to create a Purchase Requistion on that plant but it is not doing so.
    I am not expecting a change of dates in the calendar.
    Please let me know what the issue would be and where can I correct it.
    Thanks
    Regards
    SAP Fans...

    MRP will create a requisition in your plant to procure from the plant that is mentioned in the special procurement key.
    The second best solution is to maintain a calendar for this past old year 2003 in your system by using transaction SCAL.
    But why would you need a requisition for a time 6 years back? Ever thought about this?
    You must have a production order or sales order with a wrong delivery date or replenishment lead time in your system. Because of that the MRP run calculates an expected delivery date for the requisition item that far in the past.

  • Auto generate employee/applicant number

    Hi All
    I want to auto generate the employee and applicant number as follows:
    ABCW0000001
    ABCS00000001
    Where first 3 characters i.e., ABC stands for the company name and fourth characters i.e., W stands for Workers and followed by the employee number.
    The category of employee i.e., Staff or Worker is captured in the People Group segment in assignments.
    I can write a fast formula to auto generate the employee numbers, but as employee number has to be generated first before updating the assignments.
    How to auto generate the numbers before updating the assignments?
    Thanks in advance for any help.
    Regards
    Rahman

    Hi
    Do you have multiple assignments over there?There are no multiple assignments.
    If not, can you move the people group segment to the people screen?How can I move this to People Screen?
    What should be the empl number if the people group changes anyway?If the employee gets promoted, say from worker to staff, then a new number should be generated from the date of new assignment. Also the old number should not be used in future.
    Thanks for the help.
    Regards
    Rahman

  • Auto generated code in makefile

    For our product we have a TCL script that reads a series of text files and generates C++ classes for easy access to database records. Our code has been in use for make years and works very well. We have always used a solaris command prompt dmake to compile, which first generates the C++ files then complies them. It uses a series of enviroment variables which a user must set before compilation.
    I recently tried to create a Sun Studio Express based on NetBeans 6.5.rc1 project from a make file. This has worked for every other makefile except for this one. The others do not have any auto generated code.
    To run sun studio I in a command prompt source in the environments then run netbeans. Then I choose to build the product but I get an error. I then try to copy the command it is running into telnet window and it works fine. Does anyone have an idea on why in the sun studio I get and error while the telnet window works fine.

    I think the problem is that the SunStudio IDE runs the build command in a wrong directory.
    Can you verify that the working directory is correct?
    (it is in project properties: Build > Make)
    Also you can find this directory in the message in the output, when you try to build the project.
    That's the message, that you copied to the terminal window.
    Thanks,
    Nik

  • Generate Plan Order from MRP Run (MD51) by WBS Element

    Dear All,
    1. I have created sales order with assigment WBS element (VA01)
    2. Then I created Routing & BOM for Material (CA01 & CS01)
    3. Generate MRP Run (MD51)
    The problem the generated mrp run doesnt consume planned order .. i have set the planning strategy 21 or 40, but still doesnt works.. is there any other parameter that i should configure..???
    Help Me...
    MamaRara

    Hello,
    Hopefully, the following link can assist you.
    - Re: After firming planned order, new planned order is generating in MRP run
    - Basic Scheduling in MRP run
    - Re: MRP run
    - During MRP run unwanted plant and storage location include and exclude
    - MRP run does not consider the common stock
    Thanks & Regards
    JP

  • Change/Updation of old PRs, POs with FM Objects i.e. Fund, Fund Center etc.

    Dear Experts
    We are implementing Funds Management-BCS in our Business.
    The effective Year is FROM 2011 Financial Year.  And we are creating the FM Objects i.e. Fund, Fund Center, Budget Period with Valid From Date is 1st April 2011.
    Also we made the configuration settings of "Allow BLANK as Value for Account Assignment Elements" is TO YEAR 2010 Financial Year.
    Our questions are: 
    1. When we make any changes in the old Purchase Requisitions, Purchase Orders etc., created in Financial Year 2010 or before; whether the system will check that 'Valid From date' of Fund, Fund Centers should be on or before date of Purchase Requisition or Purchase Order creation date or not?
    2. When we try to update old open PRs, POs which are created in Finanicla Year 2010 or before with FM Objects i.e. Fund, Fund Center etc. through Transaction Code FMCN; whether the system will check that 'Valid From date' of Fund, Fund Centers should be on or before date of Purchase Requisition or Purchase Order creation date or not?
    We request you to provide your valuable suggestion/information.
    Thanks and Regards
    PVSRG

    Hi Gupta, how are u!?
    P.V.S.R. Gupta wrote:
    > When we implemented FM-BCS effective from Financial Year 2011; why the system is expecting to contain/having FM Account Assignment Objects in old PRs, POs etc., existing in the Financial Year 2010 or before?
    You active BCS for year 2011, thats all right., but if u have got FMDERIVE rules, when u change PRs or POs the strategic derivation detect this operation and try to input Assignment Objects.
    Please try to trace that chances with TRACE tool from FMDERIVE.
    If u need more help about trace, please check the OSS note: [666322|https://service.sap.com/sap/support/notes/666322].
    Make an entire process, and view the log
    Regards,
    Osvaldo.

  • Updation in fund center

    Dear SAP Experts,
    Please tell me the method to automatically update the Fund centre budget once the cost centre budget is updated
    Thanks & Regards,
    Reva.

    hi
    check is there any substitution is used in finance for line item

  • Updation in fund center through cost centre.

    Dear Friends,
    Please tell me the method to automatically update the Fund centre budget once the cost centre budget is updated
    Thanks & Regards,
    Reva.

    Dear Mar
    Thanks for your valuable reply.
    The functionality of post Purchase Orders vide T Code FMN4N is working fine on most of the cases of Purchases Orders created before the activation of Funds Management, but it is not having any effect on some Purchases Orders created before the activation of Funds Management. It is showing them as analysed but is not reconstructing them nor any error message is given. But there is no error log or display log for them.
    Even these un reconstructed POs are not displayed in the SAP standard report FMRP_RFFMEP30X - Line Items .
    The reconstructed Pos are getting displayed in the FMRP_RFFMEP30X - Line Items .
    Would appreciate an advise in this regard, how to get the remaining POs reconstructed.
    Warm Regards
    D Gupta

  • FM to get Fund/Fund Center/Commitment Item- Item level total (FMBB)

    Hi,
    1. How to get line item level total of of document created in Fund Management with FMBB tcode? Is there a Function Module for the same? The data stored in FMBH/FMBL are period wise.
    2. Is there any way we can change Prepost amount of a FM document on fund/fund center/commitment item level ?

    Hi Naveen,
    check the following tables
    1. FMIFIHD - FM Header table in Fund management
    2. FMIFIIT - FM Line item Table in Fund management
    3. FMIT - Totals table for fund management
    4. FMIA- Actual Line item table for Fund management
    For the second point, i think you need to reverse the origin document and repost it with correct amount. There is no other option.
    BR
    Amitash

  • CF 9.0.2 and Oracle - On update returns error "Auto-generated keys were not requested..."

    We have a simple update statement to Oracle 11g Database. When running the statement the data is not getting updated and we are getting an error "Auto-generated keys were not requested, or the SQL was not a simple INSERT statement. ErrorCode=0 SQLState=HY000". We found this error by dumping the SQL to a file.
    But most other Update statements are working fine.
    Also, the same statment works for Oracle 10g and Coldfusion 9.0.0.
    Any idea if this is a problem with Coldfusion or Oracle? Is there any resolution.
    I found the CF 8 had a similar issue and was fixed in a hotfix (http://helpx.adobe.com/coldfusion/kb/error-auto-generated-keys-requested.html).

    Hi,
    Thanks. I compiled my code using JDeveloper 10.1.2, didn't dare to use the latest. It works in 10g apps server. When I deployed to 9ias apps server, those weird errors showed up. Unfornately, our dev environment is at a newer version than the production one.
    So, you think the error is generated because I referenced some newer technologies that was not provided by 9ias?
    Jia

  • Auto update of time and date

    In my Lumia 625 auto update of time and date is not working properly. It's sowing different form my time zone. Anybody pls help me

    Which network operator do you use, in which country?

  • Restricting Creation/Update of Profit Center Master Data through KE51/KE52

    Hi,
    I have a scenario where profit center master data is maintained in MDM which acts as central repository and the master data is syndicated from MDM to ECC through PRCMAS IDoc. Business requirement is that since MDM is acting as central repository creation/update for profit center through transactions KE51/KE52 should be restricted in ECC. I know that through roles we can restrict user to create profit centers but is there any way/configuration steps which we can perform to restrict user to create profit centers through transaction and I also want to know if that process would affect the creation/updation of master data through PRCMAS IDoc.
    Thanks,
    Amit

    Hi,
    As I told you can go forward using SetID but for that you have to create the SET than assign it to a table and also have to cutomize a standard FM.
    Meanwhile I will tell you a easy way you can opt for Transaction Variant usinh SHD0 where dont give the option to save so that no user can create any Profit Centre and than assign that Tcode to the users.
    Its a simple way hope it helps you.
    Thanks
    Arbind

  • How can I set the insert date to auto update in Pages 5.2.2

    how can I set the insert date to auto update in Pages 5.2.2
    I am attempting to have the date in header auto update in a Pages file.
    I can insert it, but where is the AUTO UPDATE selection
    OS10.9.4
    thank you

    Apple never included the auto-update feature for dates in Pages v5.2.2. You would have to single-click the date, and deliberately update it.
    If you have Pages ’09 v4.3 in /Applications/iWork '09, then it will allow you to configure auto-update of the date field. Right-click on the date, set the format, and click the selection for automatically update on open.

Maybe you are looking for