Corrupted line items in Scheduling Agreement
I have encountered an issue about Scheduling Agreements. Some items inside the SA's are corrupted and shows Gross price conditions which should not be the case since this is a ZLP-type SA (SA for Planners).
As consequence, when we GR for this material, the idocs cannot be posted.The Idoc message indicates that there was an error in the price determination process.
For workaround, we recreate the items inside the SA and block the existing one. But this is occuring more often so I need to find out it's cause.
Please help! Thanks!
I got this message from them:
"If the issue is concerned with the price determination, please ensure
you are using the standard pricing calculation schema RM0000 and retest
the issue."
How will I know if this schema is the one the system is using?
Thank you very much. I am a newbie in MM..
Similar Messages
-
Printing of changed line item in scheduling agreement smart form.
Hi experts,
I am facing problem in printing of changed line item in schedule agreement.
can any body tell me how to find the line item has been changed through programming?what is the procedure to fetch the data for new line item.its
very urgent for me.
Please help me in this regard.
Priti ShrivastavaHi
with the help of T180-TRTYP field you know if that doc has been changed or created.
If it is not equal to H it is changed. H means created.
pass the TCODE of Sched Agreement and check this field.
You can use the CDHDR and CDPOS table s to get the changed values of new item.
Reward points if useful
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
Deleting line item in scheduling agreement
Hi ,
The scheduling agreement has 2 line items which are of same material. The first line item needs to deleted as it had the wrong price in it.
We are able to block it but have not been able to set the deletion flag. There were a few GR and IR done but all of them had been reversed.
Kindly suggest a way toset the deletion flag.
Thanks in advanceHi Vinayak,
If you have reversed all the documents of that material, then you can delete the material by selecting that in scheduling agreement ME32L.
Regards,
Prasath -
Function Module to add Delivery Schedule item in Schedule Agreement
Hi,
I have a requirement where I have to add Delivery Schedule line items to Schedule Agreement (ME38 transaction code). Well I have try to use Function Module (ME_CONFIRMATION_MAINTAIN) looks like its not working, but when I debug ME38 it is using same FM.
when I use ME_CONFIRMATION_MAINTAIN separately I am filling up below values
I_BSTAE - ASN
I_EBELN - 550000122
I_EBELP - 0010
I_FUNKT - DV
I_KDATB - 05/03/2000
I_KDATE - 12/31/2006
I_MEINS - PC
I_MENGE - 30,259.000
I_TRTYP - V
I_VORGA - LE
I_WERKS - DD22
and I am filling up XEKET and not filling up YEKET (I don't know if I have to fill this)
Please suggest me ?
Note : mine is SAP 4.7 system
Thanks
SarathI resolved the problem myself. Thanks.
-
Text in the scheduling lines of a scheduling agreement.
hi,
is it possible to add text some where in the scheduling lines of a scheduling agreement (like how we can insert header text in the line item)??yes.I agree with you that in all good processes schedules lines are automatically generated by MRP run.
On the other hand,some times due to incontigencies we are forced to manually add the schedule.At that time,my client wants to capture those incontigency reasons which he wants along with the schedule lines.
Please let me know whether SAP has got some way out for this issue.
Thanks.
Edited by: r.jeethendiran on May 12, 2011 5:46 AM -
Copy line items from Master Agreement to SubAgreement
Dear all,
As a requirement, we need to create a dummy line item at master agreement and subagreement level to be able to publish them to ERP without need
to complete line items (they are completed in ERP via a development).
We have created master agreement templates with a dummy line item but at subagreement level, templates are not available.
What we are trying to develop is a script on post_create at agreement level to copy line items from Master Agreement to SubAgreement. We are able to get Master Agreement line items and copy them to the SubAgreement, but the subagreement is not created. This is the code we are using:
import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeIfc;
import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanIfc;
import com.sap.odp.api.doccommon.masterdata.ValueListTypeIBeanHomeIfc;
import com.sap.odp.api.doccommon.masterdata.ValueListTypeIBeanIfc;
import com.sap.eso.api.contracts.ContractIBeanHomeIfc;
Mst_agreementBean = doc.getParentIBean();
lineItemCollectionSub = doc.getLineItems();
lineItemCollection = Mst_agreementBean.getLineItems();
collectionsize = lineItemCollection.size();
colln = Mst_agreementBean.getCollectionMetadata("MA_LINEITEMS").get(Mst_agreementBean);
colln2 = doc.getCollectionMetadata("MA_LINEITEMS").get(doc)
newProject = Mst_agreementBean.getIBeanHomeIfc().createFromAnother(Mst_agreementBean);
newMember = colln.get(1);
// Get Values Line Item
assCat = newMember.getAcctAssignCategory();
actLimP = newMember.getActualLimitPercent();
delAdCity = newMember.getDeliveryAddressCity();
delAdCount = newMember.getDeliveryAddressCountryRef();
delAdDist = newMember.getDeliveryAddressDistrict();
//... (all fields included in the script)
// Create Line
newMember2 = newMember;
AgreementHome = IBeanHomeLocator.lookup(session, doc.getObjectReference());
AgreementHome.upgradeToEdit(doc);
// Set Values
newMember2.setAcctAssignCategory(assCat);
newMember2.setActualLimitPercent(actLimP);
newMember2.setDeliveryAddressCity(delAdCity);
newMember2.setDeliveryAddressCountryRef(delAdCount);
newMember2.setDeliveryAddressDistrict(delAdDist);
//... (all fields included in the script)
try{
colln2.add(newMember2);
AgreementHome.save(doc);
AgreementHome.downgradeToView(doc);
collectionbean = colln2.get(0);
logInfo("Value of collectionbeanSub " + collectionbean );
}catch (ApplicationException e){
logInfo("Error " + e.getClass() + ". " + e.getMessage());
When we try to create an Agreement under a Master Agreement (clicking Add on Agreement tab), following error message is shown related to the line in blue:
Facility=local4;sessionid=4e73bb8e73304d6284816f93f4e04522a7c387b; tenantid=#tenant.ecb#;username=LUGUELL; exception=Sourced file: inline evaluation of: ``// ** import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : Method Invocation AgreementHome.save : at Line: 164 : in file: inline evaluation of: ``// ** import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : AgreementHome .save ( doc )
Target exception: java.lang.NullPointerException: while trying to invoke the method com.sap.eso.contracts.ContractTypeBo.getVendorVisible()
of a null object returned from com.sap.eso.contracts.ContractCommonBo.getTypeBo()
;stacktrace=Sourced file: inline evaluation of: ``// *JLA* import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : Method Invocation AgreementHome.save : at Line: 164 : in file: inline evaluation of: ``// *JLA* import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : AgreementHome .save ( doc )
Target exception: java.lang.NullPointerException: while trying to invoke the method com.sap.eso.contracts.ContractTypeBo.getVendorVisible()
of a null object returned from com.sap.eso.contracts.ContractCommonBo.getTypeBo()
Any ideas what is causing the error? What are we missing on our code to copy line items?
Many thanks,
Marc Romagosa
Message was edited by: Marc Romagosa de RibaWe managed to create a line item at VALIDATE script, but not at POST_CREATE. Either it is a bug or it is not possible at POST_CREATE script.
-
Delivery before the schedule line date in scheduling agreement.
Hi All,
I have a situation where in I am using JIT delivery schedule for processing the delivery requirement from customer. In this, lets say, I have a schedule as 08/05/2009 for material A to deliver 1000 qty and the material is made available to me after production as of 07/05/2009 and I want to despatch the material on 7th only and not on 8th. The system does not allow me to do this.It allows me to make a delivery only on 08/05/2009.
Is there any alternative to this and is this SAP standard behaviour.I think you can change the schedule line date in scheduling agreement itself and do the delivery.
regards,
Sudhir -
IDOC - add confirmation "AB" line to a schedule agreement
Hi,
I'm looking for an idoc that adds a confirmation "AB" line to a schedule agreement.
We have tried several message types - idoc types, but non of our tests could succesfully add a AB line to the confirmation.
Has anyone did this already? Can you help me ?
Thanks a lot !Anyone ?
Thanks, -
*MRP unable to create Delivery Schedule Lines in MM Scheduling Agreement*
Hi Experts,
I need your help...
The issue is, in-spit of maintaining Source List with an u201CScheduling Agreement with item No.u201D & u201CSource List Usage in MRPu201D as 2 (Record relevant to MRP. Sched. lines generated automatically), MRP run does not generate Schedule Lines, instead PRs are created.
Please help me to understand such behavior and fix the issue as the requirement is to generate Schedule Lines only.
Thanks,
PratapHello
Please check
1) Source List maintained properly in terms of Material # ; plant # ; proper POrg ; Schd Agr # and line item# ; proper validity date & MRP relevant indicator
2) Please also check Quata arrangement if you are using. whether % is maintained correctly against the vendor
3) MD03 , Delivery schedules- should be 3
4) check your planning horizon whether it is NETCH or not
5) check material master -MRP2 view, Procurement type is F- external procurement, schedule margin key if you are using
if everything above is set, then I feel it should work
Also please verify-
lot size, safety stock and the corresponding prod volume for MRP input v/s the stock available in MMBE
example.
MD04, we can see the open del lines.
if SS = 50 , prod volume is 150
1) if MMBE shows 200 then it wont generate any schedule.
2) if MMBE is 180 and your lotsize is 40, then after MD03, you will have a schedule line of 40 (provided if everything is set properly)
Please ensure there are NO open delivery lines . if you find such in MD04, then please close open delivery lines
in calculation of MRP, system considers such open delivery lines are going to receive and no additional schedule line generated even after MRP run
thanks -
Order of delivery schedule line counter at schedule agreements from MRP run
Currently we are using schedule agreements for our long term external suppliers, but we are facing a problem with the order of new delivery schedule lines created during MRP run.
Because of master data settings like, lot size, rounding value, plan delivery time and planning time fence to set as firm new requirements, multiple schedule lines are created with no order for schedule line counter.
Does anyone is aware of a BADI, user exit or customizing control to have this schedule line counter in order?
Thank you
Daniel Guillen
IT
Skyworks Inc.Hi,
Pls put this query in SD fourms and get immly help because this is technical fourms.
Anil -
Automatic Delivery schedule line proposal on scheduling agreements
Hi Experts,
I have a requirements where client wants to have automatic schedule lines in outline agreement i.e. scheduling agreements.
Is there any standard functionality available for configuring this type functionality or we have to customize?
If standard functionality available please suggest which document type we have to use, and what are all the other settings we have to make to work this functionality.
Thanks
NathDear Jagnnath,
The best solution is to create a source list. You can create source list directly from the outline agreemnt main screen (Menu Bar -> Environment) or else use t code ME01. In source list maintain the validity, Pur Org, outline agreement , MRP=2. Here you may set the check box 'FIX', by doing this always scheduling lines will generate with this vendor if there is any requirement of that material.
Hope this may help you.
Vaibhav Mishra -
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 -
Delivery Schedule in Scheduling agreement
Hi
We have a scheduling agreement created in MM in ME31L for subcontract process .
Delivery schedule mentioned for first two line items are 5/07/2008 .
Deliver schedule mentioned for 3rd line item is 02/08/2008 .
Due to this different requirement dates, always delivery split happens .
Regarding this , I request you to clarify below points .
1. I understand these delivery schedule were mentioned when this scheduling agreement was created . Afterwards there is no updating happened for delivery schedules .
Afterwards many deliveries have been generated with reference to these scheduling agreement , user is creating delivery every month with reference to this scheduling agreement . I mean how it is possible to create many deliveries with one schedule date .where as in SD , we need to update schedule lines always.
Thanks In AdvanceExcellent information !
I understood what you have mentioned .
Just I need your clarifications for my below queries to fix this issue .
There are 6 line items in this scheduling agreement .
For 3 line items , delivery schedule date is 02/08/2008 . for another 2 line items, delivery schedule is 05/07/2008 . due to this different delivery schedules for line items in scheduling agreement . whenever user creates delivery , delivery split is happening .
In order to avoid this problem , can ask user to change delivery schedule for another 2 line items to 02/08/2008 from 05/07/2008 . ?
If user change this delivery schedule for this line items , is there any ramification in anyway ?.
Thanks In Advance -
We have a scheduling agreement created in MM in ME31L for subcontract process .
Delivery schedule mentioned for first two line items are 5/07/2008 .
Deliver schedule mentioned for 3rd line item is 02/08/2008 .
Due to this different requirement dates, always delivery split happens .
Regarding this , I request you to clarify below points .
1. I understand these delivery schedule were mentioned when this scheduling agreement was created . Afterwards there is no updating happened for delivery schedules .
Afterwards many deliveries have been generated with reference to these scheduling agreement , user is creating delivery every month with reference to this scheduling agreement . I mean how it is possible to create many deliveries with one schedule date .where as in SD , we need to update schedule lines always.
Thanks In AdvanceHi All
Even though I mentioned same delivery schedule for all the line items in scheduling agreement , still delivery spliting is happening for line items while creating delivery in ME2O .
I have changed delivery schedule in ME38 .
can I request you to help me to fix this issue pls . user wanted it to be single delivery .
Thanks In advance -
Requirement Date in Scheduling agreement
Hi
There are 6 line items in scheduling agreement created in ME31L for subcontracting process .
Hi
For first 4 line items , delivery schedule mentioned is 02/08/2008 .
For last 2 line items , delivery schedule mentioned is 05/07/2008.
I think this could be the reason always delivery split has been happening when creating th e delivery .( 1 delivery for first 4 line items and another delivery for last 2 line items )?
Is it right ?
Can I request you to clarify below points .
1.Can I tell user to change delivery schedule for last two line items as 02/08/2008 ? in which transaction user can change this delivery schedule ?
In ME32L , When I try to change , I found it grayed out , can I know why it is so ?
2. For many days , this scheduling agreement is existed , delivery has been happening for this scheduling agreement .If we change this delivery schedule now , what could be the ramification .
Thanks In AdvanceHi
Reply for your 1st point:
Maintain the delivery schedule at ME38.
Regards
Prasanna
Maybe you are looking for
-
How do I re-mount an external drive in Lightroom 2 running on Windows 7?
I am using Lightroom 2 and have moved many picture folders to an external drive. Now when I reconnect the external drive Lightroom shows the drive as offline. I need to know how to re-mount the drive. I am running Windows 7 and can not fine the di
-
Hi, I am working on FM which is having a package of ZABAP for the PRD Server ,problem is the object error is called Object R3TR FUGR ZGROUP_FOR_555 already exported,package cannot be changed. i am not able export the new FM bcoz of it. Plzzz provide
-
HT1430 how to connect iTune with iPhone 5s
I want to know how to sync iTune with iPhone 5s. In other words myiPhone is locked out and I cannot open without connecting it with iTune. That s the message my phone is giving me. Thanks
-
HANA view as source in Data Services
Hi Gurus, I have a data flow in Data Services where an attribute view is used as source. That is data flow is running fine as of now. As per an updated requirement, we have added couple of fields to the view additionally and have to use them in our d
-
Hi, In my physical layer, I have five tables. Here's how they are joined: Table A-->Table B-->Table C-->Table D-->Table E In the BMM layer, I have 3 Logical Tables 1 Fact Table. Logical Table A --> Fact. Columns from Table B and Table C are mapped to