FM which give delivery no of a schedule line of sale order
Can anybody tell whether there is a function module or any method to find a delivery no and item no of a particular schedule line of item no of a sale order. pls its urgent.
Hi
Simple pass the VBEP-VBELN (sales Order) to LIPS-VGBEL and
Scheduline Item VBEP-POSNR to LIPS-VGPOS and get the LIPS-VBELN ie. delivery number
why fun module required.
I think there is no such fun module
Reward points if useful
Regards
Anji
Similar Messages
-
Ignore the number of schedule lines in sale order item when run MRP
Dear All,
I have a problem when I create production order (discrete manufacturing)
When I create a sale order with one sale order item and 3 schedule lines for this sale order item.
After that, I run MRP for this sale order, what I get is 3 planned orders for 3 schedule lines. It means that I will have 3 production orders for 1 sale order item.
I want create one production order for one sale order item whatever the number of schedule lines in sale order item.
I think I have to config in MRP. Please help me.
Thanks in advanceDear
Check in OPPQ then look in Master data Availability Check & strategy for material also check whether u have maintained strategy for same material and see did u extended sales views for other material
As u said 3 schedule lines for this sale order item check whether u have extended sales views for next material
With Regards
Pushpalas -
How to deactivate schedule line in sales order
hi friends,
how can i deactivate the schedule line in sales order so that we can deliver the sales order after the schedule date. i can uderstand that system is not allowing before schedule date. but what if i want to deliver after that.
Thanks in advance.
Regards,
Solomonhi,
this is to inform you that,
here you need to switch off:
schedule lines allowed
in schedule lines control data - remove or un check - availability/TOR
In SPRO - Availability Check settings.
but i have a question here:
what is the business logic.
do you want to do the same with all the sales orders or not.
please update the forum
then answer will be different
balajia -
Printing last delivery date in schedule lines for sales order
Hi!
We should create a sales order with more then one schedule line. This schedule lines are only for internal use (only to plan our production) and not for printing on the sales order paper. Only the last line is the real delivery date which should be printed on the sales order paper. Now I'm searching for a solution to print only this schedule line.
Have anyone a good idea?
Thanks
MarkusHi,
Select <required fields> from VBEP
into table <itab>
where vbeln = <order number>.
sort itab by posnr etenr descending.
read table itab into wa index 1.
contents of work area will have the last schedule line details of order.
Regards
Vinod -
Link between actual ship date of an item and schedule line in Sales Order
So, we are developing a custom report that compares actual Ship Date (Goods Issue Document MKPF-BUDAT) and the date the item should've been shipped (Schedule Line Date).
I am able to link the GI Document to Delivery Document and can then link to Sales Order Number/Item Number. However, a line item can have multiple schedule lines. What logic can be put in the mapping so that the correct scheduling line is picked for the GI date to be compared against?
Example:
Sales Order 123
Item 10 Product X - Quantity 10
Schedule Line 1: 11/15/2014 8 pieces
Schedule Line 2: 12/15/2014 2 pieces
Let's say first shipment gets delayed 2 months and ships 1/15/2015
Due date in report should know to select 11/15/2014 to calculate that shipment was late 60 days
Any way to link delivery document to a specific schedule line??
Thanks!!Hello,
Just did similar development for customer report. List of deliveries based on sales order number and sales order line item numbers. Sort these deliveries either with number or actual goods issue date. Compare goods issue quantity with schedule line quanity and start allocating deliveries to schedule line. For example
Schedule line 1 - 10 MT, Schedule line 2 - 5 MT. Now you have created 3 delivery. First with 7MT, second with 5MT and third with 3MT. Your first delivery will be for first schedule line. Your second delivery is for first and second schedule line and your thrid delivery will be for second schedule line
Regards, -
TWO SCHEDULE LINE IN SALES ORDER OUTPUT
Hi Experts,
SALES ORDER NO 1220000161, WHERE TWO DIFFERENT DELIVERIES ARE COMING IN THE SALES ORDER WHICH IS NOT ACCEPTABLE TO US.
THIS IS CREATING OTHERS DEPARTMENTS ALSO IN TROUBLE.
WE WANT ONE DELIVERY DATE WHICH IS ENTERED AT THE TIME OF CREATION OF SALES ORDER.
SO Pd. TRF Material No. Total <--Delivery--
>
sl. Cd/ Brief Item Description
Nos. Exc. Quantity Quantity Delivery Date
Code
1 / 7000006120 2.000 NOS
0.000 05.04.2010
2.000 07.04.2010
84825BEARING CLOSURE DRG: S-30275
Clients Approval of GA Drg- GA Drg approval - Not Required
2 / 1100012360 2.000 NOS
0.000 05.04.2010
05.06. 2.000 2010
84796GASKET DRG:SK-30017 SYM:77517-A
Clients Approval of GA Drg- GA Drg approval - Not Required
3 / 1100002900 4.000 NOS
0.000 05.04.2010
4.000 21.05.2010
84742OILSEAL DRG SK-30019 PT 83777-B,CR37405
Clients Approval of GA Drg- GA Drg approval - Not Required
Regards
M.Madhusudhan ReddyDear Madhusudan,
What I understood is that you don't require multiple deliveries for a single sales order.
For single delivery, in the customer master > sales area data > Shipping tab page -
Click on the checkbox - Complete delivery reqd. by law
Similarly for item level also you can control it by following options.
Partial delivery per item field maintain either 'B' or 'C' option.
It will resolve your issue.
Thanks & Regards
Piyush
Edited by: Piyush Ranpura on Apr 5, 2010 10:41 AM -
Hi Experts,
We have an indent for material X with Qty 1200,Progressive monthly dispatch plan from customer for an Year.
Material X
Delivery Date Qty CumulativeQty Planned Actual Delivered Qty
01.01.2011 100 100 100
01.02.2011 100 200 50
If I could able to deliver Qty 50 only in month 01.02.2011, Undelired qty of 50 has to automatically distribute to remaining months .
Also wanted to get the report of Total Planned Qty, Actually Dispatched Qty and Remaining qty to be dispatched for the current month and whole Year. Please help me how can give solution to my client..
Thank You
SaravanaHi,
As pe rthe client requirement, this process is not allowed in standard SAP, in this scenario you have to use the user exit as mentioned below-
USEREXIT_MOVE_FIELD_TO_VBEP - Use this user exit to assign values to new fields at the level of the sales document schedule lines. The user exit is called up at the end of the FORM routine VBEP_FUELLEN.
Thanks & Regards,
Rahul Verulkar -
Issue in schedule lines on sales order
Hi all,
While creating a sales order, system is creating schedule lines after two days of order creation. I want that schedule lines should be created for the same date.
Please suggest that what should I do for this?
Please respond.
Best Regards,
AI.hi,
check whether any delivery scheduling is been maintained
IMG>SALES AND DISTRIBUTION>BASIC FUNCTION>DELIVERY SCHEDULING AND TRANSPORTATION SCHEDULING>MAINTAIN DURATION
choose shipping point and remove the "Loading time w.days" and "Pick/pack time wrkdys" if maintained any
choose route and remove "transit lead time"
now try with new sales order
regards
senya -
Regarding multiple schedule lines in sales order with same date
Hi All,
we create the Orders from RFC and the orders are going to Multiple Schedule lines for the same date.
period delivery date ordered quan confirmed quantity
D 10/11/2007 10 0
D 10/11/2007 0 10
here for the same date in first line it is not confirming and in the second line it is confirming the quantity for the same date.
On what conditions it is possible??????
Any one have the solution for this Please send it to me [email protected]
Regards,
PrasadJust check the schedule line details i.e go to schedule line---shipping. You will find that although the del. date is same in both the case but the timings were different e.g material availability time etc will be different in both these lines. So though the dates may be same its time difference that's causing the second schedule line.
Reward points if useful -
Confirmed Schedule Lines in Sales order on a Holiday
HI Experts,
I am seeing that I have a confirmed schedule lines on a Holiday though the Calender assigned to Shipping Point and Plant has been marked as holiday. I have not maintained any unloading point calender in Customer master and I do not think it is mandatory. However, ECC is connected to APO/GATP. Since The availability check is happening from GATP, Will it consider the factory calender in ECC or Should a Time series be maintained in Location Master so that The confirmed delivery date will not be on a holiday.
Any inputs will be appreciated.Dear Prady Reddy,
unloading point calendar is not mandantory.
The ECC factory calendar will be transfered and considered in APO scheduling but you can also define other calendars in APO with time streams and you can assign it to locations.
Hope this helps.
Regards,
Tibor -
Regarding Schedule lines in Sales Order
Dear Friends,
While Creating Sales Order the Order Quantity gets Confirmed and Schedule Lines created even though there is NO STOCK.
Kindly suggest me for this.
Thanks & Regards
T.Arulvanan.Hi
It is because the replinishment time is maintained in MRP 3 view in material master as also blank and because you havent made the tick there the system assumes the quantity is available in 0 days and hence it is confirmig
You have kept check without RLT as blank it means the system is checking with RLT and the RLT Time is 0 that means system assumes at the end of end of 0 days the stocks are available and finally it will hit you in PGI if stocks are not there
Pls maintain rep lead time as two days in MMR in the MRP3 view and see
While creating sales order the availability check pop up will come confirming the delivery after 2 days
You can check and see
Regards
raja -
Hello Friends,
While creating sales order, a line item in sales order creates schedule line with delivery date and quantity. How does this happen and what are the criteria to be met to enable this to happen?
ThanksThe schedule line represents the customer intended delivery date and quantity to be delivered.
This information is transferred to material requirements planning. This is known as Transfer of Requirements or TOR.
MRP will then determine if there is enough quantity of stock available for the scheduled delivery date.
If there is stock, then system would confirm schedule lines.
For TOR to be carried out, the following criteria are to be met:
A plant must be assigned to the sales document line item level.
The schedule line category must be switched on for the TOR.
The TOR must be switched on at the requirements class level.
A checking group must be defined and allocated to the material master record in the sales/plant view in the availability check field. -
Status of Schedule Line in Sales Order
Which field in which of the tables shows the status of a schedule line for an item in the Sales Order?
Hi pooja,
In sales order schedule line table is vbep, vbeh and vbag.
might be these are suitable table and field for u r requirement.
VBEP-WEPOS ( Confirmation status of schedule line )
VBAG-ABSTA ( Release Status ; current & old release ) -
Query - Delivered quantity at schedule line of Sales Order
Hi,
I've realized a sales order report and i need extract for each schedule line the delivered quantity (VBEPD-VSMNG). How can i find the correct values?
Thanks and best regards.
AntonioHi.
You can use the function module RV_SCHEDULE_CHECK_DELIVERIES to get the delivered quantity corresponding to schedule line item in sales order.
Please refer below code:
Internal table it_vbep has got field VSMNG which is the delivered quantity for each line item
SELECT * FROM vbfa
INTO TABLE it_xvbfa
WHERE vbelv = <sales order numer>
AND posnv = <sales order line item>
AND vbtyp_v = 'C'.
SELECT * FROM vbup
INTO TABLE it_xvbup
WHERE vbeln = <sales order numer>
AND posnr = <sales order line item>.
SELECT * FROM vbep
INTO TABLE it_vbep
WHERE vbeln = <sales order numer>
AND posnr = <sales order line item>.
SELECT * FROM vbap
INTO TABLE it_xvbap
WHERE vbeln = <sales order numer>
AND posnr = <sales order line item>.
CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
EXPORTING
fbeleg = <sales order numer>
fposnr = <sales order line item>
TABLES
fvbfa = it_xvbfa
fvbup = it_xvbup
fxvbep = it_vbep
fvbap = it_xvbap
EXCEPTIONS
fehler_bei_lesen_fvbup = 1
fehler_bei_lesen_fxvbep = 2
OTHERS = 3.
Regards,
Sameer -
Quantity clubbed for two schedule lines in sales order
Hi,
One finished item F1 having strategy 20. special procurement key as 40( to get from another plant) Its sales order is created for 20 EA on 6 nov.So one line item in sales order.
Item availability check is done.in schedule line I can see system proposes available date as 9 Nov. I manually split the quantity as 13 EA on 10 Nov and rest 7 EA on 18 Nov.
Now in schedule lines tab I can see three line items:
date confirmed qty
6 Nov zero
10 Nov 13 ea
18 Nov 7 ea
MRP is run. system generated Stock Transport Purchase requisition of 20 ea dated 6 Nov.Qty and date both is wrong. Why quantity gets clubbed?? Why date is picked as 6 Nov?? I expected system to create two Stock transport purchase requisition of qty 13 dated 10Nov and qty 7 dated 18th Nov.
Please guide if there is any config mistake in PP or SD side.
Regards.PP,
That is pretty standard. If you do not meet the customer's requested date when you confirm the sales order, the system assumes that you sitll intend to make the attempt. MRP will produce a proposal based upon the customer's requested date and requested quantity.
If you want MRP to consider the confirmed dates/quantities, set the Fix Date Qty flag in the sales order item.
http://help.sap.com/erp2005_ehp_05/helpdata/EN/93/744bcb546011d1a7020000e829fd11/frameset.htm
If your standard business process is that you always wish to plan based on the confirmed date(s) rather than the requested date, you can configure to have the Fix Date Qty flag defaulted; in OVZJ.
Best Regards,
DB49
Maybe you are looking for
-
Oracle database 12c on Windows Server 2012
Hello, Is it Oracle database 12c compatible with Windows Server 2012. What are the system requirements needed for Windows server 2012 on Oracle database 12c? Thanks Voitto
-
Standard BI Data Source for FMGLFLEXT
Hello Friends, The standard data source for the Financials New Legder is 0FI_GL_10 General Ledger: Leading Ledger Balances, which fetches the data from the FAGLFLEXT Table using the Extract Structure FAGL_EXTSTRUCT_LEAD. However there has been a migr
-
When I edit album info in itunes it does not change on iphone
Any ideas on the above? Im using itunes 10.5 and have iphone 4 upgraded to ios5. This has only started happening since upgrade to ios5?
-
I am trying to move imovie libraries to a new external hard drive. #1 - I formatted the new external hard drive to the mac os extended journaled #2 - I opened imovie, created a new library on the new drive #3 - tried to drag in imovie an existing lib
-
I have to install SEM-BCS Pls let me know whether installing SEM 3.5 would solve the purpose If not pls give me the link to install SEM BCS