APO Scheduling
Hi All,
I have created sales order in ECC 6.0.While gave the material and Qty and pressed Enter we got below Information error
Error in calling up function 'BAPI_APO_SCHEDULING'
in APO server 'MIL_XX_XX':
<b>Function module "BAPI_APO_SCHEDULING" not found</b>.
next
<b>Factory calendar BAPI_APO_SCHEDULING is not valid</b>
Please help me.
Thank you,
Durga
Hello Durga -
Look at the following OSS note numbers 414770 and 788879 it talks about the error you are getting.
Hope this is of help.
Regards,
Suresh Garg
Similar Messages
-
Diff between Detail scheduling & Apo Scheduling
Hi all,
Diff between Detail scheduling & Apo Scheduling
Thanks & Regds
DhinakarHi Dhinakar,
i hope u are asking about difference Between Detailed scheduling of R/3 and APO scheduling.
R/3 Detailed Scheduling.
It is infinite scheduling - ie in which production orders and opeartions are scheduled without taking into account of existing workcenter load. Here over loading will be happened.
APO scheduling.
It is finite scheduling where by
existing capacity load is taken into account while scheduling. over load will not occur.
Here system will not schedule two production orders at same time. This one of the advantages of APO
Regards
Pradeep -
Hi Experts,
I am testing the scheduling using the Condition Technique- the path as below mentioned.
And SAP Easy Access Menu - Advanced Planning and Optimization -->Master Data -->Application-Specific Master Data -->Transportation and Shipment Scheduling -->/SAPCND/AU11 - Create Scheduling Step
Could some one please help me how can I create the Route in APO to work out this.
I have ciffed shipping point, plant, customer and product but I could not find any information on "Route"
Could you help please where we can create route in APO.
Thanks,Hi,
Route is not created in APO. It comes as a part of Sales order. It will be there on sales order line item.
Look into the tables /sapapo/posmapn and /sapapo/sd_field,/sapapo/shipping.
You just need to maintain the route here and the time so that your scheduling will up the same while scheduling your sales order.
Regards,
Jit -
Transferring APO scheduling agreeement through CIF
When we transfer scheduling agreement through CIF to APO, they automatically get created as type "OLTP". APO however, does not recognize vendors if the scheduling agreement is not of the type "APO".
We would appreciate it if anyone knows a setting in CIF which would create scheduling agreements of type "APO" in the APO system.
Thanks.Hello,
In R/3 side in sch. agrrement ( ME32) if you go to additional data , the field External planning controls whether it is OLTP or APO SA .
If you select it 1 it will transfer as APO SA if it is blank and still you CIF the SA to APO it will view as OLTP SA in APO.
Pl. let me know if you required further information.
Regards,
Rajiv -
APO schedules order having REL and PCNF status
Hello,
We are using PPDS for planning and scheduling. The planned orders are converted to production orders and sent to R/3. After order release in R/3, user may adjust the quantity and reschedule the order in R/3 to extend the orders when needed. This can be the case for partially confirmed orders also.
But as soon as user reschedules order in R/3 APO overwrites the dates. How can we stop this so that R/3 has the control on orders with REL and PCNF status.
Thanks
PEHi,
Can you check the settings defined in /SAPAPO/CP3 for retransfer.
Thanks,
nandha -
How ro delete/cancel procurement Scheduling Agreement Release in APO system
Hi,
Can you please tell me the ways to delete procurement schedule agreement release in APO system.
I have gone through the thread "How to delete the old schedule line release? and found two transactions but it seems both the transactions like /sapapo/cmds_del & sappao/cmds_sc02 are used for sales scheduling agreement release deletion.
The system is not allowing me to delete the same in APO system as these are APO scheduling agreements.
Please help me on the same.Thanks in advance.Revert back if any further clarification is required.
regards,
kaushikHi,
Thanks for your reply again.
The /SAPAPO/DELETE_PP_ORDER program does not select the release schedule lines though it selects the Scheduling Agreement Schedule Line (Not released) for deletion.
The transaction /SAPAPO/PWBSRC2 for Deleting External Procurement Relationship but as long as the released schedule line exists , it is not possible to delete the scheduling agreements.
I have gone through the help.sap.com site and I was not able to found anything about deletion or cancel/closing of Scheduling Agreement Release.
Still waiting for the solution.
regards,
kaushik -
Confirmed Schedule Lines in Sales order on a Holiday
HI Experts,
I am seeing that I have a confirmed schedule lines on a Holiday though the Calender assigned to Shipping Point and Plant has been marked as holiday. I have not maintained any unloading point calender in Customer master and I do not think it is mandatory. However, ECC is connected to APO/GATP. Since The availability check is happening from GATP, Will it consider the factory calender in ECC or Should a Time series be maintained in Location Master so that The confirmed delivery date will not be on a holiday.
Any inputs will be appreciated.Dear Prady Reddy,
unloading point calendar is not mandantory.
The ECC factory calendar will be transfered and considered in APO scheduling but you can also define other calendars in APO with time streams and you can assign it to locations.
Hope this helps.
Regards,
Tibor -
Transfer purchase requsition from ecc to apo
Hello,
When creating purchase requirements in ECC, they are not transferred to APO although there is model integration. If I activate again the model, the pur req are trasnferred.
In CCR
It gives the error 181 in Schedule line does not exist in APO
Schedule line does not exist in APO
Message no. /SAPAPO/CIF181
And the Queue is not bloqued, and the model is active.
ThanksHi Fernando,
Based on the information given, it seems there is problem in
activation.
1) Check is there more than one model activated for purchase
requisitons
2) Check the master data (purchasing view) has been
maintained for those items in R/3 level
3) Check distribution definition is maintained in APO
customisation
4) I have a query in which, in general PR transfer will be
from APO to R/3, in your case it is reverse, is there any
business requirement?
5) Check transfer to SNP orders to OLTP system in APO
customisation
Regards
R. Senthil Mareeswaran. -
Material Availability date differs in R/3 & APO
Hi,
We are facing Issue with Material Avaialbility date for Planner order/Manufacturing Order in R/3 and APO.
We are using a Master Recipe for PDS Creation in APO which consists on 9-10 different operations, out of which only inbetween operation 4-5-6 is scheduled in APO.
So in APO Other Operations are not availble in PDS and hence not considered for scheduling as required. Also GR Processing Time is maintained on Product Master for which infinite Capcity Handling resource in created in APO.
When we schedule Operations in APO, the Scheduled dates for Operation 4-5-6 is sent back to R/3 and for other Operations based on relationship maintained takes addistional 1-2 Days.
In R/3 Availability Date for Planner Order/Manufacturing Order is calculating by adding a GR time after Operation 10 end time, while in APO as ony operation 4-5-6 is available a GR time is added after Operation 6, which is resulting in Differnet availability date for Order in R/3 and APO.
Kindly suggets a way to same date in R/3 and APO, if anyone has faced same Issue.
Thanks for your Help !!!Hi Senthil,
I completly understand, that APO Material Availability date is GR end Date while in R/3 its a Process Order end date.
But Problem is not that.
Problem is not all operation of Process order are in APO, so assume u have 5 operations in Process order out of which only first 3 are relevant for schedulilng in APO. So APO schedules these 3 Operation and adds the GR time to Show the avaiablity date.
While in R/3 GR Time is added after end of Operation 5 which is right, so GR end date in R/3 and APO dont match.
Let me know if you think some more on this...!!!
Thanks and Appreciated !!! -
Document type LPA in schedule agreement
any one can explain me document type LPA in schedule agreement. I read books as that is document type with release documentation. And what is the diff between LP and LPA?
Dear,
Please find below, which I found by search and posted by fellow collegues earlier....
Default quantity for goods receipt
In the standard system, the quantity open to date from the last- transmitted SA release is used in the case of scheduling agreements with release documentation (document type LPA). In the case of scheduling agreements without release documentation (document type LP), the open quantity to date is used.
Document Type of Scheduling Agreement
As a rule, the APO scheduling agreement in the SAP R/3 system is a scheduling agreement with the document type LP or a scheduling agreement without release documentation.
If you use scheduling agreements of the document type LPA without confirmation control key then no default quantities can be determined from the release upon goods receipt.
If you use scheduling agreements of the document type LPA with confirmation control key then the default quantities from the confirmation (shipping notification) are used.
As a rule, the OLTP scheduling agreement in the SAP R/3 System is a scheduling agreement with the document type LPA.
A scheduling agreement is a longer trem agreement with a vendor covering the supply of materials subject to predefined conditions.The conditions are valid for a pre defined period and a pre defined total purchase order quantity.
You can enter the Target value in the header data of the scheduling agreement.You can enter the Target quantity in the item overview for each item
You can use scheduling agreement with or without release documentation.The advantage of working with scheduliing agreement release documentation is that you always have a record of when you sent which delivery schedule information to your vendor,which you can display at any time.
Without release documentation(Document type LP)
The delivery schedule lines have official character-that is to say,they are transmitted to the vendor as they are saved in the system.The system does not document in detail releases aganist the scheduling agreement that have been sent to the vendor.Therefore,in the case of the document type without release documentation,the message control facility should be set up in such a way that a message is immediately sent to vendor if any changes are made to the delivey schedule stored in the system.
With release documnetation(Document type LPA)
If you use scheduling agreement with release documentation,the delivery schedule lines are not transmitted directly to the vendor.Intially ,the lines of the delivery schedule stored in the system for an LPA scheduling agreement for an internal information only.A message informing the vendor of your material requirements cannot be transmitted to the vendor until you explicitly create an SA release,that is forecast (FRC) or Just in Time(JIT) delivey schedule.Through this process,you can change the way schedule lines are represented.With release documentation,you can disply the SA releases(delivery schedules) transmitted to a vendor over a certain period of any time.This enables you to trace precisely when you sent which information to vendor.
Regards,
Syed Hussain. -
Backward scheduling in sales order
Hi all,
I have 2 routes maintained which should be determined by different shipping conditions. Let's name them as Route A with transit time 4 days and Route B with transit time 2 days.
When creating sales order, the backward scheduling takes place. To my understanding, in case the material available date is calculated as in the past, forward scheduling will take place.
My question is - I have 2 routes with different transit time. Is it possible to make the backward scheduling checking all available routes (in my case, ignoring the shipping condition) before start the forward scheduling?
Thanks in advance.
Cheers, KennethThis is how the system works:
the route is determines in FM SD_ROUTE_DETERMINATION. this is reached via the following call stack:
SAPL0VRF FUNCTION SD_ROUTE_DETERMINATION
SAPFV45P FORM VBAP-ROUTE_ERMITTELN
SAPFV45P FORM VBAP-VSTEL_ERMITTELN
SAPFV45P FORM VBAP_FUELLEN
SAPMV45A MODULE (PAI) VBAP_FUELLEN
As you know, shipping conditions are used as a criteria to find a route.
So lets say:
Shipping Conditions A (Air) ---> Route 1 will be determined
Shipping Conditions T (Truck) ---> Route 2 will be determined
Route 2 gets determined. Later, Function SD_SCHEDULING will be called. The following call stack reflects this:
SAPLV03C FUNCTION SD_SCHEDULING
SAPFV45V FORM VERSANDTERMINIERUNG_NEU
SAPFV45V FORM MVERF_AUFBAUEN_WMENG
SAPFV45V FORM MVERF_AUFBAUEN
SAPFV45V FORM VERFUEGBARKEIT_PRUEFEN
SAPFV45V FORM BESTAND_BEDARF_ABGLEICHEN
SAPFV45P FORM VBAP_BEARBEITEN_ENDE_VERFUEGB
SAPFV45P FORM VBAP_BEARBEITEN_ENDE
SAPMV45A MODULE (PAI) VBAP_BEARBEITEN_ENDE
The call of function SD_SCHEDULING looks like this:
call function 'SD_SCHEDULING'
EXPORTING
if_schedule_direction = v03c_backwards
if_schedule_shipping = us_vstrm
if_schedule_transport = us_trtrm
if_shipping_point = us_vstel
if_weight_group = us_grulg
if_loading_group = us_ladgr
if_transport_route = us_route <<<<<<<<<<<<<<<
us_route contains the route that is determined in FM SD_ROUTE_DETERMINATION.
So only 1 route will be passed to SD_SCHEDULING. In this example, use_route = "2" (Route 2).
My understanding of your issue is that you may have a requested delivery date = 10th April (for example)
10th - 4 days = 6th, a date in the past so system must do a forwards scheduling, and then we inevitably have a later confirmed delivery date. However, before you have the system do a forwards scheduling, you want the system to see if the requested delivery date of April 10th can
be reached with route 1.
10th - 2 days = 8th, so there is no need to execute the forwards scheduling as the customers requested delivery date can be met
It sounds like a reasonable request to me (Route 2 could be cheaper and meet customer's delivery date but if it cant be reached, then use route 1 as you will get goods to customer on time even if it is more expensive), but I do not think it is easily achieveable. The ECC system is just not as clever as that. Maybe the APO scheduling offers some more flexibility regarding this? The ECC system simply uses the route (i.e. transit time of route) as part of the initial backwards scheduling. If dates in the past, it will switch to forwards scheduling.
There is no method by which it will not switch to forwards scheduling if there is another route available. It cannot do this because as far as FM SD_SCHEDULING is concerned, there is only 1 relevant route.
I am not even sure if this is possible via a user exit. The problem is preventing the forwards scheduling in the case of route 2 resulting in past dates. There is definitely no user exit to do this within SD_SCHEDULING. And then there is the possibility of route 1 determining past dates. In the case of both routes determining past dates, which route should be used. So I do not think there is any possibility to so this from within the scheduling function.
Maybe you could implement your own "rough" scheduling logic in EXIT_SAPL0VRF_001. This exit is called in FM SD_ROUTE_DETERMINATION and allows you to determine your own route. And then this route will later be passed to the standard scheduling function. This would be a fairly significant development effort though. -
Hello All,
Can any version of APO support the following scheduling requirements?
1. Create and change a production schedule for both Product Family and Individual products
2. Create and lock the production schedule at the product family level and move around the individual product schedules
All your help is appreciated.
Thanks,I have not come across any APO Scheduling functionality at Product Family level.
However you may like to consider Block Planning functionality. You can define a Block for each Product Family and within a block have the orders for different products belonging to the same Product Family (use Product Family as characteristic). Within a Block you can schedule individual orders.
Somnath -
Material with PPM allow the date change
Hi Experts,
I have a issue regarding the date change in process order which is effected by the APO scheduling dates.
Now i have observed that materials having PPM are not allowing me to change the dates even if i try manually.
But Materials without it are easyily taking the dates in changed mode.
My requirement is to change the date manually and APO should not effect the dates later on.
Any timely suggestion will be rewarded .
Reagrds
AthillesHi,
In R3, check under "Adjust dates" in define scheduling parameters for process orders ( OPUZ) what is the setting defined.
Try with different settings.
Thanks,
nandha -
hi gurus,
i am new to abap.
i am create a report using
select-options: apoid,
material,
location to.
parameters: days .
user want to delete entries from the DB table
from system date to behind 5 days left entries
for ex. as today is 25.06.2008 he wants data in DB table
of only 20.06.2008 to 25.06.2008
if other data from left these dates are deleted.
and also in output shows the
2. Report output should contain :
a) Number of entries selected for deleting from table
b) Number of entries deleted from the table table
c) Number of entries remaining in the table table
i am do some coding
plz help me in this case
TABLES: zapolp22.
INTERNAL TABLE *
TYPES: BEGIN OF it_output,
ordid TYPE ZAPOLP22-ordid, "APO order id
schedid TYPE zapolp22-schedid, "APO schedule line id
matnr TYPE zapolp22-matnr, "Material Number
locto TYPE zapolp22-locto, "APO Destination location
lfmng TYPE zapolp22-lfmng, "Delivery quantity
lfdat TYPE zapolp22-lfdat, "Shipping date
locfr TYPE zapolp22-locfr, "APO Supplying location
rqmng TYPE zapolp22-rqmng, "Required quantity
rqdat TYPE zapolp22-rqdat, "Delivery date
prckz TYPE zapolp22-prckz, "Data element processing
blkstk TYPE zapolp22-blkstk, "Blocked Quantity
oppdelqty TYPE zapolp22-oppdelqty, "Cumulative order qty
zzapologmod TYPE zapolp22-zzapologmod, "Logistic Model
zzflagurgent TYPE zapolp22-zzflagurgent, "APO Urgency Flag
zzapottype TYPE zapolp22-zzapottype, "APO Transport Means
zzndays_l_time TYPE zapolp22-zzndays_l_time,"Lead Time Transport
END OF it_output.
DATA : itab1 TYPE STANDARD TABLE OF it_output." WITH HEADER LINE.
DATA : itab LIKE LINE OF itab1.
SELECTION SCREEN / PARAMETERS *
SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME.
SELECT-OPTIONS: s_ordid FOR zapolp22-ordid,
s_matnr FOR zapolp22-matnr,
s_locto FOR zapolp22-locto.
SELECTION-SCREEN END OF BLOCK a1.
PARAMETERS: p_days LIKE sy-datum.
DATA
DATA: days TYPE i.
START OF SELECTION *
SELECT mandt
ordid
schedid
matnr
locto
lfmng
lfdat
locfr
rqmng
rqdat
prckz
blkstk
oppdelqty
zzapologmod
zzflagurgent
zzapottype
zzndays_l_time
FROM zapolp22 INTO itab
WHERE ordid IN s_ordid AND
matnr IN s_matnr AND
locto IN s_locto.
ENDSELECT.
p_days = sy-datum - days.
DELETE zapolp22 FROM itab.
IF sy-subrc = 0.
WRITE:/ 'DEleted'.
ENDIF.
gururs plz help me its urgent.
thanks
jayantHis employer may be aware he's a newbie. He should of course be looking to his colleagues to help. But at least he's made an attempt. Martin is right though - this isn't a problem that requires a guru - it's a beginner task.
For starters try FROM zapolp22 INTO TABLE itab and remove the ENDSELECT.
Then LOOP AT itab...ENDLOOP.
READ the ABAP help for any keywords you don't understand. And DON'T use itab as a name for your internal table. Use a MEANINGFUL name. like t_apo_data.
matt -
SAP CCR error /SAPAPO/CIF561
Hi,
We are getting the following error in CCR report. Have not found anything on OSS. Secondly after scheduling the dates are not getting updated from APO to ECC. Any help on this is appreciated.
Operation 0050 for order 000XXXXXXXX: Differences in 'scheduled' status
Message no. /SAPAPO/CIF561
Diagnosis
Operation 0050 for order 0000XXXXXXX has the following differences for the Scheduled (EIGP) status in SAP APO and SAP R/3:
Status in SAP R/3: Deallocated
Status in SAP APO: Scheduled
Thanks,
SandeepHi Sandeep,
You need to check /SAPAPO/CP1 (Maintaining Distribution Definitions).
You need to maintain entry for In-house production as you mentioned your production orders are not getting transferred to ECC.
If you want to read about distribution definition you can go to SPRO> APO>Integration with SAP Components> Integration via APO Core Interface (CIF)> Basic Settings for Data Transfer> Publication> Maintain Distribution Definition
Once you maintain this and you have CIF model active for production order then data will flow automatically to ECC and you should be able to solve your problem.
I hope this helps.
Thanks,
Anupam
Edited by: Anupam Sengar on Aug 11, 2011 12:24 AM
Maybe you are looking for
-
Crystal Server 2011 "Failed to open the connection" with 32 & 64 bit drivers are loaded
Brand new installation of Crystal Reports Server 2011 with CR Developer 2011 as well. Downloaded new Postgres and MySQL drivers for both the 32 and 64 bit ODBC definitions. Created a new report on the server to eliminate any migration driver incomp
-
Macintosh formatted iPod won't work for Windows
Hi, I have 2 computers, an Apple iMac and a Windows Vista laptop. My iPod used to be Windows formatted, which worked for both Windows and Mac, when I restored it though, it was restored to Macintosh. I tried transferring some files to my Vista only i
-
How to get the Change node in Production Server!!!!!
Hi Guys, Kindly let me know how to get the Change node in Production Server for the Transaction Code Pe03 for generating the Acknowledgement No for the year 2008 . Plz provide me the steps how to get the Change Node for Acknowledgement No so tat i ca
-
How do I make a cell equal a certain degree of a 360° zodiac point?
I need to make a cell equal a certain degree on a 360° zodiac point when typing a number from 0-359. For example, if I would put in the number "10" in a cell it would give me "10 Aries" as a result in the cell. Doing 360 "if, then" statements is not
-
I'm locked out my IPOD cause I can't remember my 4 digit code. How can I unlock it?
I'm locked out my IPOD cause I can't remember my 4 digit code. How can I unlock it?