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 advance
Thanks 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
Similar Messages
-
Item Text value of scheduling agreement number (ME32L).
Hi All,
How I can get all changed values of item text for a scheduling agreement number in ME32L transaction. Actually when I am using function module READ_TEXT it will give only last changed value of item text. But I want all changed values of item text.
Please reply ASAP. Its very urgent.
Thanks & Regards
RakeshDear,
Thanks for your reply.
i checked the assigned schdule line catogry as L2 and it have the tick mark over the Req / Assmbly.
anyother reason?
Thanks -
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 -
MIR7 how to disable item quantity field
Hello,
How can i disable item quantity in MIR7 t-code. I don't want users can change quantity.
Many thanks.Open - OLMRLIST
Provide below Inputs in OLMRLIST
Transaction - MIR7
Screen variant - 7_6310
Program - SAPLMR1M
Screen - 6310
Click on Edit.
You can find Qty field against that select option as required.And then mark option as Invisible
Hope this will resolve your query.
My answered query on the similar kind of issue
Re: MR 7 ISSUE
Thanking You,
Sandesh Sawant -
Unable to change the item category in existing Scheduling Agreement
HI,
I have a schedule agreement where there are already list of line items but saved without the appropriate item category field in all of the line items. Now I see that the Item category column is greyed out & unable to edit or change thru ME32 T.code.
I am already aware that deleting the item codes & adding again with resolve the issue. But when try to delete, those codes shows that they have GR & PO not completed one.
My question is :
Is there a way to edit/change the Item category field without deleting the item?
Whethere is it possible to do it in bulk update for group of items in SA?
If it is possible, pls provide how to do it with steps.
Kindly advice.
Thanks. in advance!
-UmeshPlease try using MASS tcode with object BUS2013
or MEMASSSA
Its a direct table update where you can select the Table Item and Field Item category and input the document number to change the value os item category and try with one sample data then do it in mass.
Before cahngin the item categry Please make sure all the dependancies are met then nly the system will allow you to save.
Refer for Mass upload function it is common for all
[Mass update|http://www.sapkshare.com/user/image/mass-maintenance---mm17.pdf]
Edited by: Karthik on Jul 29, 2011 2:44 PM -
How to view pricing conditions in a scheduling agreement?
Dear Friends
Will you please tell me how to see pricing condition and tax conditions in a scheduling agreement?
Thanks
ChandraHi chandra,
U can select line item & use shift+F6 u wll find conditions.
If u want to see conditions like in PO. Select line item go to header tabs in item select price simulation
Here put the qty u want to have simulation then see the result.
Hope this will solve ur problem.
Pls give ponts if answer is correct.
Regards
Gitesh -
Rounding quantity field in scheduling agreement not considered in JITK
Hello ALL,
I would like to consult to you a scenario I am facing when it comes to creating a scheduling agreement (VA31) and maintaining a Rounding Quantity (field ABLFZ) in it.
When using the standard LZ type scheduling agremeent, the Rounding quantity is considered when creating a delivery in VL10.
However, when using the LZJ type of scheduling agreement, the Rounding quantity is NOT considered when creating a delivery in JITK.
Can you please tell me what causes the case in LZJ scheduling agreement?
Thank you all in advance.Hi,
This field is not available for Scheduling Agreement. It is only available for Purchase Order.
Even you will not get this in Field selection also. -
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.MohammedTry with badi BADI_SD_SCH_GETWAGFZ or user exit SDTRM001
G. Lakshmipathi -
How to add info record text into Schedule agreement
Dear,
how can I put the info record text into Schedule Agreement. normally it can contains the short text , but in my company, it needs some more specific description.so we want to add info record text on it.
via ME32L ? or ...
thanks for your kind help
Meng HMHi,
In the inforecord trasnaction code ME11,go to info record text and double click on 'Info record note' -
Now system will open word document & put whatever text you needed(more) & save.
With Regards,
Jaheer -
How to modify item layout in F-28 / FB03?
Hi all,
I would like to add fields in item line specific to customer such as Asset, Purch. Doc., Sales Doc. in transaction F-28. And of course in the transaction FB03 for displaying the document.
I thaught that there was a screen layout associated to the document type but I found nothing like that.
Could you help me doing this please?
Thanks for your help!
DavidHi,
Changing FB03 document display with existing available columns (of standard SAP) you can refer to:
https://docs.google.com/View?id=ddhfd9x3_248dq8wspdg
But, if those columns/fields do not exist in standard SAP, then I am afraid that you need ABAP to handle it. This applies to FB03 and F-28, or any other Tcodes.
Thanks.
sbmel. -
How do I return material agaisnt a scheduling agreement using 161 movement
Hi!
How can I return material against an SA by 161 movement ?
Thanks and regards,
SuranjanaHi
Is there an "Returns Item" check box in SA?, i guess, you'll have to create a separate PO with "Returns Item" checkbox inorder to receive goods with movement type 161.
Thanks
E.Avudaiappan -
Outbound Delivery Creation without OPEN quantity in SD scheduling agreement
hi,
We have a customer requirement, where user 's should be able to create
outbound delivery irrepective of open quantity in Sales document.
In Vendor Direct Ship scenario where vendor ships goods to customer directly and sends Inbound 856 EDI message which creates Inbound Delivery, GR, Outbound Delivery, picking, Goods Issue automatically and outbound ASN is sent to Customer. At times, when there is open quantity in SDSA, the I/B IDOC fails in status "51". In such cases, user needs to update the open quantity in SDSA manually and then reprocess the IDOC. In order to avoid manual intervention, business wants to create outbound delivery even though there is no open quanity.
Please provide your valuable inputs.
Thanks
SudheerNot solved
-
How to set delivery complete in scheduling agreement automatically
Hi. I would like to request for help on how to flag delivery complete in an scheduling agreement?
When creating a goods receipt against a scheduling agreement, do we need a user-exit or how is it configured in order to check the quantity receivedthe quantity in the goods receipt and compare it with the quantity in the scheduling agreement (/- de tolerance) and, in case the full ordered quantity has been received, set the flag Delivery completed in the scheduling agreement.
Thanks.Hi,
We regret that the functionality setting of "delivery completed"
indicator automatically for a scheduling agreement is not included in
the SAP standard system.
For scheduling agreements, you must maintain the final delivery
indicator only in the scheduling agreement item.
A maintenance from the goods receipt is useless for scheduling
agreements since the current schedule line situation is generally not
final. Even if all schedule lines are supplied, this does not mean that
no new schedule line might be added. Therefore, for scheduling
agreements,maintenance of final delivery indicator is planned only from
the document item.
Regards,
Edit -
Quantity contracts/ Scheduling Agreements
Hello All,
I am working on a special business scenario.
To do this I need to invoice the "quantity contract" or "scheduling agreement". I know itu2019s not possible in standard but is there anyway where I can invoice the quantity contract or scheduling agreement? With modifications and maintaining copying control I can do the invoice to the contracts but I know I canu2019t run MRP. Is there any possibility where I can run MRP for Quantity contracts? Both the steps (Invoice and MRP) should configure to run the functionality.
My next query is how I can save outline agreement with out mentioning the dates and quantity.
I know the questions I raised look strange but itu2019s very useful to my business process if I can configure above items.
Regards,
VamsiHi,
My req also similar to yours.
Customer place the req- with or without delivery dates.
In this case,initially i started luking for quantity contract. but both with r without delivery dates, I cant maintain in contracts.moreover this contracts,we cant run MRP & cant create billing too (as its not rel for billing )
then i look for the scheduling agreement,
In std SAP,you cant create agreement without qtty,because agreement will have pricing procedure applicable. without qtty pricing will be "zero"- then system wont allow to save the agreement.
for me, Scheduling agreement working fine,
I can use this with or without delivery dates & with or without qtty. this req will be transferred for MRP run.
Just analyze, why you need to create agreement without qtty- will solve ur issue.
in my case,
Customer can receive the goods irrespective of ordered qtty. means its considered as open order all the time until the validity period completes. But the pricing will be mentioned in agreement.But without qtty we cant have pricing.So i entered the max-X qtty in agreement started creating delivery with ref to this agreement. In delivery item cat -checked"over delivery allowed"- So irrespective of the order qtty i can delivery as per customer req & the same delivered qtty n price will be copied at the time of invoice creation.
hope it helps -
How are deliveries automatically created from scheduling agreement?
How are deliveries automatically created from the schedule line of the scheduling agreement? Can anybody explain this step by step? Can we use the code VL10BATCH for this purpose? If we can, how is this code used?
Thanks in advance.hi
A customer scheduling agreement is an outline agreement with the customer containing delivery quantities and dates. These are then entered as schedule lines in a delivery schedule. You can either create schedule lines when you create the scheduling agreement or you can create them later.
You fulfill a scheduling agreement by creating the deliveries in the schedule as they become due. You process deliveries for a scheduling agreement in exactly the same way as you process a normal delivery. After you have carried out the delivery, the system updates the Delivered quantity field in the scheduling agreement item with the delivery quantity.
The scheduling agreement is used as a basis for delivering a material. The customer sends in scheduling agreement releases, referred to as delivery schedules, at regular intervals to release a quantity of the material.
Document Types
To configure document types for scheduling agreements, choose Sales -> Sales Documents -> Sales Document Header -> Define sales document types in Customizing for Sales and Distribution.
The R/3 System contains the following document types for component suppliers:
LZ - Scheduling agreement with delivery schedules (no external agents)
LZM - Scheduling agreement with delivery orders
LK - Scheduling agreement with delivery schedules (external agents)
ED - Delivery by external agent (consignment issue)
EDKO - External agent correction
RZ - Scheduling agreement returns (no external agents)
KAZU - Consignment pick-up for external agents
KRZU - Consignment returns for external agents
Item Categories
To configure item categories for scheduling agreements, choose Sales -> Sales Documents -> Sales Document Item -> Define item categories in Customizing for Sales and Distribution.
The system determines the following item categories for the related document types in
documents containing materials with item category group NORM:
Item category LZN for scheduling agreement type LZ
Item category LZMA for scheduling agreement type LZM
Item category LKN for scheduling agreement type LK
Item category KEN for document type ED
Item category EDK for positive corrections (or the manual alternative EDK1 for
negative corrections) for document type EDKO
Item category REN for document type RZ
Item category KAN for document type KAZU
Item category KRN for document type KRZU
Schedule Line Categories
To configure schedule line categories for scheduling agreements, choose Sales -> Sales Documents -> Schedule lines -> Define or Assign schedule line categories in Customizing for Sales and Distribution.
The R/3 System contains the following schedule line categories for component suppliers:
L1, BN, L2, and CN for item category LZN
E4, E0, E5, and BN for item category LKN
L2 for item category LZMA (standard for delivery order processing)
Schedule Line Types
To configure schedule line types for scheduling agreements, choose Sales -> Sales Documents -> Scheduling Agreements with Delivery Schedules -> Define schedule line types in Customizing for Sales and Distribution.
Creating Scheduling Agreements
To create a scheduling agreement with delivery schedules:
1. In the Sales menu http://Ext. choose Scheduling agreement ->Create.
2. Enter scheduling agreement type LK (standard) or LZ (external agents) and the
relevantorganizational data.
3. Choose ENTER.
4. Enter the following data:
Sold-to or ship-to party number
Purchase order or closing number
Material or customer material number
You can use the Description field to identify the scheduling agreement. For
example,
you could enter the model year for a particular production series.
The system allows up to 35 digits for a customer material number.
Rounding quantity
Usage
Choose Goto -> Header -> Sales to enter the usage at header level, or Goto ->
Item-> Sales A to enter it at item level. The system proposes usage S, for series, as default in both cases.
Planning indicator
Choose Goto -> Header ->Sales.
Target quantity
Mark an item and choose Goto -> Item -> Sales A
Partners
For scheduling agreements with external agents , choose Goto -> Header
->Partners to enter the external agent as forwarding agent and special stock partner
on the partner function screen.
5. Create a delivery schedule
Mark an item in the scheduling agreement and choose Goto -> Item -> <Delivery
schedule>. Enter:
A delivery schedule number and date
The cumulative quantity received by the customer
The last delivery confirmed by the customer
A schedule line with date, time, and quantity
To enter additional data in the delivery schedule, choose DlvSch.Hdr (delivery schedule header).
configuration:
img->SD->Sales->sales document->scheduling agreements with delivery schedules->
step1: define schedule line types
schedule line types are not schedule line categories. Schedule line types are used for information purpose only.
stds are 1. fixed date 2. backlog 3. immediate requirement
4. estimate
step2: maintain planning delivery sched. instruct/splitting rules
The planning delivery schedule is an internal delivery schedule used to plan requirement s more efficiently. It is sub divided into 3 parts
2.1 delivery schedule splitting rules
2.2 dly schedule instrusctions
2.3 assign dly schedule splitting rules
step3: define sales documents type
step4 : define item categories
step5: define schedule line categories
step6: maintain copy control
PROCESS
step1: create scheduling agreement
VA31
enter SP,SH valid from, valid to,
goto ITEM OVERVIEW tab
enter material, rouding qty
select ITEM click on FORECAST DLSCH
enter different dly dates and qties
save it.
step2: create sales order with reference to above
step3: create delivery
step4: create billing
regards
krishna
Maybe you are looking for
-
I deleted my iphoto app on my iphone 5s (iOS8.3) by mistake. And I did not find the same app in the App Store. How can I recover it?
-
Backup to external drive already used by Windows
Total Mac newbie who wants to back up a MacBook Pro. I'd like to use one of the external drives I already own. The trouble is, they've been used for Windows storage already and so have that file system on them. They also have files and/or system back
-
Can I find out who has opened a document in Sharepoint 2013 document library?
Is it possible to use PowerShell you find out who opened a certain document in a library in a users MySite? Or can I interrogate the audit logs? I also have Harepoint installed, but I don't know if this works to a MySite document level?
-
hhow can I reset my login password if I forgot it and do not have a hint question
-
Just bought a New Intel G5 and had the marvelous idea of networking them. I did everthing just the way the support article suggested, but am not finding much success. Each time I go to "Go" and then Network, there appears to be a different reason tha