Schedule line different from days accepted by customer calendar
Hi,
When trying to create order for a customer using fcustomer calendar (receiving days = monday), and proposing delivery date for example on a wednesday, it compares a warning messagge that says that next possible goods receving date is the subsequent monday.
If you ignore it, the date in the schedule line remains unchanged (programmed delivery on wednesday).
System uses APO,in the case it runs instead it proposes the nearest monday to the requested date, and no problem with that.
The problem remains on those cases where APO doesn't run.
Any ideas on how to make automatic acquisition of the proposed date of the warning messagge and insert it in schedule line?
User-exit is necessary?
Thanks,
Giuseppe
Anybody that can help me????
Similar Messages
-
Link between Delivery schedule line counter from PO and the material docume
Dear Gurus,
I have one PO with single line item having delivery schedule -
Material 1 -
delivery schedule 01.01.2009 2000
01.03.2009 5000
I have received quantity against this Po
I want to know where I can find the link between Delivery schedule line counter from PO and the material document
Best regards
SarThere is no link from the MAterial document line item (Table Mseg) to the PO Schedule Line (EKET).
If this is for Evaluating an on time delivery or GR, you may consider the following approach.
PO details Po Date QTY
Sch1 01Jun2009 200
SCH2 08Jun2009 100
GR Details
GR1 01Jun2009 180
GR2 07Jun2009 110
GR3 09Jun2009 10
Calculate a *** total qty for the PO Line.
PO details Po Date CUMUL QTY
Sch1 01Jun2009 200
SCH2 08Jun2009 300
Calculate a *** total qty for the ontime GR.
PO details Po Date CUMUL PO QTY CUMUL GR on time
Sch1 01Jun2009 200 180
SCH2 08Jun2009 300 290 (180+110) the 3rd GR was too late
Evaluate the PO SChedule Lines as follows:
Po SCL qty + CUMUL GR QTY - CUMUL PO QTY = ADJ GR ON Time Qty
SCH1 01Jun2009
200 + 180 - 200 = 180 on time for 01Jun2009 date ( 90% fill rate)
SCH2 08Jun2009
100 + 290 - 300 = 90 on time for 08Jun2009 date (90 % fill rate) the first 20 of the GR on 07Jun2009 went to fill the late, early date.
Best of luck !
SCH2 100 +290 - 300 = 90 on time for 07Jun2009 date -
BAPI FOR Deleting a Schedule Line Item from EKES and EKET tables
Dear All,
I would like to for deleting one of the line item from EKES (Po Confirmation ) and the respective line item from the EKET(PO Schedule Line Item Table).
Assume that am allowing the user to select the lineitem from zprogram screen and collecting the PO and Its LIne Item details in an internal table.
Can i Use
<b>BAPI_PO_Change</b> , if so , can anybody tell me the steps to follow to use this bapi for deleting the PO lineItems, since i m going to try BAPI for First time.
pls help me out
Message was edited by: Raja K.PHi raja ,
loop at iekko1.
w_index = sy-tabix.
item-po_item = itemx-po_item = iekko1-ebelp.
item-quantity = iekko1-mng01.
itemx-quantity = iekko1-mng01.
if iekko1-wamng = iekko1-wemng.
itemx-no_more_gr = item-no_more_gr = 'X'.
else.
itemx-no_more_gr = item-no_more_gr = ''.
endif.
append item.
append itemx.
clear return[].
call function 'BAPI_PO_CHANGE'
exporting
purchaseorder = iekko1-ebeln
tables
return = return
poitem = item
poitemx = itemx.
if return[] is initial.
commit work and wait.
call function 'DEQUEUE_ALL'.
search for deletion fields which u have to mark 'X'.
before calling this BAPi u have to lock the PO by using ENQUEUE.
<b>
FU BAPI_PO_CHANGE
Text
Change purchase order
Functionality
Function module BAPI_PO_CHANGE enables you to change purchase orders. The Change method uses the technology behind the online transaction ME22N.
Alternatively, the IDoc type PORDCH1 is available. The data from this IDoc populates the interface parameters of the function module BAPI_PO_CHANGE.
Functionality in Detail
Authorization
When you create (activity 02) an Enjoy purchase order, the following authorization objects are checked:
M_BEST_BSA (document type in PO)
M_BEST_EKG (purchasing group in PO)
M_BEST_EKO (purchasing organization in PO)
M_BEST_WRK (plant in PO)
Controlling adoption of field values via X bar
For most tables, you can use your own parameters in the associated X bar (e.g. PoItemX) to determine whether fields are to be set initial, values inserted via the interface, or default values adopted from Customizing or master records, etc. (for example, it is not mandatory to adopt the material group from an underlying requisition - you can change it with the BAPI).
Transfer
Purchase order number
The PurchaseOrder field uniquely identifies a purchase order. This field must be populated in order to carry out the Change method.
Header data
The header data of the Enjoy purchase order is transferred in table PoHeader.
Item data
The item data of the Enjoy purchase order is stored in the tables PoItem (general item data). Changes regarding quantity and delivery date are to be made in the table PoSchedule.
Use the table PoAccount to change the account assignment information.
Services and limits
Changes to existing items cannot be carried out with the Change method. It is only possible to create new items.
Conditions
Conditions are transferred in the table PoCond; header conditions in the table PoCondHeader. A new price determination process can be initiated via the parameter CALCTYPE in the table PoItem.
Vendor and delivery address
The vendor address in the table PoAddrVendor and the delivery address in the table PoAddrDelivery can only be replaced by another address number that already exists in the system (table ADRC). Changes to address details can only be made using the method BAPI_ADDRESSORG_CHANGE.
Partner roles
You can change all partners except the partner role "vendor" via the table PoPartner.
Export/import data
Export/import data can be specified per item in the table PoExpImpItem. Foreign trade data can only be transferred as default data for new items. Changes to the export/import data of existing items are not possible.
Texts
Header and item texts can be transferred in the tables PoTextHeader and PoTextItem. Texts for services are imported in the table PoServicesText. Texts can only be replaced completely.
Version Management
You can make use of the Version Management facility via the table AllVersions.
Return
If the PO was changed successfully, the header and item tables are populated with the information from the PO.
Return messages
Messages are returned in the parameter Return. This also contains information as to whether interface data has been wrongly or probably wrongly (heuristical interface check) populated. If a PO has been successfully created, the PO number is also placed in the return table with the appropriate message.
Restrictions
With this function module, it is not possible to:
Create subcontracting components (you can only use existing ones)
Create configurations (you can only use existing ones)
Change message records (table NAST) and additional message data (this data can only be determined via the message determination facility (Customizing))
Attach documents to the purchase order
Change foreign trade data
Change service data
Change or reexplode BOMs
A firewall prevents the manipulation of data that is not changeable in Purchasing according to the business logic of the purchase order (e.g. PO number, vendor, etc.).
PO items with an invoicing plan cannot be created or changed using the BAPIs
In this connection, please refer to current information in Note 197958.
To change addresses with numbers from Business Address Services (cantral address management), please use the function module BAPI_ADDRESSORG_CHANGE.
To change variant configurations, please use the function module BAPI_UI_CHANGE. More information is available in the BAPI Explorer under the Logistics General node.
In the case of changes that are to be made via the BAPI_PO_CHANGE, a firewall first checks whether the relevant fields are changeable. This approach follows that of the online transaction. Here it is not possible to change the vendor or the document type, for example.
Example
Example of changes made to a purchase order with:
1. Change in header data
2. Change in item
3. Change in delivery schedule
4. Change in account assignment
5. Change in conditions
6. Change in partners
Parameter: PURCHASEORDER 4500049596
Parameter: POHEADER
PMNTTRMS = 0002
PUR_GROUP = 002
Parameter: POHEADERX
PMNTTRMS = X
PUR_GROUP = X
Parameter: POITEM
PO_ITEM = 00001
CONF_CTRL = 0001
Parameter: POITEMX
PO_ITEM = 00001
PO_ITEMX = X
CONF_CTRL = X
Parameter: POSCHEDULE
PO_ITEM = 00001
SCHED_LINE = 0001
QUANTITY = 10.000
PO_ITEM = 00001
SCHED_LINE = 0003
DELETE_IND = X
Parameter: POSCHEDULEX
PO_ITEM = 00001
SCHED_LINE = 0001
PO_ITEMX = X
SCHED_LINEX = X
QUANTITY = X
PO_ITEM = 00001
SCHED_LINE = 0003
PO_ITEMX = X
SCHED_LINEX = X
DELETE_IND = X
Parameter: POACCOUNT
PO_ITEM = 00001
SERIAL_NO = 01
GL_ACCOUNT = 0000400020
Parameter: POACCOUNTX
PO_ITEM = 00001
SERIAL_NO = 01
PO_ITEMX = X
SERIAL_NOX = X
GL_ACCOUNT = X
Parameter: POCOND
ITM_NUMBER = 000001
COND_TYPE = RA02
COND_VALUE = 2.110000000
CURRENCY = %
CHANGE_ID = U
Parameter: POCONDX
ITM_NUMBER = 000001
COND_ST_NO = 001
ITM_NUMBERX = X
COND_ST_NOX = X
COND_TYPE = X
COND_VALUE = X
CURRENCY = X
CHANGE_ID = X
Parameter: POPARTNER
PARTNERDESC = GS
LANGU = EN
BUSPARTNO = 0000001000
Help in the Case of Problems
1. Note 197958 lists answers to frequently asked questions (FAQs). (Note 499626 contains answers to FAQs relating to External Services Management.)
2. If you have detected an error in the function of a BAPI, kindly create a reproducible example in the test data directory in the Function Builder (transaction code SE37). Note 375886 tells you how to do this.
3. If the problem persists, please create a Customer Problem Message for the componente MM-PUR-PO-BAPI, and document the reproducible example where necessary.
Customer Enhancements
The following user exits (function modules) are available for the BAPI BAPI_PO_CREATE1:
EXIT_SAPL2012_001 (at start of BAPI)
EXIT_SAPL2012_003 (at end of BAPI)
The following user exits (function modules) are available for the BAPI BAPI BAPI_PO_CHANGE:
EXIT_SAPL2012_002 (at start of BAPI)
EXIT_SAPL2012_004 (at end of BAPI)
These exits belong to the enhancement SAPL2012 (see also transaction codes SMOD and CMOD).
There is also the option of populating customer-specific fields for header, item, or account assignment data via the parameter EXTENSIONIN.
Further Information
1. Note 197958 contains up-to-date information on the purchase order BAPIs.
2. If you test the BAPIs BAPI_PO_CREATE1 or BAPI_PO_CHANGE in the Function Builder (transaction code SE37), no database updates will be carried out. If you need this function, please take a look at Note 420646.
3. The BAPI BAPI_PO_GETDETAIL serves to read the details of a purchase order. The BAPI cannot read all details (e.g. conditions). However, you can use the BAPI BAPI_PO_CHANGE for this purpose if only the document number is populated and the initiator has change authorizations for purchase orders.
4. Frequently used BAPIs for purchase orders are BAPI_PO_CREATE, BAPI_PO_CREATE1, BAPI_PO_CHANGE, BAPI_PO_GETDETAIL, BAPI_PO_GETITEMS, BAPI_PO_GETITEMSREL, and BAPI_PO_GETRELINFO.
5. For more information on purchase orders, refer to the SAP library (under MM Purchasing -> Purchase Orders) or the Help for the Enjoy Purchase Order, or choose the path Tools -> ABAP Workbench -> Overview -> BAPI Explorer from the SAP menu.
Parameters
PURCHASEORDER
POHEADER
POHEADERX
POADDRVENDOR
TESTRUN
MEMORY_UNCOMPLETE
MEMORY_COMPLETE
POEXPIMPHEADER
POEXPIMPHEADERX
VERSIONS
NO_MESSAGING
NO_MESSAGE_REQ
NO_AUTHORITY
NO_PRICE_FROM_PO
EXPHEADER
EXPPOEXPIMPHEADER
RETURN
POITEM
POITEMX
POADDRDELIVERY
POSCHEDULE
POSCHEDULEX
POACCOUNT
POACCOUNTPROFITSEGMENT
POACCOUNTX
POCONDHEADER
POCONDHEADERX
POCOND
POCONDX
POLIMITS
POCONTRACTLIMITS
POSERVICES
POSRVACCESSVALUES
POSERVICESTEXT
EXTENSIONIN
EXTENSIONOUT
POEXPIMPITEM
POEXPIMPITEMX
POTEXTHEADER
POTEXTITEM
ALLVERSIONS
POPARTNER
Exceptions
Function Group
2012
</b>
regards
prabhu
Message was edited by: Prabhu Peram -
A new schedule line with net price zero but custom duty non-zero value
Hello,
I have a special requiremnet in MM scheduling agreement, for a specific type of scheduling agreement, I am copying a schedule line to a new schedule line. The new schedule line should have all the pricing and duty values from the old schedule line, except the net price of the new schedule line should be zero.
I am able to make the net price zero in the new schedule line, but not able to copy the custom duty values from the old schedule line. Since my netprice is zero in the new line, it automatically set all other follwoing duty values also to zero.
Say example a scheduling agreement: A has two line:
Condition Type % Total Value
scheduline line 1 - with pricing values PB00 200 USD
Cond1 5 10 USD
Cond2 10 20 USD
230 USD
expectedd result i the new schedule line
scheduline line 2 - PB00 000 USD
Cond1 5 10 USD
Cond2 10 20 USD
30 USD
I am trying to overwrite the condition values using the FM RV_CONDITION_COPY, but I am not getting the desired result.
Please let me know if you have any solution to my requirement.
Best Regards,
Amarjit SinghHello Colleague;
In Standard the schedule lines cateogory CV is activated for 'Req./Assembly' and 'Availability'.
Please, make this adjust and re-test you process.
Regards
Ruy Castro -
Schedule lines tranfer from R/3 to SUS in a MM-SUS scenario
Hi SRM gurus,
We are working on the MM-SUS scenario where the scheduling agreement is created in the backend R/3 system. Delivery schedule lines are generated in the backend and transfered to the SUS thru. ME9E transaction for sending the delivery schedule to the SUS.
We have a confirmation control key which guides us in SUS to create an ASN in the backend.
Though there is a confirmation control key exist in the SA for that particular line item, when the ASN is sent from SUS to XI to R/3. There is an idoc error in the R/3 which says that there is no confirmation control key though it is there for the line item which is transfered to SUS.
Now Pls. answer my questions :
1) Will ME9E transfer the total lines in the SA or the schedule lines with the delivery schedules only ?
2) Is it possible to resend the same schedule line ( with the updated delivery schedule) to the SUS as per the standard scenario?
3) In the SUS how do we findout the materials corresponding to that particular delivery schedule line. Because in SUS the reference is only the scheduling agreement number as we could not see any scheduline line item.
Pls. suggest.
We are working on SRM(SUS) 5.0 with ECC6.0 as the backend.
Best regards,
Sridhar.i have seen the code --> where the FM is called for creation of SAR in SRM.
that is FM
BBP_SAPXML1_SUSPO_CREATE_IN --> in this --> search for this
Call API
IF ls_header-description EQ 'DELINS'.
CALL FUNCTION 'BBP_API_SUSPO_CRT'
EXPORTING
is_header = ls_header
it_item = lt_item
it_attach = lt_attach
it_partner = lt_partner
it_longtext = lt_longtext
it_tax = lt_tax
it_limit = lt_limit
it_sdln = lt_sdln
IMPORTING
es_header = ls_header_e
this one creates ---> the SAR in SRM.
and also i have seen further --> there is no place where any BADI is also called.
i am afraid it is not possible to control what you want using BADI.
only --> difference between --> New document and the old document is
the Indicator --> C for create
U for update.
And Also if you can see the XML message for the updated document --> you can see all the lines in the XML message.
Not the added lines... -
Automatic schedule lines creation from PR
Hi,
We have a scheduling agreement for certain material
We have maintained a Automatic PO tick in Material master as well as in vendor master
We have also maintained purchasing info fo records and source list
Now we have created a manual PR.
And when we are running the T code ME59 system is creating the PO.
Is it possible to generate schedule lines (automatically through ME59) against a scheduling agreement instead of creating a new PO?
Regards,Hello,
The transaction ME59 does not select the purchase requisitions assigned to a scheduling agreement. The reason for this is that the Scheduling agreement itself is equivalent to a purchase order. For a purchase requisition assigned to a scheduling agreement, you have to create a delivery schedule only and not a purchase order. Automatic conversion program currently does not handle creation of delivery schedules.
Please use ME58 instead.
br,Gabor -
Schedule Line info from SD_ORDER_CREATE_WWW
We use the SD_ORDER_CREATE_WWW to simulate an order before creating it. However, this is not returning the schedule lines infomration. For the same material and quantity if I try to create an order in VA01 it gives me multiple schedule lines but when I use the the WWW or BAPI_SALESORDER_CREATEFROMDAT1 I am not getting any schedule lines. I see SAP notes about fixing this issue in earlier versions and I see the correct code so I know it should work . Any ideas on how to get this working ?
Thanks,
AnuAnybody that can help me????
-
Schedule Lines deletion from Scheduling agreement
Hello all
There is a requirement of mass changes deletion of existing Schedlue lines from Schedling agreement ( from around 800 Scheduling agreement).
SAP version is 4.7(Which doesnt have MEMASSSA-std t-code for mass maintenance of scheduling agreement).
Please advise, how these can be deleted in bulk.
Thanks & Regards
RajeshHi
Go to table :SE16 :
Enter :EKET
download to the excel file do the correction then upload the file to to the table.
Please check with your SAP ABAP team and with your Client
(or)
do it manuallly .go to me38 enter the sch.agreement no and delete the qty and save . it is time consuming
it willl take a day or Two.
This is the best solution
Regards
Ganesh -
Smartform programming line different from the function
Hello genius.
I edit a smartform in DEV system. and just add some codes.
after I transport to QA system. the code what i add is in the programming line right.
in QA this smartform create a function /1BCDWB/SF000000123,
but in this function, I found the form with my programming line is not same as the code in programming line.
please get some help.. thanks..Hi
Do not see the Same function Module that the smartform has generated in DEV and QAS , bcz a new FM will be generated for Each client . the FM generated in DEv will be Diff from QA and in ur Print Program use the SSF.FUNCTion... and use the FORM_NAME instead of calling the call function '/bcd/.....'
surya -
Calendar in List view different from Day and Month view
When I look at my Calendar in 'List' view all of the Birthdays and Events are in the wrong date but in 'Day' and 'Month' view they are correct.
Has anybody found a fix for this yet? I have looked at similar discussions but they are all a couple of years old and none seem to have found the solutionIt looks like I have found a solution - it is to do with the birthday dates - if you delete the year of any pre-1932 birthdays it solves the problem!
-
The time in iCal is different from the time in iPhone Calendar
Why my appointments in iCal appear 1 hour later in iPhone's calendar?
For example, if I have an appointment to 11 AM in iCal, it appears as 12 in iPhone's calendar.
Can anyone help me?You might want to go to icloud.com from your computer, sign into your iCloud account, click on your name, then confirm that you have the correct time zone set for iCloud, and that on your phone in Settings>General>Date & Time that you have Set Automatically turned On.
-
Provide - Steps To generate schedule lines from MRP
Dear All
Please provide me with the steps (in details) involved to create the schedule lines automatically from MRP.
Early help would be appreciated.
Regards
Rahul BhardwajHi Rahul,
1) MM02 OR MM01- Maintain MRP data in material master- Purchasing and MRP1 view --> e.g.MRP type,lot size etc. in MRP veiw
& JIT schedule indicator in purchasing view (other data /mfr.data)
2) ME01 - Maintain source list for the material (Use in MRP planning to be 2 -schedule lines generation thru'MRP
3) ME11 - Info.record is must for the material and vendor combination.
4) ME31L - Create schedule agreement
5) ME35L - Release schedule agreement
6) ME9L - Message output
7) MD61- Create Planned independent reqt.for the material
8) MD03 - Run the MRP( single level-single item)
( You can check the result in MD04--- Schedule lines to be seen)
9) ME84- Create SA release
10) ME9L - Message output ( Scheudes to be printed & dispayed).
Regards
Venkat -
Provide -- the steps involve (in detail) to create schedule lines from MRP
Dear All
Please provide me with the steps (in details) involved to create the schedule lines automatically from MRP.
Early help would be appreciated.
Regards
Rahul BhardwajHi,
1. In Material Master --> Purchasing View --> maintain the Tick for Scource list.
2. Create th Scheduling Agreement. (valid)
3. Maintain the Source list with the Scheduling Agreement and MRP indicator as 2.
4. MRP Control Parameters - Delivery Schedules - 3 (Schedule Lines).
After MRP Run, system will create the Sched. Lines for you..
For your earlier questions also please check these points..
Regards,
Siva -
Scheduling Agreement -Schedule line should not pass the requirement to MRP
Hi Friends!
As we all know the scheduling agreements is outline agreement with future schedule lines, with this system will pass the requirements to MRP for the schedule line which is even after 5 years, so my requirement is if the schedule line date is above 15 days from the current date then requirement should not pass to MRP.
solution which we gave is, SA initially will determine the schedule line category as CN (which will not transfer the requirement) and a batch job program will run daily and it will check for each schedule line if any of the schedule is with in the 15 days from the current date then it will change the schedule line category from CN to CP.
Now the problem is , by using Batch Job which program I have to call to change the schedule line category?????
1. we tried BAPI_SALESORDER_CHANGE but when we are changing the CN to CP it is not performing ATP where as if we do manually it is performing.
2. we tried BDC but here also we facing some strange problem i.e. while recording the ATP screen is not populating where it is coming while doing manual.
Can someone let me know which one program we should call in Batch job to do this change.
Regards
NathHi nath,
i also failed in changing shedule line category in userexit and in BAPI.
in one case, i succeded in doing it with a bdc after MV45AFZZ / userexit_save just bevore the datas are reset but after the commit-work is processed.
the other possibility is, to change the accepted amount in userexit RV03VFZZ / USEREXIT_AVAILABILITY_OUT.
3. possibility is, to block the order with a delivery - block , same as the credit-control-block. This block can be set in MV45AFZZ or perhaps in BAPI too.
hans -
Schedule line no in GR.
Hi Experts,
We need to locate the exact schedule line number [from the Scheduling Agreement-Delivery Schedule ] at the time of creating the GR ie, ETENR to be seen MSEG table. Is there any way to link the schedule line number in GR?
For example we have mulitple delivery schedules for SA line item and are picked based on the delivery dates at the time of creating the GR. If there are 2 delivery schedule for the same material on the same date, both the quantity are added to single GR line item. But, i want it to be 2 GR line items or else some link to the GR line item and the schedule line number - ETENR.
Any help is appreciated.
Thank you,
Dhakshin.Hi, we are delveloping a custom report to evaluate the vendor delivery performance based on required dt. vs actual delivered date against every schedule line. thats why we wanted to have the GR receipts to have the break up of delivery schedule line numbers. Currently, if we make a GR against a SA which has two del.sch. on the same day. Similarly if there is a del.sch. of last week which has not been delivered yet, and there is another del.sch. of today's date, in this case the GR proposes the total of these two items w/o any break up. Hope, this description is clear. If not, pls let me know, sothat i can clarify the busines reqt. further. Thank you Dhakshin.
Maybe you are looking for
-
Dear all, while doing MIGO for the PO i am getting following error "Check table 169P: entry PICT does not exist Message no. M7001" In table 169P the entry PICT is missing.. PICT is my compnay code. Also in GR Excise tab " BED,SED, AED for exci
-
Audio from iPhone/iPad via Airplay skipping on Apple TV
When streaming audio from an iOS device, there is frequent and noticeable skipping to the point that it's unusable. I've recently upgrade Apple TV and moved to a different internet provider and wireless router and am still experiencing the same issue
-
9.2.0.6 if I do select column_name from user_tab_columns where table_name = 'EMP' order by column_id; I get the list of columns: EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO what I want to do is display them in the form of 'EMPNO,ENAME,JOB,MGR,HIREDA
-
Dear Friends, I AM WRITING A REPORT TO SHOW THE ALL THE POs WHOSE GRs HAS BEEN DONE BUT NOT THE IRs. LIKE :- Serial_no Vendor_no vendor_name Po_no ItemNo GR_no Ref_Doc_num Amount I GOT THE REPORT BUT NOW MY U
-
I bought a film on my iPhone with a gift card. But I now want to download it on my iPad, will this cost me again?