Restrict the Quantity in the Scheduling Agreement
Dear All,
I have a scenario where the client wants to restrict the quantity in scheduling agreement for particular customer.
Scenario:
Scheduling Agreement(Valid: 01.04.2011 to 31.03.2012) should be created for XYZ customer with target qty as 3000 per year or per qtr.(User enters the schedule lines manually only.)
Schedule lines:
Date Order qty
01.04.2011 500
01.06.2011 500
28.07.2011 100
31.12.2011 900
01.01.2012 500
01.02.2012 700
Here when the user enters the 700 qty,system has to give error message as it is exceeds the target qty.
Is it possible in standard or do we need to have to do any development.
Kindly share your inputs
With regards
Azeez.Mohammed
Try with badi BADI_SD_SCH_GETWAGFZ or user exit SDTRM001
G. Lakshmipathi
Similar Messages
-
Order more that the quantity in the schedule agreement
Hi,
Is it possible to order more that the quantity in the schedule agreement ?
If yes the please explain in detail.
Regards
AsimHi,
I hope its not possible to create schedule lines more than the quantity mentioned in scheduling agreement.
Regards,
Prabu -
Excise base amount is not changing as per the scheduling agreement
Sub: in migo excise base amount is not changing as per the scheduling agreement type LP ( time dependent ).
I have created the scheduling agreement type LP with time dependent.
I have maintained the price value in two validated period i.e
01/07/08 to 31/07/08 price is 100 rs.
01/08/08 to 31/08/08 price is 200 rs.
I have maintained the delivery schedule on
15/07/08 of quantity 1 nos.
When I am doing the goods receipts for the scheduling agreement on
Document date I am giving 15/07/08.
Posting date I am giving 15/07/08.
I am giving the posting date in the excise also 15/07/08.
After item ok.
When I will the excise base value it is taking 200 and also excise duty is also calculating on 200.
When I will post the document
The stock account and GR/IR account is taking 100 only
And excise duty is posting for rs: 200 only
Why the excise base value is not changing as per the validity period.
What setting I have to do the change the excise base value as per the validity date maintained in the time dependent .
regards
jrpdear sir
doc date and posting date i have given 15/07/08 and also excise posting date i have given 15/07/08,
but excise base value it is taking Rs:200 .
in inforecord price date category 5-goods recepit date i have given
yes i ahve changed the excise base value it will post , if i will not change the excise base value i will post rs:200 only and GR/IR clearing account will post Rs100 only.
why the excise base value will not take based on the time dependent.
regards
JRP -
BAPI Function module to change the schedule agreement
Hello Experts,
Can anyone tell me Bapi function module to change the scheduling agreement,
my requirement is i will get the new AEDAT(Delivery date in schedule line)
and WMENG(Quantity) Every time customer sends me a flat file which has got
revised schedule delivery date and Quantity. It needs to be updated in my system
using a BAPI Functional Module.Hi Vivek,
You must use the correct or most appropriate forum, so this thread will be moved from to .
The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
Also read this thread Welcome and Rules of Engagement.
Greetings,
Marcelo Ramos -
Correction delivery in the scheduling agreement.
Coundnt able to create the correction delivery in the scheduling agreements.
Where can i see
Thanks in advance for your assistance.......
Message was edited by:
tiruTo create a correction delivery (document type LFKO):
Choose Corr. delivery on the delivery schedule tabstrip.
The system displays a dialog box in which you enter a:
--> Correction delivery date
For help on deciding where you want to position the correction delivery, choose Display. The system lists delivery dates in chronological order.
--> Correction quantity
Enter a negative correction quantity by placing a minus sign after the quantity.
Choose Enter and save the scheduling agreement.
<b>Result</b>
When you save the correction delivery, the system updates the cumulative quantities in the delivery schedule.
To display correction deliveries, choose Deliveries on the delivery schedule tabstrip, or Environment --> Display document flow.
Thanks
G. Lakshmipathi -
Planned delivery cost for the scheduling agreement
Hi Experts
1. I have an requirement to post Invoice ver. for the Planned delivery cost (freight,customs duty,CVD etc) against the Scheduling Agreement just like Import Purchases with checking off the GR Based IV Indicator before doing the GR
I tried it but its giving me that no delivery costs are Planned in the Scheduling agreements it runs fine in case of the PO because PO is a time independent. Please inform how to post the same for schedule agreement with time dependent indicator on. I tried switching off the time dependent indicator and the system allowed, but my requirement is to Post I.V for the delivery cost with the time dependent indicator on.
Appreciate if you can suggest something in this case Urgently .
2. Aother issue is we have some uploaded Scheduling agreement from legacy system with Time dependent conditions. For this we need to post planned delivery cost in Miro. Since the system is not allowing to post, how to about for this. Shall we enter the delivery cost in unplanned delivery cost in Miro and post. Please suggest if any alternate solution is available.
Regards
ArvindHi,
As you know if the delivery cost document is not posted during GR the
delivery cost is not proposed during invoice (MIRO). Planned delivery
cost will be proposed in invoice only when there are records in EKBZ
table. The EKBZ table will be updated when delivery cost is posted
during GR itself.
Please ensure in the PO itself thatr the conditions have been defined
properly with the relevant amounts and values.
During GR when planned delivery cost conditions are present in PO,
system checks for values in amount field. Then only appropriate
calculations will be done for delivery cost and planned delivery cost
document will posted during GR and hence updates EKBZ table.
Solution to this issue is described in below steps,
1) reverse the invoice document
2) reverse GR document.
3) You have to give values in amount field in relevant conditions ZGDS
in the PO.
If you face any issues changing the values, delete above conditions
and put it again manually and give values in amount field also.
4) Post GR once again, delivery cost document will also be posted.
You can check it in PO history.
5) During invoice select Item + planned delivery cost and post the
invoice. If you need planned delivery cost to be posted separately,
then you can post individual invoice for item and delivery cost.
Please note it is not possible to post delivery costs for documents with
multiple accountassignments.
For your second question, I am afraid I can not answer. Please open a new ntry in the forum, so that someone else can answer it.
Best Regards,
Arminda Jack -
How to create a standard order with using the Scheduling agreement.
Hi All,
Could any body tell me step by step process of creating a standard order using the Scheduling agreement reference.
Thanks,
srinivas.HI
In Scheduling Agreements the subsquent process is not order it is actually delivery
Scheduling Agreements contains Fixed Delivery dates and quantities and the same can be seen in schedule lines of the
Scheduling Agreement which you have prepared
The word fixed carries a lot of meaning here
On the due date
the system actually creates deliveries or it appears in the delivery due list
You cant create order referring to scheduling agreement
This is business logic and SAP logic too
Scheduling Agreements means your order is sheduled for delivery
Raja -
How to change the scheduling agreement type
Dear experts
By mistake i created wrong sched agreement type in va31, is there any possibilityto change the sched agreement type?
Regards
RajakarthikDear RajaKarthik.
As per my concern why dont you delet the scheduling agreement and creat new one.
i think it will help you.
jeevan. -
Maintaining the scheduling agreement/ po number in the source list?
Hi,
What is the advantage of maintaining the scheduling agreement/ po number in the source list?
ThanksThis numbers will becomes mandatory if we go for "Optimized Purchasing".
If we run MRP, the system will creates PR / Automatic Schedule lines. For this purpose system will take the PO/Schedule Agreement Number from source list.
Rgds.
Karthi -
Error to change the scheduling agreement
after creating the scheduling agreement, i tried to modify the scheduling agreement that does not have a Delivery Schedule using ME32L. and I got an Error message FGV004 - "SYST:date 00.00.0000 is not expected". however, if i updated the delivery schedule, i didn't get the error message when I modified the scheduling agreement. any suggestion?
Hi AP,
the question is the smiliar, but I'm looking for notes in MM area, not FM area.
Elaine -
How to close the Scheduling Agreement
how to close the scheduling agreement
means i don't want to procure the material any more against the Scheduling agreement.Abhishek
Please follow the below procedure.
You block items in Schedule agreements to prevent release orders or delivery schedules (in the latter case, including SA releases) being created against the agreement. For example, you may want to block an item if a vendor has delivered goods of poor quality.
Procedure
1. Choose Schedule agreement Change.
2. Specify the number of the outline agreement. Then press ENTER .
3. Select the item(s) you wish to block. Then choose Edit Block.
The system inserts an S in the column D, indicating that the item is blocked.
To unblock the item, select it and then choose Edit Reset deletion indicator.
4. Save the agreement.
or
You can delete the item in schedule agreement
Thanks & Regards,
Sridhar -
How to modify item quantity in an scheduling agreement
Hi,
I'm trying to modify target quantity (ekpo-ktmng) in an item of a scheduling agreement (you can see it in me33l transaction).
When the users tries to modify, using me33l, the quantity of an item in an scheduling agreement, I need to pick this value (ktmng) and modify it according to some rules.
To catch the value I use EXIT_SAPMM06E_016 user-exit, and when the user modifies a value in the i_ekpo register of the user exit I see the new value that the user introduced. But I need to put a new value and it isn't enough with modifying this structure (i_ekpo).
So I think in a bapi, first of all I've tried with BAPI_PO_CHANGE but I receive the following error:
"Not possible to process a scheduling agreement using this function"
How can I change the target quantity of an item in a scheduling agreement?
thanks in advanceThanks for your reply, I'm trying with the following piece of code:
DATA: w_ekko TYPE ekko,
t_ekpo TYPE STANDARD TABLE OF ekpo WITH HEADER LINE,
t_ekpo2 TYPE STANDARD TABLE OF ekpo WITH HEADER LINE,
START-OF-SELECTION.
SELECT SINGLE * INTO CORRESPONDING FIELDS OF w_ekko
FROM ekko
WHERE ebeln = '5500000001'.
SELECT * INTO TABLE t_ekpo
FROM ekpo
WHERE ebeln = '5500000001'.
t_ekpo2[] = t_ekpo[].
READ TABLE t_ekpo2 INDEX 1.
t_ekpo2-ktmng = '69'.
MODIFY t_ekpo2 INDEX 1.
CALL FUNCTION 'ME_UPDATE_AGREEMENT_PO'
EXPORTING
i_ekko_new = w_ekko
I_EKKO_OLD =
I_LOGSY =
TABLES
XEKBES =
xekpo = t_ekpo
YEKPO = t_ekpo2
XSVAB =
But I receive a dump from SAP.
In t_ekpo I put all the items of the scheduling agreement, the I modify one of the (first) and store it in t_ekpo2, but I'm not very sure of this is the good way of working.
Any help would be very appreciated.
Thanks again -
Scheduling Line qty greater than the Scheduling agreement qty
Hi Experts,
1. I have a scheduling Agreement (SA), and the qty mentioned against this SA is 1000 (say).
2. Now when i generate schedule lines for this SA (ME38), I am allowed to schedule more than the quantity that's mentioned in the SA.
3. Please advise, is it possible to restrict this behaviour. i.e. I want to give an error message if the Schedule Line qty exceeds the SA qty.
Please advise. Very urgent.
Regards,
Manju.Hi Manju,
Yes its possible to restrict the case as u mentioned.
Check the below settings:
IMG-MM-Purchasing-Environment data- Define Attributes for system messages
go to meassage no : 00-06-067 set it as Error message.
U'll achieve ur result.
Award points if its helpful
Sangram -
BAPI to change the Scheduling agreement Qty in ME38
Hello Sapiens,
Is there a way by which I could change my scheduling agreement qty to my GR qty in t.code me38 . So that i make my open qty 0.
this task has to be done to run the MRP.
Is it possible using BAPI.
ShanojBAPI for BAPI_SAG_CHANGE
-
Change the Scheduling agreement net price through BAPI_SAG_CREATE
Hi all
I want to change the item net price of Purchasing scheduling agreement through bapi BAPI_SAG_CHANGE.I passed the item no ,and the net_price in the table parameters Item, Itemx and i passed the item no , condition record no , condition type ,condition value in the following table parameters Item_condition.Item_conditionx.I passed the validity periods in the Item_cond_validity Para meter.
Once i run the bapi i got the below 3 messages
1.Instance of the object type Purchase SchedAgreement has been changed.
2. Scheduling Agreement changed
3.Change NETPR could not be effected.
The net price change are not effected.
So, what are the mandatory parameters and data i need to pass
to change the net price?
Regards,
KranthiHello Kranthi,
How did you solve this? I am trying to do the same but I get the same message as you do.
Thanks in advance!
Kind regards,
Jamiros
Maybe you are looking for
-
I used to have an album now i dont. My ipod says that the album is purchased. It wont let me download it and tries to make me buy the songs. my computer doesnt say that it is purchased and only has the digital booklet. HELP ME!
-
Not getting all records in pagination
I am also have a problem getting all records in the report as the post on Apr. 21,2004. My reports pagination stops at 500. When I set the 'max row count' to 100000. The pagination at the bottom of my page disapears. When I leave 'max row count' empt
-
Service entry sheet - Service PO Problem
gurus I have a service PO which has "N" number of SES entries in PO history as well as same number of GR and also N number of IR entries.. Can somebody tell me how to consolidate against which SES (GR) which IR is posted? Any table for PO history or
-
PL/SQL block to generate i/o
Dear all, 10.2.0.4 on solaris I want to generate I/O on a table. how can I create a a PL/SQL block which loops into and inserts/updates/deletes and commits on this table and thereby testing the I/O on the table ? Kai
-
Connecting tif image stored in DMS with Material Master
I am not sure if this is the best forum for this question. If not please let me know. I am storing tif images into DMS. I would like to connect them to the material masters they represent. What would be the best way to go about this process? Thanks m