How to delete schedule line item
Hi All,
I want to delete schedule line entry for an item in R/3.
How can i do this?
Thanks,
Nabha
Hi,
For some of the business documents schedule line item deletion would be partially which means mark for deletion-specially when the case of POs and so on
other in general you need to goto the change document t-code and select the line item and you find the delete row mark in the same screen and select..
Hope this helps..
assign points if useful.
cheers
Pattan.
Similar Messages
-
How to delete a line item from the sales order
Hi all,
how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
Regards
KumarHi
U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
This is called short close ( as the qty is not delivered fully).
Thx. -
How to delete the line item from a sales order
Hi all,
how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
Regards
KumarHi Kumar,
I think you can just delete it in the sales order directly, if you are using make-to-order scenario, then there will be special stock left for the sales order as the production has been goods receipt, you need to use MM transaction move the stock to unrestricted use stock. If you are using make-to-stock scenario, there should be no further problem. If you are using assembly order, please try to reject the sales order item to see if it could fullfill your requirement.
Regards,
Rachel -
How to delete delivery Line item after the Invoice Passed accounting
Hi Experts,
Outbound delivery was created w.r.t. Purchase order using VL10B.In the current process here batch is determined at delivery level.There was a line item with '0' Quantity which had a batch and another line item with Full Quantity confirmed for a batch and the PGI was done for the delivery.Invoice was created and passed accounting.
The problem is that in VF04 in the Billing due list we are able to see the '0' Quantity Line item as shipped but not yet billed.
Doing a PGR ,then delete the line item with '0' Quantity and then again doing PGI was suggested by few people but i feel that will be a very tediuos process since the document passed accounting.
Can anyone help in getting the line item deleted from the delivery document or suggest with ways to remove the data at VF04.
Warm Regards,
JeffI think you can comeplete the item by using T.code VL_COMPLETE, check and let us know your feedback
-
How to delete actual line item - COPA
Dear Experts,
I created one line item manually in COPA, now i want to delete it. (FI to COPA) how i can delete this entry.
Thanks in advance
Regards
avudaiappanIf you created it using KE21N, then simply post it again but use negative values (if they where originally postive, and vice versa).
If youcreated it through FI, then simply reverse the document FB08. -
In which tables deleted schedule lines are stored
Hi All,
I want to know in which tables deleted schedule lines in VA02 VA32 are stored.
How to get the deleted Schedule line item quantity.Please give me reply as early as possible.
Thanks,
SarithaHi Saritha,
As my understanding there is no table to store the deleted schedule line data.
You have to identify badi or user-exit before deleting the schedule lines data in the VA02 program and in that exit you have to write the code to populate the deleted schedule line data in to your own custom tables(you have to create custom tables).I have used the same method for deleted deliveries.
In sap CDHDR /CDPOS contains only changed data but not deleted data.
Thanks,
shyla -
DELETE A LINE ITEM IN SALES ORDER
Hi,
Can any one tell me how to delete a line item from a sales order? Please tell me the BAPI/FM and what are the parameters to be passed.
Thanks,
ChallaHi,
Use the BAPI: BAPI_SALESORDER_CHANGE. -
hi,
how to delete the line items in the purchase order, pleas let me know later rather than sooner.
Thanks,
sujatha
Edited by: Rob Burbank on Jan 17, 2010 8:28 PMHi,
Got PO Transaction Change mode ME22n or ME22 and delete the line items manually.
Regards -
Re : schedule line item date change
HI
How to change schedule line item date. Default 5 days inadvance its coming. i want to change that into 8 days.
thanks
maniHi,
Please go to t-code VOV8,select your s.doc type and double click it.Pl check no of days in "Requested delivery date/pricing date/PO date" -Lead time in days.
If it is 5,change it to 8.
Schedule line date is also determined after system carry out availability check.
thanks,
vrajesh -
BAPI FOR Deleting a Schedule Line Item from EKES and EKET tables
Dear All,
I would like to for deleting one of the line item from EKES (Po Confirmation ) and the respective line item from the EKET(PO Schedule Line Item Table).
Assume that am allowing the user to select the lineitem from zprogram screen and collecting the PO and Its LIne Item details in an internal table.
Can i Use
<b>BAPI_PO_Change</b> , if so , can anybody tell me the steps to follow to use this bapi for deleting the PO lineItems, since i m going to try BAPI for First time.
pls help me out
Message was edited by: Raja K.PHi raja ,
loop at iekko1.
w_index = sy-tabix.
item-po_item = itemx-po_item = iekko1-ebelp.
item-quantity = iekko1-mng01.
itemx-quantity = iekko1-mng01.
if iekko1-wamng = iekko1-wemng.
itemx-no_more_gr = item-no_more_gr = 'X'.
else.
itemx-no_more_gr = item-no_more_gr = ''.
endif.
append item.
append itemx.
clear return[].
call function 'BAPI_PO_CHANGE'
exporting
purchaseorder = iekko1-ebeln
tables
return = return
poitem = item
poitemx = itemx.
if return[] is initial.
commit work and wait.
call function 'DEQUEUE_ALL'.
search for deletion fields which u have to mark 'X'.
before calling this BAPi u have to lock the PO by using ENQUEUE.
<b>
FU BAPI_PO_CHANGE
Text
Change purchase order
Functionality
Function module BAPI_PO_CHANGE enables you to change purchase orders. The Change method uses the technology behind the online transaction ME22N.
Alternatively, the IDoc type PORDCH1 is available. The data from this IDoc populates the interface parameters of the function module BAPI_PO_CHANGE.
Functionality in Detail
Authorization
When you create (activity 02) an Enjoy purchase order, the following authorization objects are checked:
M_BEST_BSA (document type in PO)
M_BEST_EKG (purchasing group in PO)
M_BEST_EKO (purchasing organization in PO)
M_BEST_WRK (plant in PO)
Controlling adoption of field values via X bar
For most tables, you can use your own parameters in the associated X bar (e.g. PoItemX) to determine whether fields are to be set initial, values inserted via the interface, or default values adopted from Customizing or master records, etc. (for example, it is not mandatory to adopt the material group from an underlying requisition - you can change it with the BAPI).
Transfer
Purchase order number
The PurchaseOrder field uniquely identifies a purchase order. This field must be populated in order to carry out the Change method.
Header data
The header data of the Enjoy purchase order is transferred in table PoHeader.
Item data
The item data of the Enjoy purchase order is stored in the tables PoItem (general item data). Changes regarding quantity and delivery date are to be made in the table PoSchedule.
Use the table PoAccount to change the account assignment information.
Services and limits
Changes to existing items cannot be carried out with the Change method. It is only possible to create new items.
Conditions
Conditions are transferred in the table PoCond; header conditions in the table PoCondHeader. A new price determination process can be initiated via the parameter CALCTYPE in the table PoItem.
Vendor and delivery address
The vendor address in the table PoAddrVendor and the delivery address in the table PoAddrDelivery can only be replaced by another address number that already exists in the system (table ADRC). Changes to address details can only be made using the method BAPI_ADDRESSORG_CHANGE.
Partner roles
You can change all partners except the partner role "vendor" via the table PoPartner.
Export/import data
Export/import data can be specified per item in the table PoExpImpItem. Foreign trade data can only be transferred as default data for new items. Changes to the export/import data of existing items are not possible.
Texts
Header and item texts can be transferred in the tables PoTextHeader and PoTextItem. Texts for services are imported in the table PoServicesText. Texts can only be replaced completely.
Version Management
You can make use of the Version Management facility via the table AllVersions.
Return
If the PO was changed successfully, the header and item tables are populated with the information from the PO.
Return messages
Messages are returned in the parameter Return. This also contains information as to whether interface data has been wrongly or probably wrongly (heuristical interface check) populated. If a PO has been successfully created, the PO number is also placed in the return table with the appropriate message.
Restrictions
With this function module, it is not possible to:
Create subcontracting components (you can only use existing ones)
Create configurations (you can only use existing ones)
Change message records (table NAST) and additional message data (this data can only be determined via the message determination facility (Customizing))
Attach documents to the purchase order
Change foreign trade data
Change service data
Change or reexplode BOMs
A firewall prevents the manipulation of data that is not changeable in Purchasing according to the business logic of the purchase order (e.g. PO number, vendor, etc.).
PO items with an invoicing plan cannot be created or changed using the BAPIs
In this connection, please refer to current information in Note 197958.
To change addresses with numbers from Business Address Services (cantral address management), please use the function module BAPI_ADDRESSORG_CHANGE.
To change variant configurations, please use the function module BAPI_UI_CHANGE. More information is available in the BAPI Explorer under the Logistics General node.
In the case of changes that are to be made via the BAPI_PO_CHANGE, a firewall first checks whether the relevant fields are changeable. This approach follows that of the online transaction. Here it is not possible to change the vendor or the document type, for example.
Example
Example of changes made to a purchase order with:
1. Change in header data
2. Change in item
3. Change in delivery schedule
4. Change in account assignment
5. Change in conditions
6. Change in partners
Parameter: PURCHASEORDER 4500049596
Parameter: POHEADER
PMNTTRMS = 0002
PUR_GROUP = 002
Parameter: POHEADERX
PMNTTRMS = X
PUR_GROUP = X
Parameter: POITEM
PO_ITEM = 00001
CONF_CTRL = 0001
Parameter: POITEMX
PO_ITEM = 00001
PO_ITEMX = X
CONF_CTRL = X
Parameter: POSCHEDULE
PO_ITEM = 00001
SCHED_LINE = 0001
QUANTITY = 10.000
PO_ITEM = 00001
SCHED_LINE = 0003
DELETE_IND = X
Parameter: POSCHEDULEX
PO_ITEM = 00001
SCHED_LINE = 0001
PO_ITEMX = X
SCHED_LINEX = X
QUANTITY = X
PO_ITEM = 00001
SCHED_LINE = 0003
PO_ITEMX = X
SCHED_LINEX = X
DELETE_IND = X
Parameter: POACCOUNT
PO_ITEM = 00001
SERIAL_NO = 01
GL_ACCOUNT = 0000400020
Parameter: POACCOUNTX
PO_ITEM = 00001
SERIAL_NO = 01
PO_ITEMX = X
SERIAL_NOX = X
GL_ACCOUNT = X
Parameter: POCOND
ITM_NUMBER = 000001
COND_TYPE = RA02
COND_VALUE = 2.110000000
CURRENCY = %
CHANGE_ID = U
Parameter: POCONDX
ITM_NUMBER = 000001
COND_ST_NO = 001
ITM_NUMBERX = X
COND_ST_NOX = X
COND_TYPE = X
COND_VALUE = X
CURRENCY = X
CHANGE_ID = X
Parameter: POPARTNER
PARTNERDESC = GS
LANGU = EN
BUSPARTNO = 0000001000
Help in the Case of Problems
1. Note 197958 lists answers to frequently asked questions (FAQs). (Note 499626 contains answers to FAQs relating to External Services Management.)
2. If you have detected an error in the function of a BAPI, kindly create a reproducible example in the test data directory in the Function Builder (transaction code SE37). Note 375886 tells you how to do this.
3. If the problem persists, please create a Customer Problem Message for the componente MM-PUR-PO-BAPI, and document the reproducible example where necessary.
Customer Enhancements
The following user exits (function modules) are available for the BAPI BAPI_PO_CREATE1:
EXIT_SAPL2012_001 (at start of BAPI)
EXIT_SAPL2012_003 (at end of BAPI)
The following user exits (function modules) are available for the BAPI BAPI BAPI_PO_CHANGE:
EXIT_SAPL2012_002 (at start of BAPI)
EXIT_SAPL2012_004 (at end of BAPI)
These exits belong to the enhancement SAPL2012 (see also transaction codes SMOD and CMOD).
There is also the option of populating customer-specific fields for header, item, or account assignment data via the parameter EXTENSIONIN.
Further Information
1. Note 197958 contains up-to-date information on the purchase order BAPIs.
2. If you test the BAPIs BAPI_PO_CREATE1 or BAPI_PO_CHANGE in the Function Builder (transaction code SE37), no database updates will be carried out. If you need this function, please take a look at Note 420646.
3. The BAPI BAPI_PO_GETDETAIL serves to read the details of a purchase order. The BAPI cannot read all details (e.g. conditions). However, you can use the BAPI BAPI_PO_CHANGE for this purpose if only the document number is populated and the initiator has change authorizations for purchase orders.
4. Frequently used BAPIs for purchase orders are BAPI_PO_CREATE, BAPI_PO_CREATE1, BAPI_PO_CHANGE, BAPI_PO_GETDETAIL, BAPI_PO_GETITEMS, BAPI_PO_GETITEMSREL, and BAPI_PO_GETRELINFO.
5. For more information on purchase orders, refer to the SAP library (under MM Purchasing -> Purchase Orders) or the Help for the Enjoy Purchase Order, or choose the path Tools -> ABAP Workbench -> Overview -> BAPI Explorer from the SAP menu.
Parameters
PURCHASEORDER
POHEADER
POHEADERX
POADDRVENDOR
TESTRUN
MEMORY_UNCOMPLETE
MEMORY_COMPLETE
POEXPIMPHEADER
POEXPIMPHEADERX
VERSIONS
NO_MESSAGING
NO_MESSAGE_REQ
NO_AUTHORITY
NO_PRICE_FROM_PO
EXPHEADER
EXPPOEXPIMPHEADER
RETURN
POITEM
POITEMX
POADDRDELIVERY
POSCHEDULE
POSCHEDULEX
POACCOUNT
POACCOUNTPROFITSEGMENT
POACCOUNTX
POCONDHEADER
POCONDHEADERX
POCOND
POCONDX
POLIMITS
POCONTRACTLIMITS
POSERVICES
POSRVACCESSVALUES
POSERVICESTEXT
EXTENSIONIN
EXTENSIONOUT
POEXPIMPITEM
POEXPIMPITEMX
POTEXTHEADER
POTEXTITEM
ALLVERSIONS
POPARTNER
Exceptions
Function Group
2012
</b>
regards
prabhu
Message was edited by: Prabhu Peram -
How to identify open schedule line item?
Hi,
I have a requirement for identifying open schedule line items. I want to identify any indicator or any field in any table which will tell me that the schedule line item is complete. Can anyone tell me how can I know that?
Ex. Sales Order 1 has 3 materials (line items) in it A, B & C.
For A the quantity is 10 and for which 3 schedule line have been created.
Out of the 3 schedule lines, 1 schedule line item is complete that is the delivery has been done and the rest 2 are open.
For B and C there are 4 & 5 schedule lines created and all are open.
How can i identify that total 12 schedule line 1 is completed and 11 are open.
Please suggest tables, field names / indicators.
Regards,
VishalHi Vishal,
You can not identify the open line items directly, rather you have to calculate the delivered quantity and copmare it with the ordered qty for each line item. The ordered qty can be idenitfy from the table VBEP and the deliverd qty can be found out by calling the function RV_SCHEDULE_CHECK_DELIVERIES.
Follow the link for more details to calculate the delvierd qty.
http://scn.sap.com/thread/279862
Rgards,
Rutvik. -
How to Close a Purchase Order line Item for GRN W/O Deleting the Line Item
Hi,
I want to Close a line item for Goods Receipt in a Purchase Order. How Do I do this?
My Requirement is that the system should not allow for Goods Receipt for the Line Item.
I know of 2 options which are difficult to Implement.
1) I delete the Line item
2) Put the delivery Completed Indicator - For this the system still allows for GR
any Other way of Closing the line Item
NSHi, you can close the Line item by, doing partial GRPO, i.e if u use the Copy From option in GRPO, there comes a Draw docuemnt wizard, there you can choose one line item, and then put GRPO for that line item,
The Wizard comes only in the Copy From option,
Close the Line item, by right clicking on that Line item and then 'close Row'
Edited by: Gayathri Panneerselvam on Dec 19, 2008 10:25 AM -
How to pass Schedule lines of an item Line to 'BAPI_QUOTATION_CREATEFROMDAT
Hi Friends,
I am trying to create Sales Quotation using the 'BAPI_QUOTATION_CREATEFROMDATA2' from Webdynpro Application.
I am able to create the quotation with Line items, but I am not able to pass the multiple schedul line for an Item line.
it takes,but it checks the item availabilty and propses the delivery propsal dates.
but my requirement is It should take only the schedule line items which I am passing to BAPI,because I do the availability check in my application and pass those schdule line items to BAPI.
If I pass only one schedule line item then should create only with one schdule line item,If I pass Muliple then it should create schedul lines for item line.
Please help me in solving the issue.
Regards,
Xavier.PHi max,
loop at lt_nd_quote_items into ls_nd_quote_items.
lv_item = lv_item + 10.
*Check weather Availablity check is done or not.
read table lt_nd_schedule_lines into ls_nd_schedule_lines
with key matnr = ls_nd_quote_items-matnr.
if sy-subrc = 0.
loop at lt_nd_schedule_lines into ls_nd_schedule_lines
where matnr = ls_nd_quote_items-matnr
and kwmeng = ls_nd_quote_items-kwmeng.
lv_sch_line = lv_sch_line + '0001'.
wa_order_schedule-itm_number = lv_item.
wa_order_schedule_inx-itm_number = lv_item.
wa_order_schedule-sched_line = lv_sch_line.
wa_order_schedule_inx-sched_line = lv_sch_line.
wa_order_schedule-req_date = ls_nd_schedule_lines-delv_date.
wa_order_schedule_inx-req_date = c_abap_true.
wa_order_schedule-req_qty = ls_nd_schedule_lines-kwmeng.
wa_order_schedule_inx-req_qty = c_abap_true.
wa_order_schedule-SCHED_TYPE = 'BP'.
wa_order_schedule_inx-SCHED_TYPE = 'X'.
wa_order_schedule-MS_DATE = ls_nd_schedule_lines-delv_date.
wa_order_schedule_inx-MS_DATE = 'X'.
wa_order_schedule_inx-updateflag = 'I'.
append:wa_order_schedule to it_order_schedule,
wa_order_schedule_inx to it_order_schedule_inx.
clear:ls_nd_schedule_lines.
endloop.
else.
*If no Availablity check is done,pass the item details to schedule lines.
lv_sch_line = lv_sch_line + sy-tabix.
wa_order_schedule-itm_number = lv_item.
wa_order_schedule_inx-itm_number = lv_item.
wa_order_schedule-sched_line = lv_sch_line.
wa_order_schedule_inx-sched_line = lv_sch_line.
wa_order_schedule-req_date = ls_nd_quote_items-delivery_on.
wa_order_schedule_inx-req_date = c_abap_true.
wa_order_schedule-req_qty = ls_nd_quote_items-kwmeng.
wa_order_schedule_inx-req_qty = c_abap_true.
wa_order_schedule_inx-updateflag = 'I'.
append:wa_order_schedule to it_order_schedule,
wa_order_schedule_inx to it_order_schedule_inx.
endif.
clear:ls_nd_quote_items,lv_sch_line.
endloop.
Max, the internal table lt_nd_schedule_lines is containg my schedule lines,if there are no lines in that table i am just passing the default line item details so that the BAPI take care of schdule line for that Line item.
Could you please help me in figuring the issue?
Regards,
Xavier.P -
Need a exit while deleting the line item in PO
Hi to all experts ,
My requirement is to find an exit or badi when the user deletes a line item and click on save the line item should be captured,. Is there any badi or exit which can do it .Hi,
Try these user exits.
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of req
M06E0004 Changes to communication structure for release purch.
M06E0005 Role determination for release of purchasing document
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., prev
MEFLD004 Determine earliest delivery date f. check w. GR (only
MELAB001 Gen. forecast delivery schedules: Transfer schedule i
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tol
MM06E001 User exits for EDI inbound and outbound purchasing do
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into
MM06E008 Monitoring of contr. target value in case of release
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound proc
MMAL0004 ALE purchasing info record distribution: Inbound proc
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001
Regards,
Vijay -
Error while deleting contract line item
Hi All,
In ME32K when I try to delete the line item of the contract it goes to runtime error. Pls help me why I get that error.
It has 3 PO`s created in 2010.Error analysis
A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised the
exception
condition "FAILURE".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
How to correct the error
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"RAISE_EXCEPTION" C
"CL_HANDLE_MANAGER_MM==========CP" or "CL_HANDLE_MANAGER_MM==========CM005"
"GET"
Maybe you are looking for
-
While simulating cenvat in j1iex posting
while simulating cenvat in j1iex for import purchase orders an error is showing no cenvat amount to be posted and no cenvat amount to be reversed. regards balaji
-
When I was running low on hard drive space I got an external drive. But I still had space issues on my mac (2 and 1/2 years old 72 g drive) I want to install dream weaver as well. I've just order 2 gigs of ram and i was told I should get a Western Di
-
How to Generate the Dates of Billing Plan Contract
Dear experts, Need your advice on this. I have a requirement to create a program to update the Billing Plan of contract. It will run in background and update the end date (billing plan), then generate the dates ( Settlement Date for Deadline, Billing
-
Remove SMTP Service from SA Certificate that was accidentally added
I inadvertently assigned the SMTP service to an SA certificate that was meant for IIS only. I already tried to highlight the certificate and run "Assign Services to Certificate", uncheck SMTP, it runs, but doesn't remove it. I also tried to Export it
-
Library recovery: how can I recover a library after I get this message: "There was an error opening the database for the library "/Users/Jim/Pictures/Libraries/K2 Library.aplibrary"???