Core Interface: Planned Order Integration
Hi
We are planning a product in both systems (ECC & APO). We want to restrict the Planned Order Integration b/w ECC & APO which are generating in ECC. At a same time we want a Planned order integration which are generating in APO.
Is there any standard BADI, USER Exit ?
Kindly give your valuable inputs for my mentioned query.
Hi Gurvarender,
Find this Customer exist for planned order
In SAP APO
Customer Exits For Planned Orders
● APOCF004 u2013Inbound processing of planned orders
● APOCF020 u2013 User-specific fields in the order interface
● APOCFPIP u2013 Publication of in-house production orders (planned orders)
In SAP R/3
Customer Exits For Planned Orders
● CIFORD01 u2013 Enhancement for order inbound interface .
● CIFORD02 u2013 Enhancement for the transfer of customer-specific order fields )
● CIFORD03 u2013 Enhancement for inbound customer-specific fields in the in-house production order
Regards,
MJ
Similar Messages
-
Integration model for planned orders ..?
Hi,
When I create PLANNED orders in R/3 , they come to APO . But when I create them in APO , I dont see them in R/3. I do not see them R/3 table AFPO.
What could be wrong? Wwhat integration models are responsible?
thanks,
AshishSome basic things to check first are (I quote from a 4.1 system):
Have you maintained the distribution definition (SPRO > Integration with SAP Components > Integration of SAP SCM and SAP R/3 > Basic Settings for Data Transfer > Publication > Maintain Distribution Definition)?
Do you have the "No SNP Planned orders" unchecked at SPRO > Advanced Planning and Optimization > Supply Chain Planning > Supply Network Planning (SNP) > Basic Settings > Configure Transfer to OLTP Systems?
There may be also some BAdIs involved but I'll check later. -
User insade Plan Book during Core Interface
Please.
Maybe somebody has the same problem.
During the Core interface run at night whe are facing some problems into the Job due users inside the Planning book.
Somebody have any solution to disable the access from the users into the Planning book in a specific time also close the Users setion that are inside the planning book.
But we have to release access only to CRONPTS user that is the CIF Runner.
Thanks a lot.what is your CIF doing? why is it writing to a PB where users are changing values
are they changing values into the same KF
if not,
Try to make your Planning area to KF lock and set the option of "do no lock read only KF"
then make the Kf that the CIF changes into a read only in the planning book (either in design or using a start macro)
if you cant change the above....
then
while vinods solution is elegant, if you dont have enough programming power this is what you can do
1. run a job before the CIF job runs to trigger a batch macro
this macro should set a flag in the planning books - say put value 1 in a cell somewhere in history
2. create another start macro in all your planning books which checks for this indicator - if cell =1 then make all rows output only by using the macro function row_input( ) = 0
now when the user goes into the planning book he will be in display only
3. when the CIF work is over it should release the lock by removing the KF value from that cell -
Hi,
This is continuation of my previous [post|No IModel active for cat. Planned Orders]
I am getting the CIF blocks starting with CFIP00... and these are from the program,/SAPAPO/RDMCPPROCESS, that collects and pushes the orders to R/3.
Now the strange thing is I get about 200 of them every day and when I delete the first CIF block, all the queues will be deleted immediately. This is probably the 5 or 6 time in a row. Every time I run this program, I get the blocks. After deleting the first queue, everything else gets cleared immediately.
I checked in the active integration model the material at that plant is in there.X0 maintained, and the planned order in that first queue is not the same material every time!
Any bod has any suggestions?
Thanks.Hi Manish,
I activated the first one and it said running and came back to the same error SYSFAIL.
I checked SLG1, it's the program /SAPAPO/RDMCPPROCESS that was runs at 02:10 AM and that's almost the same time in CIF
queue as well.
I checked SLG1 and there is a log with grey icon (instead of green or red) with
object text:Core Interface Application Log Object and
Subobject text: In-House Production (Inbound)
Program: /SAPAPO/SAPLCIF_GEN
Mode: Batch processing
When I double click, I see no message but when I select the log and click on spectacles icon, here is the text:
===
Identification
Object________________ CIF (Core Interface Application Log Object)
Subobject_____________ IP (In-House Production (Inbound))
External ID___________ IBUP3DO00G}M08002LU2BM
Log number____________ 0000000000019281314
Created:
Date__________________ 08/29/2008
Time__________________ 02:10:00
User__________________ BCKUSR
Transaction code______
Program_______________ /SAPAPO/SAPLCIF_GEN
Operating mode________ B (Batch processing)
Status:
Expiry date___________ 09/05/2008
Keep until expiry_____ Log can be deleted before expiry date
Processing status_____ not specified
=== -
Hi,
During the immediate transfer of the SNP planned orders after the planning run, some orders are not moved immediately, they went to R3 during the next snp run in the background.
do you know any reason for this?
Thanks,
DhanushHi Dhanush
To answer your query in block size, the block size can be maintained in customizing settings. You can navigate with the following navigation path
SPRO --> Integration visa APO Core INterface --> Basic Settings for data transfer --> Publication --> Manitain Object Specific Settings
You can define an optimum block size for both external procurement and In house Production. But before you do that I would request first check if there any queue blcoks exisitng which are preventng the smooth flow of data from APO to ECC. You check this through /sapapo/cq transaction. Depending upon how you have queue set up (inbound/outbound), you can select the apprpriate drill down and see if any queue blcoks exist. If you can afford to delete the queue blocks, then please delete them and then run heursitcs again.
Also in your intial part of the query you have mentioned that the planned orders are not getting transferred. However in the latter part you are refering to purchase requistions. Are you facing problem with both the types of transaction data?
Rgds, Sandeep -
MTO - how to prevent a second planned order for a sales order?
Dear friends,
We are working on Make to Order process (Planning strategy group 20).
No Production/process order is used
Shop floor uses a different system --> details from planned order is passed to the shop floor system; and finished product is delivered/posted into SAP Sales order stock - through interfaces
No QM in place
A typical day-to-day scenario
Sales order Qty = 100
MRP Run à Planned order qty = 100
Raw materials posted to Sales order stock
Planned order is firmed
For example if Produced qty = 90
sales order stock of the finished product = 90
Balance 10 cannot be produced / delivered for various reasons
Planner posts the raw material to cost center / rejections / own stock etc., and ensures that the sales order stock of the raw materials are zero.
Planner deletes the planned order
Next MRP run triggers a new planned order for the balance qty 10
Now, the requirement is to prevent the new planned order getting generated for the balance quantity, during the subsequent MRP run (despite the shortage in the Sales order stock of the finished product).
The following options have been evaluated
Once the final good receipt is done & before deleting the planned order,
o Change the Sales order quantity to match the total produced quantity
o (or) Change the schedule line category for the Sales order item from CP to CN
§ Since the Sales order and planned order are handled by different teams, considering the frequency of correspondence/coordination needed between these two teams to get the sales order items corrected, this idea is not accepted
§ Additional authorization for the planner to change the sales order item is not acceptable
Include Under delivery / Unlimited tolerances
o at the customer (master) level
o (or) Sales order level
§ In this case, System seems to consider the tolerances only when the delivery for the Sales order is posted; and not when the sales order stock is received within the tolerance limits;
§ Considering the time gap between the GR and Delivery of the finished product, this option is not accepted
Kindly suggest the other options / settings / processes, to meet this requirement
Thank you for your time and efforts.
With Best Regards,
SenthilClosing this thread
Thanks
Senthil -
Hello all.
I have been search for a user exit in planned orders that allow me to define some code in it to triger some changes. this user exit should be at time of planned order is saved.
I have already search in this forum and I found out how to find the user exits by transaction. I have tried for transaction MD12 but did not found any suitable user exit.
Does any one know any user exit that could make my life easiser
thanks
Manuel AntonioYou can try the following BAdIs:
You can use the Business Add-In (BAdI) MD_PLDORD_CHANGE to change, before posting, data from planned orders, which have been created, changed, or deleted as a result of planning a material or manual processing.
The Business Add-In allows you to fill and change fields from planned orders in the PLAF table. It also supports filling of customer-specific fields in the customer include CI_PLAFDB.
You can execute the Business Add-In in the planning run in the following areas:
Material requirements planning
Master production planning
Long-term planning
You can also carry out the Business Add-In in all applications, which execute manual planned order changes. Examples of this kind of application are:
The dialog transactions for creating and changing planned orders (MD11, MD12, MS11, MS12)
The Business Application Programming Interfaces (BAPI) for creating and changing planned orders
all applications that explicitly or implicitly create or change planned orders, for example the planning table of repetitive manufacturing, repetitive manufacturing confirmation, capacity planning, assembly order processing and so on.
Requirements
When planning a material or manually processing a planned order, you must change individual fields in the planned order or provide entries for customer-specific enhancements of the planned order structure.
Standard settings
The Business Add-In is not active in the standard.
The Business Add-In cannot be used multiple times.
The Business Add-In is not filter dependent.
Activities
To activate the Business Add-In, you must create an active implementation. To do this, choose the following path in the SAP Menu: Tools -> ABAP Workbench -> Utilities -> Business Add-Ins -> Implementation
For more information about this procedure, see the SAP Library under
Basis Components -> ABAP Workbench -> Changing the SAP Standard -> Business Add-Ins -> Implementing Business Add-Ins.
Further notes
Documentation on the BAdI method CHANGE_BEFORE_SAVE_MRP
Documentation on the BAdI method CHANGE_BEFORE_SAVE_MAN
You can also call the documentation on the BAdI method via the menu, by carrying out the following steps:
1. Choose the tab page Interface.
2. Double-click on the relevant method.
3. Click on the right mouse button and choose Component documentation.
Update Planned Orders (MD_PLDORD_POST)
Use
Application components: PP-MRP, PP-MP-MPS, PP-MP-LTP, PP-REM
Function group: M61P, M61U
You can use the Business Add-In (BAdI) MD_PLDORD_POST to further process data from planned orders, which have been created, changed or deleted through the planning of a material or as a result of manual processing.
The Business Add-In allows you to publish the created and changed data from planned orders and can be used to update customer-specific tables or to connect to information systems and workflows.
You cannot use the methods of the Business Add-In to change the planned orders themselves. The planned orders are always posted in the communicated form.
You can execute the Business Add-In in the planning run of the following areas:
Material requirements planning (PP-MRP)
Master production planning (PP-MP-MPS)
Long-term planning (PP-MP-LTP)
You can also execute the Business Add-In in all applications, which carry out manual planned order changes, for example:
The dialog transactions for creating and changing planned orders (MD11, MD12, MS11, MS12)
The Business Application Programming Interfaces (BAPI) for creating and changing planned orders ( PlannedOrder Create, PlannedOrder Change)
All applications that explicitly or implicitly create and change planned orders, for example the planning table of repetitive manufacturing, repetitive manufacturing confirmation, capacity planning, assembly order processing, and so on.
Standard settings
The Business Add-In is not active in the standard.
The Business Add-In can be used multiple times.
The Business Add-In is not filter dependent.
Activities
To activate the Business Add-In, you must create an active implementation. To do this, choose the following path in the SAP Menu: Tools -> ABAP Workbench -> Utilities -> Business Add-Ins -> Implementation
For more information about this procedure, see the SAP Library under
Basis Components -> ABAP Workbench -> Changing the SAP Standard -> Business Add-Ins -> Implementing Business Add-Ins.
Note that the Business Add-In can be used multiple times and therefore all active implementations are called and run through.
Example
The following is a possible use for the methods of this Business Add-In:
When planning a material or manually processing planned orders, you want to log the changes made to the planned orders or the triggered subsequent functions.
The subsequent processing of certain planned orders or individual data from the planned orders occurs in an external planning system. In this case, you can log the corresponding changes to these planned orders in a user-defined table during planning. Using a separate report, you can select the data from the log table and process it further.
Further notes
Methods
Update Planned Orders: Requirements Planning - POST_AFTER_SAVE_MRP
Update Planned Orders: Manual Processing - POST_AFTER_SAVE_MAN
You can also call the documentation on the BAdI method via the menu, by carrying out the following steps:
1. Choose the tab page Interface.
2. Double-click on the relevant method.
3. Click on the right mouse button and choose Component documentation.
Regards
Ram -
Pls help - Urgent - Planned order transfer from APO to R/3 - inconsistency
Hello experts ,
Iam creating planned orders in APO using CTM planning. The planned order is getting transferred to R/3 but the order number is different in APO and R/3 .
I tried deleting the application logs in R/3 and APO using transactions CFGD and C6 and running CTM planning again. But it did not work.
Kindly suggest a solution. ThanksAs other members adviced
Please check the following as a list
1) Check first fi the Material is in APO relevant
2) Check if it has active integration model in cfm5 (R/3)
3) Check if the material has no blocked queues in /n/sapapo/cq (APO)
If there are any blocked queues please clear them accordingly.
4) After that perform a reconciliation of the transactional data through.
/n/sapapo/ccr(APO). perform it only for that material and on planned orders.
If there are any errors it will usggest you to follow few steps.
5) then again go back and check the /n/sapapo/cq transaction.
6) Check if the material and its location has publication Types maintained in SPRO transaction.
7) Check if the change pointers of this Planned order exists in /n/sapapo/c5
This si change pointers transaction , soemtimes you can release ti from there also.
If you still have problem, give the resutls of the following for reference.
Let us know once you perform all these.
8) Incase you need to perform the consistency checks externally. -
Mapping issue in planned Order
Hi Experts,
I am working on a planned order interface(File -> RFC -> File). There is a mapping provided like below in the request,
In the request mapping, i am mapping the source structure to the BAPI request. based on the creation/change/cancel request from the source structure for planned order, i need to populate the corresponding target structure in BAPI Request.
i need to do the mapping based on the creation/change/cancel like below,
Source Field Target Field
action(add,change,cancel) Add strcuture
Work Id----
>EXTAUFNR(0..1)
Field(0..1)
SupplierProductCode----
>Value(0..1)
Quantity----
> "
PlannedStartDate----
> "
PlannedEnddate----
>"
Change structure
Cancel structure
The above structure is given for 'add' planned order.
based on the source, target 'field' need to map as constant as below at runtime,
for 'value' in target 'SupplierProductCode' the 'Field' need to given as 'MATNR'
for 'value' in target 'Quantity' the 'Field' need to be given as 'BDMNG'
for 'value' in target 'PlannedStartDate' the 'Field' need to be given as GSTRP'
for 'value' in target 'PlannedEnddate' the 'Field' need to be given as 'GLTRP'
Kindly help me to get the values to 'value' and insert manually to the 'field' at runtime.
Regards,
Maha.Hi,
Please check below link it may helps you
Re: Why the basic finish date is not adjusted in planned orders
Regards,
Ram -
Planned orders created at APO side are not coming to the ECC
Hi All,
I am not getting the planned orders generated in the APO in to the ECC side after running the Product Heuristic. Many times I refreshed the stock requirements at ECC side and also APO side but still the planned orders generate has not come to the ECC. I am just new to APO. It would be great help if somebody can help me can guide/advice me on this.
Thanks & Regards
psamp1As well as Sajeev's reply, you also need to ensure that the Products and Plants you are planning are in an active integration model and that the transactional data you are expecting is also in an active integration model
You can check this by using the transaction CFM5 in ECC, enter your products and plants in the general selection options then tick the checkboxes for Materials, Plants and Planned Orders. On execution the system will tell you if they are in an active model or not. -
Dear All,
I am trying to create one planned order with planned order profile LA in Trx MD11. But in first screen after entering material number,qty & date. when I press enter planned order profile get changed to KD.
I do not know why it is happening? Please suggest me on this.
In OMDD Trx, is there any dependency between plant and planned order profile??
While creating a new order profile where we define the order type related to this??
Thanks & Regards
Kundan KumarHi
The problem is because of Account assignment category (E) which is getting copied to Planned order in MD11 and resulting to convert the order in to individual customer order (PP-SD-FI integration).Plz chk the Planning stg assigned to the material in MRP-III view
Regards
Brahmaji -
Line Split Interface to feed Integration Process - Performance Issues
Hi All
We have a scenario whereby we receive an XML message from a 3rd Party through an exposed SOAP Adapter service. The XML Message has multiple lines that need to be split up and processed as individual messages. We need to create a Line Splitting interface in order to achieve this. The Line Split interface would feed different Integration Processes depending on a specific payload value. The Integration Processes would then perform certain specific logic & Rules as well as transformations to specific message formats (e.g. idoc, xml, flatfile). The Line Split interface also maps from an xml structure that caters for multiple lines, to a flatened xml structure which only contains one line. The uper range of a message we may need to split into individual messages is 30 000 lines.
We first used an Interface Map and used SplitByValue to achieve this, however we ran into the constraint that we could not feed the output split messages to an Integration Process - you can only feed it to Adapters that reside on the J2EE engine.
We then decided to build a seprate Integration Process thats sole purpose was to split the message and route the indvidual messages to other integration processes to perform the logic, business rules and specific transformations. However, the performance of the ccBPM line splitting Integration Process was nowhere near the Interface Map.
e.g. Interface Map Split 1000 Lines = 13 seconds - BPM Integration Process 1000Lines = 100 seconds.
Does anybody have any suggestions on how we can perform the line split outside of BPM, or how we can improve ther performance of the line splitting within BPM?
Thanks for your assistance.
Edited by: CostaC on Aug 24, 2009 11:53 AMhi,
>>>We first used an Interface Map and used SplitByValue to achieve this, however we ran into the constraint that we could not feed the output split messages to an Integration Process - you can only feed it to Adapters that reside on the J2EE engine.
the easiest (not the only) way :
do the split as you did here and post the results in different folders (file adapter)
then set up scenarios that will get the files from those folders
(many additional objects but will be much much faster and better then a BPM)
you could also split the messages in the adapter module but this is more advanced
and officially SAP does not recommend it - even though it's possible
Regards,
Michal Krawczyk -
Differemce between PROCESS ORDER,PLANNED ORDER AND PURCHASE ORDER??
what is th edifference between PROCESS ORDER,PLANNED ORDER AND PURCHASE ORDER ??? can any one explain with some examples?
n.bhardwaj
[email protected]Process Order:
Process order / Production order are activities within a business, where the production planning team team creates to absorb costs / evaluate costs / and check against planned figures. There would integration between MM/FI/PP to create such orders and process.
Planned Order:
A request created in the planning run for a plant to trigger the procurement of a plant material for a certain quantity for a specific date.
Purchase Order:
A request or instruction from a purchasing organization to a vendor (external supplier) or a plant to deliver a quantity of material or to perform services at a certain point in time.
Regards
AK -
Planned orders appears in RRP3 but when published doesn't appear in ECC?
Planned orders appears in RRP3 but when published doesn't appear in ECC ?
Help me with CIF procedures to bring it to ECC. (without using C5) because i need to convert to production order.?
Thanks
OhioHello Rahul,
Please check the publication setting for location in-house production in /SAPAPO/CP1.
Check active integration model in CMF5, if missing create the integration model by CFM1 and CFM2.
Also you can run the delta report /SAPAPO/CCR or post processing report /SAPAPO/CPP1 for planned order to transfer.
Also check the CIF application log SLG1.
Best Regards,
R.Brahmankar -
Only create planned order if no stock
Experts,
I want to setup MTO environment with possible delivery from stock. If I use strategy 20 (MTO) the system always generates planned orders even if there is stock, with strategy 10 (MTS) no planned orders are created.
Flow:
- when sales order is created and there is no stock --> MRP generates planned order
- when sales order is created in stock is available --> no planned order should be generated by MRP
I tried to make a new strategy but can't find settings to make our flow possible. Has anyone experience? I guess this is a situation faced in many companies.
Reward points if helpful answer.
Thanks,
janHi,
I'm not totally sure this is the only strategy suitable for you, maybe you can examine this pdf material:
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PPMPDEM/PPMPDEM.pdf
Have a nice day,
Csaba
Maybe you are looking for
-
Maverick upgrade - iPhoto problems
I have updated my iMac with Maverick but find iPhoto won't work. I get the error message: "You can't' use this version of the application "iPhoto" with this version of OS X. You have "iPhoto" 9.2.3 - Any ideas what I do now? What's the point of an
-
Data copy B/W Essbase Applications using script
How to Data copy from one app to another app. Server Name: Server1 Version: 9.3 Essbase App: App1 Data Bases: Db1, Db2,Db3 Server Name: Server1 Version: 9.3 Essbase App: App2 Data Bases: Db1, Db2,Db3 Note: App1 & App2 Applications are having similar
-
Partial clearing for noted item
Hi I have created a bank guarantee (BG) given to customers as a noted item. When receiving payaments from customer (after invoicing is done to customer), i need to clear this BG (noted item). This clearing of noted item needs to be done for partial
-
Hidden Special Characters in Variable
I am having a weird issue and for the life of me cannot figure out the root cause. I have a query that is pulling back some data including a summed money data type from sqlserver called totalAmount. We are looping over these rows and adding up some
-
Collection type support in Forms version 6.0.8.11.3
Hi I am trying to call this from forms. I am getting error no data found whenever this calls IF condition but from backend if run it from a script it works fine. So I was thinking whether Forms PL/SQL version supports collection types. I am using For