VA02 changing the Schedule line
Hi All,
I have an issue where in one Sales order is created. after saving the order whenever you open in change mode(VA02), and though you do not make any changes, when it prompts for Save you say yes. Then if you see the changes made for the order in Environment-> chnges, for a perticular line item the schedule line two is deleted and created agian. It will be saved by the user id of the user who opend the order in the change mode.
when it promts for save, If you say NO, then no changes will be recorded.
Kindly help me with the issue.
Please let me know If any OSS notes exists for correction. Its happening only with a perticular order.
Thanks
Swathi
Dear Swathi,
Not sure if this is a standard issue. Could you please check with your ABAPer if they have done any changes in the user exit specific to orders?
thank you
Venkatesh SP
Similar Messages
-
How to change the schedule line date in SO with reference to value contract
Hi SD Guru's,
I need to change the schedule line date in the sales order with reference to the value contract by using some algorithm that i will write. The problem that i can't find the suitable place to add the algorithm. I can't add it to the Copy control because there is no schedule lines in value contract and copy control for schedule lines does no exist.
I can not add to user exit MV45AFZZ , because order that was created with reference to the value contract, does not go through this user exit.
Do you have some ideas where i can add it?
Thanks and Regards
Viky
Edited by: Viky Sloutsky on Oct 20, 2010 12:43 PMHello Viky
How about using program MV45AFZB- USEREXIT_CHECK_VBEP or USEREXIT_MOVE_FIELD_TO_VBEPKOM
or program FV45EFZ1- USEREXIT_CHANGE_SALES_ORDER
Does the program go through these exits when an order is created with ref to a value contract??
Also I am wondering why you need to change a Schedule line determined by Availability check and/or delivery scheduling? -
Change the schedule line committed qty in PO items using ME_PROCESS_PO_CUST
Dear Experts,
I want to make the PO item schedule line committed quantity MNG02 field to zero, for this purpose I wrote the logic as below.
but its not changing the committed quantity to zero. Please advice me.
method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM.
DATA: lwa_po_header TYPE REF TO if_purchase_order_mm,
lwa_mepoheader TYPE mepoheader,
lwa_mepoitem TYPE mepoitem,
lwa_mepoitemx TYPE mepoitemx,
lwa_ekko TYPE ekko,
lwa_ekpo TYPE ekpo,
lwa_ekpv TYPE ekpv,
lwa_eket TYPE eket,
tp_minqty TYPE min_qty,
tp_clabs TYPE labst,
tp_kosch TYPE kosch,
tp_werks TYPE werks_d,
tp_tdid type tdid,
ta_textlines type MMPUR_T_TEXTLINES,
lwa_textlines LIKE LINE OF ta_textlines,
lwa_minstk TYPE zminstk.
DATA: schedules TYPE PURCHASE_ORDER_SCHEDULES,
schedule LIKE LINE OF schedules,
lwa_schedule TYPE meposchedule,
tp_mtvfp TYPE mtvfp,
tp_avqty TYPE BSTMG,
tp_minqty1 TYPE BSTMG.
if sy-tcode = 'ME21N'.
Get PO Header data
lwa_po_header = im_item->get_header( ).
lwa_mepoheader = lwa_po_header->get_data( ).
MOVE-CORRESPONDING lwa_mepoheader TO lwa_ekko.
Get PO Item data
lwa_mepoitem = im_item->get_data( ).
MOVE-CORRESPONDING lwa_mepoitem TO lwa_ekpo.
*-> Get schedule line data
CALL METHOD im_item->get_schedules
RECEIVING
re_schedules = schedules.
LOOP AT schedules INTO schedule.
CALL METHOD schedule-schedule->get_data
RECEIVING
re_data = lwa_schedule.
*-> Change Committed quantity
lwa_schedule-mng02 = 0.
CALL METHOD schedule-schedule->set_data
EXPORTING
im_data = lwa_schedule.
ENDLOOP.
CALL METHOD im_item->set_data
EXPORTING
im_data = lwa_mepoitem.
ENDIF.
endmethod.Hi Siddu,
Please finf enclosed with the suedo code.
DATA: LS_MEPOITEM TYPE MEPOITEM,
LS_OBJ TYPE REF TO IF_PURCHASE_ORDER_MM,
LS_MEPOHEADER TYPE MEPOHEADER.
*IM_ITEM is ur importing parameter
in order to get the item details :
LS_MEPOITEM = IM_ITEM->GET_DATA( ).
*In order to get the current document type
LS_OBJ = IM_ITEM->GET_HEADER( ).
LS_MEPOHEADER = LS_OBJ->GET_DATA( ).
Now you have your document type in LS_MEPOHEADER-bsart ...
IF LS_MEPOHEADER-bsart ... = ur custom doc type .
*Set the return item = 'X'.
LS_MEPOITEM-RETPO = 'X'.
CALL METHOD IM_ITEM->SET_DATA
EXPORTING
IM_DATA = LS_MEPOITEM.
ENDIF.
Hope this helps you,,,
Regards,
Deepak. -
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 -
Hi Friends,
I have a below mentioned issue.
We have nearly 500 sales order created on jan 1st 2010 and which are scheduled for the delivey on April 2nd 2010.
But now the stock is ready and we want to deliver all the sales orders.
So my question is how to change the schedule lines for the current date to all the sales orders inorder to deliver the stock immediately.
Kindly provide me the solution ASAP
Thanks
RAMHi
When you run a V_V2 rescheduling program, by inputting material and plant, all the open sale order (back orders) schedule lines get confirmed.
Then you can proceed with delivery creation through VL01n or vl10e etc.
thank you
Anirudh -
KANBAN cycle - Change of Schedule line dellivery date.
Hi,
I have some queries in KANABAN scenario
1) How to change the schedule line delivery date generated from KANBAN cycle.
2)How to avoid generation of schedule lines from KANABAN if the Scheduling agreement was not released.
regards,
Kannaiah NaiduHi,
1.It is not possible to change the schedule lines of the Scheduling agreement with kanban indicator. Only work arround solution is to remove the kanban indicator. Then you can change the schedule line.
2.Using user exit, during emptying of the bin check whether scheduling agreement is released on not.If not released generate error.
Regards,
Krishna A S V -
I need to reset the confirmed quantity in the schedule line
Hi all,
i have this requirement:
with VA01 / VA02, in the schedule line, I need to reset the confirmed quantity, for that rows which have delivery date 30 days
over today.
Does anybody know if I can use the routine no. 101 (vofm -> Requirements -> Subsequent functions -> Reqs. availability) and give me an example to di this ?
I also tried to implement the user exit move_fields_to_vbep in mv45afzz, but not succeed to obtain my goal.
I thank you in advance.
Regards.Settings/iTunes and App Store. Tap on the ID you see there and sign out then log in with the new ID
-
How to change delivery block for all item in the schedule lines via va32
dear sap expert:
i onle can change delivery block for one sales order item in the schedule line every times via va32,it will take so many time because there are hundreds of item in a sceduling agrrement. how to change all the item one times.
please give me a way to resovle the problem.
best regards.dear:
the fast change function cann't resovle the problem,i first double click the item of schedule agreement ,then select the schedule lines option, finally in the delivery block input the reason of bolck.
best regards. -
BAPI for VA02 to check availability & update the Schedule lines
Hi Experts,
Is there a BAPI which can 'check item availability' & update the Schedule lines for the same order?
I have checked 'RV_AVAILABILITY_CHECK' 'BAPI_MATERIAL_AVAILABILITY' 'SD_BACKORDER_UPDATE'
but it is not solving the purpose.
Kindly give your suggestion for the same.
Thanks.Hi,
Please let me know if you were able to achieve this functionality. I have a similar requirement wherein I need to check for the material availability and update the schedule lines in the scheduling agreement. I checked the FM SD_BACKORDER_UPDATE, but it doesn't seem to be helpful.
Regards,
Dawood -
Delivery Date needs to be changed on Schedule lines
Hi All-
I am using BAPI_SALESORDER_CHANGE, to update the delivery date on the schedule lines...If I have 2 lines of schedule, needs to be updated the second one ETENR '0002'...
Bapi returns message that successfully processed, when I go back and look at Sales order, I don't se any changes on schedule line..
I am pssing into BAPI, sales doc and schedule line with the delivery date and the flag 'U'..and also I am using BAPI commit...
But, let me know if I am missing something and also let me know is it possible to change schedule delivery date or not?
Thanks,
SonyHi
Please follow this process.
Only specify fields that should be changed
Select these fields by entering an X in the checkboxes
Enter a U in the UPDATEFLAG field
Always specify key fields when changing the data, including in the checkboxes
The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
Maintain quantities and dates in the schedule line data.
1. Minimum entry:
You must enter the order number in the SALESDOCUMENT structure.
You must always enter key fields for changes.
You must always specify the update indicator in the ORDER_HEADER_INX.
2. Commit control:
The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI. -
Firming the Schedule Lines in Sch.Agreement
Hi , I have done the following to firm the schedule lines in Scheduling agreement.
1. Firm Zone as 30 days
2.Tradeoff zone days as 60 days
3.Binding MRP indicator as NULL(Lines not changeable within Zones)
4.In OMIN , Firm Schedule lines enabled for the MRP group
When i run the MRP, schedule lines are getting created with Firm Indicator (*) for the requirements lying within these zones. After transmitting the schedule lines to vendor , if i change the requirement again, the schedule lines within Firm Zone are getting adjusted as per the new requirment. I dont know whats the purpose behind maintaining these Firm Zone and Trade off Zone.
Pointers are much appreciated.
Thanks and regards,
Milton IsaacHi,
Rolling delivery schedules issued under scheduling agreements are divided into different time zones indicating the degree to which lines of the schedule are binding.
Firm zone (zone 1) (go-ahead for production).
The schedule lines within this zone count as firm and thus as fully binding. If you cancel a schedule line that falls within the firm zone, the vendor is entitled to charge you with both production costs and the costs of procuring input materials incurred by him as a result of the cancellation.
Trade-off zone (zone 2) (go-ahead for procurement of input materials)
This is the "semi-firm" zone, giving the vendor the go-ahead to procure necessary input materials for the manufacture of the item ordered. If you cancel a schedule line within this semi-firm zone, the vendor is only entitled to charge you the material costs. Schedule lines falling within this time zone are thus less binding that those falling within the firm zone. -
Hi,
in MD04 we can see the firm indicator for some of the schedule lines. We aware of that this indicator is set based on the firm zone period and the schedule release date.
Apart from firm zone is there any other parameter makes the schedule line firm ( except manual change) Please clarify.
This is the very urgrent req from business so your immediate repsponse is really appreciated.
Thanks
RajHi
You can firm all schedule lines which are printed or transmitted to vendor by customizing in OMIN for your plant and material group.
Or if you create schedule line manually.
Regards
Antony -
Delivery block in the schedule lines.
Hi,
Mine is a MTO scenario. I am using planning strategy 50. So a planned order ---> production order will be created against MRP run against each sales order.
When i am placing a delivery block at the header the system is working fine. Its deleting the planned order(converted production order).
when I am placing a delivery block at the schedulle line its not working fine. its not deleting the underlined planned order or production order.
what configuration should I do to make this work.......Hi,
Look at the help (press F1) on the field confirmation block at SPRO-> Sales and Distribution ->Basic functions ->Availability check and Transfer of Requirements ->Tranfer of Requirements -> Block quantity confirmation in delivery blocks ->Reasons for and Scope of Delivery Blocks: Transfer of Req. blocks.
It looks applying delivery block at schdule line level will not delete the passed requirements. This is standard SAP behavior. If you want to change this nature, then you may need to use an User-exit.
Following is description given for the field confirmation block;
Confirmation block
Indicates whether the system, in addition to blocking delivery, also blocks the confirmation of order quantities after an availability check during sales order processing.
Example
You may want to block confirmation of sales orders where the creditworthiness of the customer is in question. In this case, you set the confirmation block for the delivery block that relates to credit problems. During sales order entry, when you enter a delivery block because of credit problems, the system, after you save the order, does not confirm any quantities for delivery. In this way, the goods remain available for other customers.
Note
If, before you save a sales order, you look at the schedule line overview, you can see what the system would confirm, if the block were not set. However, as soon as you save the sales order, the confirmed quantities are automatically reset to zero.
Dependencies
If you enter the delivery block at header level, the system transfers the desired delivery quantity for all schedule lines in the requirement. The confirmed quantity is deleted. This function is not available when you enter the delivery block at schedule line level.
Regards -
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 -
BAPI Function module to change the schedule agreement
Hello Experts,
Can anyone tell me Bapi function module to change the scheduling agreement,
my requirement is i will get the new AEDAT(Delivery date in schedule line)
and WMENG(Quantity) Every time customer sends me a flat file which has got
revised schedule delivery date and Quantity. It needs to be updated in my system
using a BAPI Functional Module.Hi Vivek,
You must use the correct or most appropriate forum, so this thread will be moved from to .
The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
Also read this thread Welcome and Rules of Engagement.
Greetings,
Marcelo Ramos
Maybe you are looking for
-
Backup files on external hard drive
I use a 500GB external hard drive, mostly for storing my itunes and iphoto library. My time machine also uses this external drive. When trying to download an itunes movie file yesterday, I noticed that my external drive only had less than 4GB of spac
-
After FLash, won't save CMOS settings, trys to boot from network
MS-6712 board, flashed BIOS, now 7/29/03 v1.9, with AMD XP 2500 Barton. Win XP, plain old home computer on dialup. I flashed BIOS, now it will not let me enter BIOS by pressing DEL key. It boot to screen that says "Press to display network boot optio
-
I have seen a few posts on similar problems in the Flex 2 forums, but unfortunately no solution that would help me! Everything is working perfectly if I run Flex 3 on the same server as Cf is installed but if I try to set up the Flex project on my wo
-
I'm looking for customer references who are using Oracle IFS or OCM
Dear All, I'm looking for customer references who are using Oracle IFS or OCM or Oracle Files for their document management systems. So, if anyone can support me i appreciate.
-
Adding video file to iTunes for iPod classic
I have a few home videos that I would like to put on my iPod classic. When I attempt to add the video file to the library, it never appears under video. What format does the video file have to be for this operation?