Condition to calculate order quantity with previous 3 months history of act
Hi,
We have a requirement of the report is i need to calculate order quantity (SD) with condition that it should have been produced with previous 3 months with finished goods sales quantity (MM), please suggest suitable formula so that order quantity should be calculated only if it was produced with previos 3 months of finished goods quqntity. Thank you
Regards,
Manju
Hi Geeta,
Would really appreciate if you can send me sample of condition which we can restrict with order quantity which is produced with 3 months of history of finished goods production. Thank you
Regrads,
Manju
Similar Messages
-
Purchase orders and their open order quantity with their due dates.
hi friends
i need to build a query where i can see the purchase orders and their open order quantity and their respective due delivery dates.i have never done this.
ME2M serves my requirement upto little but i cannot see the delivery dates in that report.
please help mein finding the steps involved in building the query.
Thanks
AlahariUse the table EKPO and EKKO
adhoc querry is a tool in which we can create report
to get report we have to use three t. codes
1.sq03-->is for to create user group
2.sq02--.is for infoset Querry
3.Sq01-->for exact querry
try with these codes or revert with ur response
follow the link for query creation
First check this link,
SAP Query Creation
SAP Query -A Reporting Tool for Functional Consultants(Part 2)
SAP Query 1
SAP Query -A Reporting Tool for Functional Consultants (Part 1)
Always after going to SQ02 or SQ01 T Code ,first click on Environment in the menu ->Query Areas-->
Standard Area Client specific and then start creating the Infoset or else the query.
Still if you are not satisfied means,please revert back. -
Purchase orders and their open order quantity with their due delivery date
hi friends
i need to build a query where i can see the purchase orders and their open order quantity and their respective due delivery dates.i have never done this.
ME2M serves my requirement upto little but i cannot see the delivery dates in that report.
please help mein finding the steps involved in building the query.
Thanks
AlahariDeliver date is available in table EKET field EINDT.
Use table : EKKO ,EKPO, EKET. -
Change item condition in BADI order save with crm_order_maintain
Hi all,
i could update conditions in report but not successful in BADI order save, below is my code in BADI...
what is the problem maybe ? Ths
* Get order info.
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
it_header_guid = lt_header_guid
it_requested_objects = lt_requested_objects
IMPORTING
et_ORDERADM_I = lt_ORDERADM_I
ET_TEXT = lt_text
ET_STATUS = lt_status
et_pridoc = et_pridoc
EXCEPTIONS
DOCUMENT_NOT_FOUND = 1
ERROR_OCCURRED = 2
DOCUMENT_LOCKED = 3
NO_CHANGE_AUTHORITY = 4
NO_DISPLAY_AUTHORITY = 5
NO_CHANGE_ALLOWED = 6
OTHERS = 7.
read table lt_ORDERADM_I into ls_ORDERADM_I with key ITM_TYPE = 'YTS1'.
if sy-subrc = 0.
read table et_pridoc INTO es_pridoc index 1.
LOOP AT es_pridoc-pric_cond into es_pric_cond where kposn = ls_ORDERADM_I-guid.
clear is_cond_chg.
move-corresponding es_pric_cond to is_cond_chg.
clear is_cond_chg-kbetr. " clear the amount
INSERT is_cond_chg INTO TABLE is_pridoc-cond_change.
endloop.
CLEAR: lt_input_field_names.
ls_input_field_names-fieldname = 'COND_CHANGE'.
INSERT ls_input_field_names INTO TABLE lt_input_field_names.
CLEAR: cs_input_fields, ct_input_fields.
cs_input_fields-ref_guid = ls_ORDERADM_I-guid.
cs_input_fields-ref_kind = 'B'.
cs_input_fields-objectname = 'PRIDOC'.
cs_input_fields-field_names = lt_input_field_names.
INSERT cs_input_fields INTO table ct_input_fields.
is_pridoc-ref_guid = ls_ORDERADM_I-guid.
is_pridoc-ref_kind = 'B'.
INSERT is_pridoc INTO it_pridoc INDEX 1.
endif.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_pridoc = it_pridoc
CHANGING
ct_input_fields = ct_input_fields
EXCEPTIONS
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
OTHERS = 5.Try this Function Modul after Order_Maintain
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait =
IMPORTING
return = .
Edited by: Richard Brünning on Nov 12, 2009 1:55 PM -
Report for PO wise balance order quantity with delivery due date
Dear Sir,
How can we get a Report for all POs ,showing Vendor wise / PO wise / Item wise balance item quantity along with the Delivery Due Date
With Thanks and Regards
B MittalDear Mr Charlie
ME2L with Parameter WE101 and Scope EINT , do not give balance PO item quantity .We look for areport which can give PO wise balance item quantity and delivery schedule date .
Rgds
B Mittal -
Fixed Purchase Order quantity with manual PO creation??
Hi,
Is there any way to define a fixed PO quantity on the inforecord or the material master and have SAP automatically insert this quantity on the PO. I know it is possible to have SAP determine the vendor from e.g. a quota arrangement set-up and have this inserted automatically, when source determination is flagged, but how about the PO quantity.
Note that we do not use SAP for MRP planning, so we create a manual PO and enters all data on the PO manually including the PO quantity, but I assume there must be a way to have this quantity inserted automatically if it is maintained on the info record or material master. However if I enter a fixed quantity on either one of these it seems that it only works in relation to MRP planning, where SAP will then account for the fixed quantity.
br,
JannikBest to achieve this is to use the copy functionality. Advise your users to create POs by copying from existing POs. This will ensure that the PO quantity is copied also, then the users can change whatever needs to be changed.
-
Open Sales Order quantity & value
Hi,
We have a requirement here of report to show open sales order quantity & value for any month (monthend). There is a datasource 2LIS_11_V_ITM which gives Open order quantity. I have created an ODS with 2LIS_11_VAITM & 2LIS_11_V_ITM which can give me desired qty & value, but only for date of last data upload and not for date in the past.(and to get that, I have to sumup all open orders quantity without using any date filter)
I am thinking of creating a Infocube over this ODS to update the Open Order qty & value at the monthend (Snapshot scenario). But to update this, I am not able to get the logic for date to be used in time dimension.
If anyone can think of the solution or any alternate way to develop this kind of report, your help/suggestions are most welcome.
Thanks,
Vikram.Hi Vikram,
Find the link, which solves u r requirement
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/arobustdesignofopensalesorderdataflow
Thanks & Regards
Ramakrishna Kamurthy -
Which enhancement to use change purchase order quantity ?
Hi all,
can u tell me
1) what is the enhancement to use to change the purchase order quantity with reference to the change in production order quantity?
Regards,
Naveen
Moderator Message: SEARCH!
Edited by: kishan P on Nov 29, 2010 11:09 AMHello,
In this case you should use the message PORDCH and BAPI method BAPI_PO_CHANGE but only exist as of release 4.7.
Function module BAPI_IDOC_INPUT1
Idoc Type PORDCH01
Message Type PORDCH
So check carefully the following OSS notes:
[Notes 589066 - BAPI_PO_CHANGE: Incorrect account assignment to network |https://service.sap.com/sap/support/notes/589066] (not be fooled by the description)
[ Notes 197958 - BAPIs for purchase orders - Missing Functions|https://service.sap.com/sap/support/notes/197958]
Regards,
Andrea
Edited by: Andrea Olivieri on Sep 3, 2009 10:17 AM -
Material Dynamic Re-order Quantity
Dear Masters,
I have a requirement here for Material based MRP planning where I want to have a dynamic re-order quantity. The requirement is as below:
1. Suppose I have 5 Equipments in Plant P1.
2. Now, I am creating Equipment BOM for each Equipments with say suppose Material Code M1 (Qty: 1 Unit), M2 (Qty: 2 Units) and M3 (Qty: 3 Units).
3. Hence based on this my re-order quantity for each material for that plant based on number of equipment will be M1 = 5 Units, M2 = 10 Units and M3 = 15 Units.
4. Now, suppose 1 Equipment gets transfered to plant P2. Then, my required quantity will be as under:
a) Re-order Quantity for Plant P1(which has 4 Equipment): M1 = 4 Units, M2 = 8 Units, M3 = 12 Units.
b) Re-order Quantity for Plant P2(which has 1 Equipment): M1 = 1 Units, M2 = 2 Units, M3 = 3 Units.
5. Hence, the re-order quantity is dynamic (based on the number of Equipments in that plant).
6. I want this re-order quantity to be checked monthly and it should trigger an automatic PR in case of deficit stock.
Need your guidance as to how can I acheive this requirement.
Please do guide...
Thanks in advance.
Chin2.Gurus,
I will reframe my question as below:
In my scenario here, we have created Equipment BOM for Equipments as below:
Equipment: DUMPER
Equipment BOM: Engine Oil - 1 L, Oil Filter - 1 Set, Air Filter - 1 set and so on.
Now, Suppose I have 5 Dumpers in Plant P1 and 3 Dumpers in Plant P2.
Hence, my required quantity will be as:
1. For Plant P1 will be: Engine Oil - 5 L, Oil Filter - 5 sets, Air Filter - 5 sets.
2. For Plant P2 will be: Engine Oil - 3 L, Oil Filter - 3 sets, Air Filter - 3 sets.
Now, if these Dumpers stays at the same plant, the requirement to enter the re-order quantity is simple and clear but, suppose if I transfer 1 Dumper from Plant P1 to P2, my the number of Dumpers at plant P1 = 4 and at plant P2 = 4.
Due to this, my required quantity will change to:
1. For Plant P1 will be Engine Oil - 4 L, Oil Filter - 4 sets, Air Filter - 4 sets
2. For Plant P2 will be Engine Oil - 4 L, Oil Filter - 4 sets, Air Filter - 4 sets.
Which means my requirement(or re-order quantity) for particular material is dynamic based on the Equipments installed at that plant and the quantity entered in specific Equipment BOM.
Is there any standard procedure to achieve this requirement?
Thanks in advance.
Chin2. -
Add pricing condition within order created with reference to SPA
Hi,
I have a requirement wherein I need to add a $50 fine to order if the total order weight is below 75 kg.
Problem I am facing is with orders created with reference to SPA wherin pricing is not calculated but copied from SPA.
Please help me in solving this issue.
Also, Please let me know the pricing userexit / BADI for CRM wherein this can be coded.
Regards,
Willban
Edited by: willban_sap on Jul 21, 2010 11:43 AMHi Willban,
wonder wether you could use any weight dependent (net or gross) group condition with a scale. Delow 75 kg across all grouped items you would charge 50 $ and starting at 75 kg you would charge 0 $. As the scale base should get adjusted with the copy / create with reference step, I see no need for custom code.
Best Regards,
Michael -
Delivery Date with Zero Order Quantity in Sales Order
Dear All,
I have created a sales order in va01 with different delivery date in schedule lines. I want to save delivery date with zero order
quantity because he has not delivery on time.Dear All,
I have created a sales order in va01 with different delivery date in schedule lines. I want to save delivery date with zero order
quantity because he has not delivery on time.
Deatils :
Delivery Date Order Quantity Delivery Qty
02.09.2011 10 10
05.09.2011 10 10
09.09.2011 10 10
15.09.2011 10 10
21.09.2011 10 0
Now i want to insert a new schedule line 10.10.2011 with order quantity 10. or 21.10.2011 schdeule date with 0 quantity.
Presently system can't save schdeule date 21.09.2011 with o quantity. -
How to control Order/Target Quantity with reference to Contract Quantity
Hello GURUs,
In my current organization, there is one scenario in which i have to control target quantity in sales contract e.g., i have created sales contract of 100 MT (contract no : 123), and with reference to that contract i have created another contract for say 100 MT (contract no : 456), after that i have changed quantity (of contract no 456) to 150 from original quantity 100. In this case system allows to do so, which is not correct, and i want same to be control based original contract quantity.
Is there any solution in standard system to control the same? If there is any then pleas let me know.
Thanks,
PratikHello,
Let me clarify your requirement:
You have created Contract no. 456 (100 MT) with reference to another Contract No. 123 (100 MT).
Now you want that system should not allow to change quantity in Contract no. 456 & keep it as it is (100 MT) in Original Contract No. 123.
Now, if the above requirment is from Sales Order created with reference to Contract then it can be easily don thru Item Category Controls.
But as the second COntract (456) is entirely a new Contract with it own contral parameters (validity dates, etc) system will allow you to change Quantity & other feilds).
You requirment is not standard & will have be achieved thru applying a User Exit. Speak to your ABAPer & he would do the needful .
Hope this helps,
Thanks,
Jignesh Mehta -
Transfer order craeted with a quantity -- more than delivery quantity
Transfer order created with a quantity more than the delivery quantity. I have tested in several ways but didn't get the root cause for it.
Any possible ways available to create a TO like this????????Hi Aktar,
You have not mentioned the type of TO. Where did you get this scenario. was TO created Manually or Automatically? please confirm.
Anyway incase of manual creation of TO, User keyin quantity enters morethan delivery quantity, then there is a chance of excess picking compared to delivery quantity. but this is only possible if the sufficient SKUs are available at this time.
please let me know.....
Regards
Venkat -
Calculate fixed order quantity by using econmoic order quanity
Hi experts,
i have one requirement
price of pen is 2/-
order costs per order is 6/-
holding costs per year is 15%
the demand forecast is 5,00,000 pen per year. SAP ECC offers more detailed information for the next two weeks:
days week day demand forecast
1 mon 1300
2 tue 1400
3 wed 1200
4 thu 1000
5 fri 1000
6 sat 1300
7 sun 1400
8 mon 1500
9 tue 1400
10 wed 1400
11 thu 1300
12 fri 1400
13 sat 1400
14 sun 1400
in that
question a:
calculate the fixed order quantity by using economic order quantity model for this material! outline the general EOQ formula and show how you apply it to this example.
<b>points will be rewarded..</b>
its an urgent..
regards,
priyanka reddy.Hi experts,
i have one requirement
price of pen is 2/-
order costs per order is 6/-
holding costs per year is 15%
the demand forecast is 5,00,000 pen per year. SAP ECC offers more detailed information for the next two weeks:
days week day demand forecast
1 mon 1300
2 tue 1400
3 wed 1200
4 thu 1000
5 fri 1000
6 sat 1300
7 sun 1400
8 mon 1500
9 tue 1400
10 wed 1400
11 thu 1300
12 fri 1400
13 sat 1400
14 sun 1400
in that
question a:
calculate the fixed order quantity by using economic order quantity model for this material! outline the general EOQ formula and show how you apply it to this example.
<b>points will be rewarded..</b>
its an urgent..
regards,
priyanka reddy. -
How to prepare sales order quantiti with free quantity reprot?
Hi SAP Guru's,
I need to create a reprot that is based on special schemes like bye 2 get 1 free in that report client wants order quantity along with free quantity.
please help me to generate a report.
Hussain.dear friend,
as far as i know there is no such report in standard.
so you have at least two ways:
1. build a sap query (use SQ02 and SQ01)
2. request abaper for custom report
from technical point of view i would suggest to operate with your particular 'free' item.
for example, in standrd it is AFNN item category, so run through VBAP looking for AFNN' records (VBAP-PSTYV = 'AFNN' for example) and get a quantities per position. of course, do not forget about VBAK table - you will get all important info from there, for example, the sales documnet type, date, sales area,...and you may look at VBFA (sales doc flow), KNA1 (customer) and other tables if you need some extra info.
good luck!
Maybe you are looking for
-
Unable to install Illutrator, InDesign, or Acrobat Pro
yet I've been paying for the full suite since late December! So many chats on the support page to no avail and since I'm a prepaid internet user these downloads are costing me bigtime. Just want a solution so I can get the whole suite running, and no
-
How to parse/encode foreign chars in XML
I am sending a char string such as y.x.x.x.y except that the y is actually a "y" with a dot on top (german). The remote server's parser complains and returns an exception. They are using xerces. What should they be doing to encode/parse such foreign
-
How to align the output?
Hi all, The following code snippet: produced output like this: Material Number Created By Changed By Material Type Material Status Material description 000000000000000001 FRE8OT MES2KOR FERT Test 000
-
How to Change my SID in Service market Place
Dear All, I installed SAP ECC 6.0 with MS SQL 2005. I put the SID & System Number while Installation, SID : J01 N0 : 00 But in my Service market Place I already gave the SID : R01. How to edit my Service Market Place. Let me know Regards Thomas.T
-
TS3999 I remove an event from my calender on my iphone, but I'ts still on iCloud
I remove an event from my calender on my iphone, but I'ts still on iCloud