Schedule lines in VA03
Hi There,
is there any function module that brings me the schedule lines INCLUDING the calculated amount of delivered quantity?
I need this information for every schedule line item. It isn't available in VBEP...
Thanks so much
this example will give you everything:
REPORT ZTESTCONF .
DATA:doc like vbap-vbeln.
DATA: ORDER_HEADERS_OUT LIKE BAPISDHD OCCURS 0 with header line,
ORDER_ITEMS_OUT LIKE BAPISDIT OCCURS 0 with header line,
ORDER_SCHEDULES_OUT LIKE BAPISDHEDU OCCURS 0 with header line,
ORDER_BUSINESS_OUT LIKE BAPISDBUSI OCCURS 0 with header line,
ORDER_PARTNERS_OUT LIKE BAPISDPART OCCURS 0 with header line,
ORDER_ADDRESS_OUT LIKE BAPISDCOAD OCCURS 0 with header line,
ORDER_STATUSHEADERS_OUT LIKE BAPISDHDST OCCURS 0,
ORDER_STATUSITEMS_OUT LIKE BAPISDITST OCCURS 0,
ORDER_CONDITIONS_OUT LIKE BAPISDCOND OCCURS 0,
ORDER_COND_HEAD LIKE BAPICONDHD OCCURS 0,
ORDER_COND_ITEM LIKE BAPICONDIT OCCURS 0,
ORDER_COND_QTY_SCALE LIKE BAPICONDQS OCCURS 0,
ORDER_COND_VAL_SCALE LIKE BAPICONDVS OCCURS 0,
ORDER_CONTRACTS_OUT LIKE BAPISDCNTR OCCURS 0,
ORDER_TEXTHEADERS_OUT LIKE BAPISDTEHD OCCURS 0,
ORDER_TEXTLINES_OUT LIKE BAPITEXTLI OCCURS 0,
ORDER_FLOWS_OUT LIKE BAPISDFLOW OCCURS 0,
ORDER_CFGS_CUREFS_OUT LIKE BAPICUREFM OCCURS 0 with header line,
ORDER_CFGS_CUCFGS_OUT LIKE BAPICUCFGM OCCURS 0 with header line,
ORDER_CFGS_CUINS_OUT LIKE BAPICUINSM OCCURS 0 with header line,
ORDER_CFGS_CUPRTS_OUT LIKE BAPICUPRTM OCCURS 0 with header line,
ORDER_CFGS_CUVALS_OUT LIKE BAPICUVALM OCCURS 0 with header line,
ORDER_CFGS_CUBLBS_OUT LIKE BAPICUBLBM OCCURS 0 with header line,
ORDER_CFGS_CUVKS_OUT LIKE BAPICUVKM OCCURS 0 with header line.
DATA:
I_BAPI_VIEW LIKE ORDER_VIEW,
ORDER_HEADER_IN LIKE BAPISDHEAD OCCURS 0 with header line,
ORDER_ITEMS_IN LIKE BAPIITEMIN OCCURS 0 with header line,
ORDER_PARTNERS LIKE BAPIPARTNR OCCURS 0 with header line,
ORDER_ITEMS_OUT2 LIKE BAPIITEMEX OCCURS 0,
ORDER_CFGS_REF LIKE BAPICUCFG OCCURS 0 with header line,
ORDER_CFGS_INST LIKE BAPICUINS OCCURS 0 with header line,
ORDER_CFGS_PART_OF LIKE BAPICUPRT OCCURS 0 with header line,
ORDER_CFGS_VALUE LIKE BAPICUVAL OCCURS 0 with header line,
ORDER_ITEMS_OU LIKE BAPIITEMEX OCCURS 0 with header line,
SALES_DOCUMENTS LIKE SALES_KEY occurs 0 with header line.
tables:ZORD_CFGS_INST,ZORD_CFGS_VAL.
data:RETURN LIKE BAPIRETURN1.
sales_documents-VBELN = '0010037613'.
*sales_documents-VBELN = '0010037624'.
*sales_documents-VBELN = '0010037626'.
*sales_documents-VBELN = '0010037627'.
sales_documents-VBELN = '0010037637'.
sales_documents-VBELN = '0010037638'.
sales_documents-VBELN = '0010037696'.
sales_documents-VBELN = '0010037703'.
sales_documents-VBELN = '0010037705'.
*temp
sales_documents-VBELN = '0010037865'.
append sales_documents.
I_BAPI_VIEW-HEADER = 'X'.
I_BAPI_VIEW-ITEM = 'X'.
I_BAPI_VIEW-PARTNER = 'X'.
I_BAPI_VIEW-CONFIGURE = 'X'.
I_BAPI_VIEW-TEXT = 'X'.
CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
EXPORTING
I_BAPI_VIEW = I_BAPI_VIEW
TABLES
SALES_DOCUMENTS = SALES_DOCUMENTS
ORDER_HEADERS_OUT = ORDER_HEADERS_OUT
ORDER_ITEMS_OUT = ORDER_ITEMS_OUT
ORDER_PARTNERS_OUT = ORDER_PARTNERS_OUT
ORDER_CFGS_CUREFS_OUT = ORDER_CFGS_CUREFS_OUT
ORDER_CFGS_CUCFGS_OUT = ORDER_CFGS_CUCFGS_OUT
ORDER_CFGS_CUINS_OUT = ORDER_CFGS_CUINS_OUT
ORDER_CFGS_CUPRTS_OUT = ORDER_CFGS_CUPRTS_OUT
ORDER_CFGS_CUVALS_OUT = ORDER_CFGS_CUVALS_OUT
ORDER_CFGS_CUBLBS_OUT = ORDER_CFGS_CUBLBS_OUT
ORDER_CFGS_CUVKS_OUT = ORDER_CFGS_CUVKS_OUT.
Similar Messages
-
How to compare delivery date in schedule lines and PGI in outbound delivery
Hi,
I want to create a report to monitor and compare different dates in sales and delivery process.
One of my key figure is the comparison between date confirmed to the customer, that I can find in the schedule line of the sales order, and the actual goods issue date from the outbound delivery.
But I can't succeed in making the link between delivery and schedule lines, means between LIKP and VBEP.
Would you have any idea?
Thank you.It seems there's no exact (table) connection / link between delivery item and schedule line item.
Those who were searching for this thing (link / connection between delivery item and schedule line) were recommended to use FM "RV_SCHEDULE_CHECK_DELIVERIES".
This FM calculates the delivered quantity for each schedule line, so it makes link between the delivery item and schedule lines - however if you check the code it's quite sophisticated...
(if you put a breakpoint in the FM and display a SO in VA03, you can check how the parameters have to be populated with data).
Schedule Line and Delivery Link
Edited by: Csaba Szommer on Aug 5, 2011 12:03 AM -
Hi gurus,
How can we see the changes in schedule line data. i.e. all changes in delivery date in open sales orders.
Thanks in advance.Hi,
goto environment in Va02/Va03 and click on Changes.
There enter your schedule line instead of item. You can see all the changes for the schedule line.
Hope it helps. -
I want to pick up Schedule line Delivery date based on Sales Order of Mater
Hi Experts,
I have one scenario like,
I want to pick up Schedule line Delivery date based on Sales Order of Material.
For example :
Go to va03
Give the order no
Press the enter
Double click on material.
Go to Schedule line Tab
Then we can find out the Delivery date .
I want to pick up the that Delivery date. Could you please help on that.
Thanks,
Amjad.Hi,
schedule line dates are available in VBEP.
VBEP-VBELN = sales order number.
VBEP-EDATU = schedule line date.
REgards,
Raghavendra -
[SD] table for Schedule line date
If we display a sales order through Va03 and Go to tab Item overview. There is a excel sheet kind of display showing
all items. The 12th col is 'First Date' and the f1 help says its 'Schedule line date'.
I need to display this date in my report.
<i>F1 Help Says :</i>
<b>Schedule line date</b>
The delivery date for the schedule line. The delivery date can be the
Date requested by the customer, or (if the requested date cannot be met)
Earliest date proposed by the system after automatic availability checks and delivery scheduling
<b>Use</b>
The system uses the delivery date for each schedule line together with predefined time estimates for delivery activities (such as picking and packing) to determine the
Material availability date
Loading date
Goods issue date
Transportation planning date
<b>Dependencies</b>
If you want the system to automatically determine the above dates, the Delivery scheduling and Transportation scheduling fields must be active in the sales document definition ( Tools --> Customizing, Sales and Distribution --> Basic Functions --> Delivery scheduling and transportation scheduling --> Define scheduling by sales document type).
<b>Note</b>
If there is more than one schedule line for the item, the system displays the earliest delivery date in the item and overview screens.Hi flora
You can get he details of the schedule line data in the VBEP table.
EDATU is the schedule line date
regards
kishore -
Item does not match schedule line (program error)
Dear Experts,
I Transaction VA02/VA03 when i put Sales order number and try to get in to the system system through error and terminate the transaction
ERROR is "Item does not match schedule line (program error)" with Message no. V1427
when i check Table level and analyse thr Debuging i found that
Table VBAP line item 10 is missing and table VBEP line item 10 is there due to this miss match its shows above error
Question
Why and How it happen and how to fix this issue???
Best Regards
hanumantCheck Note 442831 - V1427: Item does not match schedule line (program error)
thanks
G. Lakshmipathi -
Items does not match schedule line
Item does not match schedule line (program error) - message V1427 getting while accessing the Sales Order via VA02/VA03.
While we see in table VBAP we can see all the line items except the Item number 10 for the order. However, in the table VBEP, we see 5 line items for the Sales Order.
It is not allowing us to enter the Sales Order. Kindly help.
Thanks in advance.
Message was edited by:
Praveen KumarHello,
we've got the same problem.
Because of some changes in an SD-Userexit the problems have been generated.
In our case the SAP-notes can't help to solve the problem with VBAP/VBEP.
I wrote an report which check and delete the excessive positions of both tables.
Hope it helps. -
Purchase Ord delivery date changes SO schedule line date?
Hi,
I am purchasing a drop ship item as per sales order. The account assignment in the purchase order is the Sales order.
Why in some cases the schedule line date in the sales order changes when I change the delivery date in the purchase order? whereas in other cases it does not.
Please help me out with this question.
Sincerely.
PujaPuja,
The SO schedule line date should not change when you change the purchase order delivery date.
However, if you change the PO del date, AND a user performs re-ATP against the sales order, OR if you are running backorder processing (rescheduling) of sales docs, then the SD item/schedule date may change to match the changed availability situation caused by the change of the delivery date of the PO.
Look in the sales order in VA03, then Environment>changes. Look to see if anyone or anything has 'touched' the SO item that is home to the schedule lines that were affected.
Regards,
DB49 -
Schedule line (program error)
hi,
Item does not match schedule line (program error) - message V1427 getting while accessing the Sales Order via VA02/VA03.
please help me out.HI
Implement note 442831
Ramesh -
Using SQVI to generate report of open and released delivery schedule lines
All,
I'm using SQVI to generate an excel spreadsheet for some buyers to show open released schedule lines because they are a 1 line item per scheduling agreement company.
I used the logical database MEPOLDB instead of a table joint and pulled fields from EKKO(vendor, SA #,&purchasing group), EKPO(Material Number), EKEH(schedule line type), and EKET(delivery date, scheduled qty,previous qty).
Does this sound like I'll get the results I want on paper as long as I use the right selection criteria, because the report I'm getting isn't quite what I expect? I am unable to identify which lines are authorized to ship vs. trade-off zone, planning, etc. in the report thus far.Hi Mark,
I have faced same requirement. I am not sure about transporting to TST and PROD. I done by this way.
After generating SQVI program in DEV , I assigned that program to a transaction and tested in DEV. Later i have regenarated SQVI in Production. then I assigned the generated Program to same transaction in DEV. And transported the Tcode assignment of program to Production..
About authorization , if its not sensitive report, BASIS can restrict at transaction level.
Regards,
Ravi. -
Some info abt SCHEDULE LINES - VBEP; VBBE for OPEN quantites?
Hi Experts,
Pls. clarify me that,
Am trying to show up the OPEN or BALANCE or BACK quantities in the report FOR EACH SCHEDULE LINE FOR EACH ITEM/POSNR.
So, I need to look/subtract the VBEP-WMENG, VBFA-RFMNG for Delivery i.e. "J" VBTYP_N and the BALANCE I hv to show up.
So, pls. let me know How Can I build the logic betwn VBEP, VBFA, VBBE? Is VBBE-MBDAT is comes into picture?
thanqno reply
-
Link between Delivery and Sales Order Schedule Line
Hi Gurus,
I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
Report should be something like this
Sales Order Item Schedule Line Delivery Del Item Confirmed Order Qty
O1 10 1 D1 10 5
O1 10 2 D2 10 5
O1 10 3 D3 10 4
How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
Please help.
Regards,
GauravHi,
I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
Sale order Item Schedule line qty
SO1 Item1 Sch1 10
SO2 Item1 Sch2 10
Delivery Item QTy
DO1 IT1 15
DO2 IT1 5
In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
So I am not sure if you can establish a one to one link, please check with your SD consultants.
Regards,
Ashwin G -
How to put schedule lines for one year in a schedule line agreement
dear all
thanks for the support till now from the forum
now i need some seetings by which the scheduling agreement will autoumatically take the schedule line for one year automatically
in my client we are getting open PO so
we have to make one agreement acording to that PO and thats for one year
and this one yr will have same quantity to be produced everyday
means 12nos of material every day for 12 month and this will be for every day
and as per that it should generate a sales order.i need to put schedule line automatically not mannually one by one for each date.so wat is the settingand how to reffer this scheduling agreement we can produce sales order.
please help
subrat
Message was edited by:
subrat pandaDear Subrat,
you cannot create a yearly schedule line in the scheduling agreement. It is not possible due to format restrictions of the date field. But what you can do is the follows (it is the modification, but it should work with the help of user-exits):
1. You can split the year schedule line to the monthly schedule lines. There are two ways to do it. If you apply the DELINS IDOC, then you can do it already during transfer of the data to the application (itr is the best way). Here you can use, for example, user-exit USEREXIT_ZUORDNEN_IDOCS (include LVED4FZZ) or customer function EXIT_SAPLVED4_002, called from the subroutine USEREXIT_DYNPRO (Include LVED4F0U). Alternatively, you can use the user-exit USEREXIT_MOVE_FIELD_TO_VBEP (Include MV45AFZZ) within the call transaction, then it will work also in the dialog case.
2. After getting the monthly schedule lines, you can create a planning delivery schedule, where you can split mothly schedule lines automatically to daily schedule lines according to the customer factory calender.The settings for generation of planning delivery schedules can be found under:
Customizing SPRO: Sales and Distribution => Sales => Sales Documents => Scheduling Agreements with Delivery schedules => Maintain Planning Delivery Sched. Instruct./Splitting Rules
It is the only ways, how you can reach your aim. I hope, this information will help you further.
Kind Regards,
Akmal Vakhidov
Development Support SD, SAP, Walldorf/Germany -
Auto cancellation of schedule lines
Hi,
We have a requirement fo auto cancellation of schedule line such that after some time of schedule line delivery date system should cancel the schedule line if the GR has not been posted so that new schedule line needs to be generated by MRP .
In standard scenario if the GR has not been done system will keep open the schedule line and will not generate new schedule line.
Is there any config setting is there??
Thanks
PrasadHi Bhavin,
Two report program are there to cancel error msgs automatically..
1) RSQIWKEX
2) RSXMB_CANCEL_MESSAGES
Regds,
Pinangshuk. -
Partial delivery per item in sales order and ATP - schedule lines
Hi,
I've problem regarding ATP- schedule lines and partial delivery flag.
In sales order there is flag Partial delivery per item B / 1 . That means create only one delivery even with quant 0. That comes from customer master or customer info-record and it is OK.
Please look at next example.
Customer requires:
10 PCS of materail A on date X. Only 5 PCS are available on date X.
10 PCS of material B on date X 0 PCS are available on date X, 10 PCS are available on date Y.
So if we create outbound delivery on date X it will contain only 5 PCS of material A. No successive deliveries will be created for material A because of the flag B/1. That item is closed.
Problem is with material B.
The sales order will be open because of material B and on date Y we can easily create another delivery with 10 PCS of mat B.
That is wrong. Agreement with customer is only one delivery for ALL items in sales order. If we create delivery on date X it should contain only materials which are available on date X and sales order should close.
Do you know how to fix this problem?Hi,
I've think you didn't understand my requirement. I allways get schedule lines but they are confirmed on different dates.
Example in same sales order we have:
Schedule line for item A:
DATE X confirmed quantity 10
Schedule line for an item B.
DATE X confirmed quanitity 0 (zeroe)
DATE Y confirmed quantity 10.
I would like to create outbond delivery on date X with:
item A quantity 10
item B quantity 0.
And if that hapens than B/0 rule will work or reference customzing that you suggested before. So order will be closed because all items are processed or referenced once.
Do you know how to do that?
Regards
Maybe you are looking for
-
JCO Problem - (102) RFC_ERROR_COMMUNICATION/Group PUBLIC not found
Hi all, I installed the u201CSAP NetWeaver 7.01 - ABAP Trial Versionu201D and the u201CEHP1 for SAP NetWeaver Composition Environment 7.1 - Preview Versionu201D on same machine (drive u201CDu201D) and both are working. My intention is to learn WebDyn
-
HT201195 How to remove credit card info from Apple ID profile
How do you remove credit card information from your iTunes profile?
-
Network install from solaris 10 x86 server to x86 client
My setup is: install server OS: Solaris 10, i86pc . The install server is also boot server using tftpboot. The dhpc server is configured according to the instructions which are given when adding an install client in Solaris 10. The client can communi
-
Hi, Is it possible to check the spelling of text entered in ABAP webdynpro? Thanks
-
I dropped my phone and the front screen snapped out of place. when I pushed it back into place, the screen got messed up. now its just got lots of colours , nothing else....anyone know if its repairable?