Delete sales order with Purchase Order
Dear SD Guru,
We need to flag a material to be relavant for batch management but sales order already exists for this material. In this sales order, PO has been generated.
I need to delete the sales order but I'm not allowed to because of the subsequent PO. All items in the PO have been rejected because PO cannot be deleted. All items in the sales order have been rejected but I still can't flag the materials to be batch managed as it is still saying the sales order is holding the material, eventhough I have rejected all the materials in the sales order.
Is there any way to delete the sales order? Because of this sales order, we can't change the material to be batch-managed.
Please advice.
Regards,
Soo
HI KAH KIONG SOO,
IN ORDER TO VERIFY UR PROBLEM, GO TO MD04,BCOZ WHEN EVER U CREATE SALES ORDER STOCK GET RESERVE , IT MEANS U CANNOT CREATE THE ORDER THE THE SAME QTY. SO FIRST U CHECK MD04, AND IN SALES ORDER GO TO REASON FOR REJECTION FOR THAT PARTICULAR LINE ITEM INSTEAD DELETE THE SALES ORDER.
WHEN U PUT REASON FOR REJECTION FOR THE LLINE ITEM , THE MATERIAL WILL BE RELEASED FROM THE BLOCK.
REGARDS,
RAM
Similar Messages
-
Allow to create a purchase order with purchase requisiton item deleted
Dear all,
I have a question about creation purchase order process.
Firstly, I have a purchase requisition with 2 items, first of them is deleted.
If I try to create a purchase order thru transaction ME57N with the previous purchase requisition, I can only create it with one item (the one wich is not deleted)
However, if I try to create the purchase order thru transaction ME21N, with purchase requisition as reference, I can create the PO with item that was deleted in PR.
I don't understand why system allows to create a purchase order with an item that previously was deleted in PR.
Does anyone have a explanation about this issue?
Many thanks in advance
Best Regards.Hi,
In the document overview of ME21N you get all the items of the purchase
requisitions, no matter if they are deleted or not.
When you convert the deleted item into a Purchase Order you get message
06 050 stating that this item is deleted in the purchase requisition.
This message can be defined as an error message in the customizing
transaction OME0. This way, it will not be possible to order an item
which is deleted in the referenced purchase requisition.
BR
Nadia Orlandi -
Delete Sales order and Purchase Order
Hello Experts,
Scenario 1: I would like to delete a Purchase Order using PORDCH03 idoc. I tried passing 'X', 'Y' and also 'D' to the deletion indicator at the header level, but the purchase order is not getting deleted. Can you let me know how can I delete an purchase order using IDOC.
Scenario 2: I would also like to delete a Sales order using ORDER05? Is this possible? I mean deleting Sales order. I do not want to update the reason for rejection, but I want to completly get rid of the sales order from the database.
Appreciate your help.
Thanks,
Suresh GantiHello Rob,
I am able to set the deletion indicator for the purchase order and it works fine. But for Sales orders we are using ORDERS05 and want to delete the Sales order. I was able to delete the line item, but not the whole order.
As you know we can delete the whole order using the BAPI.
sd_head_x_ls-updateflag = 'D'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = vbeln_lv
order_header_inx = sd_head_x_ls.
I want to achieve the same functionality using ORDERS05 IDOC.
Thanks,
Suresh Ganti -
How to deal with purchase order purchased with sale order
Hi,
I know we can produce with sale order, and the finished products can be priced in their own sale order and line item even when the finished product master data is set 'S' in its price control field. But how to deal with purchase order purchased with sale order if its price control is 'S' and the purchased material can be priced differently with its own sale order?
thanks.Hi,
That is to say, we want to get these results:
1. material purchased must match its sale order and its item
2. the purchased material is valued by sale order and its item when it is put into the stock.
3. the purchased material is set "valued by standard price' in its material master data.
How to practice?
Thanks. -
Re: Copying Header Text from Sales order to Purchase order
Dear Friends,
We have requirement to copy the "shipping instructions text" maintained in the Sales Order to Purchase Order.
Could some body guide to configuration settings needed to get this.
Thanks,
Krishna RedyDear Suresh,
We are creating the Purchase order with account assignment and in the PO we are giving the sales order number.
When system is copying the Customer and order dedails to PO, same way we want to copy the Texts as it plays big role for the clients business process.
SAP must have solution for this as it is genuine requirement. Hope someone call the right card.
Thanks,
Krishna Reddy -
Sales text and Purchase Order Text
Hi,
in what tables are stored Sales text and Purchase Order Text of the material master ?
Best RegardsHi
All long text is stored in STXH and STXL.
Object is MATERIAL.
Text-Id for basic data text is GRUN
Text-Id for purchase order text is BEST
For sales order text it is text object MVKE with text-id 0001
Go to SE37 function builder. Enter READ_TEXT and do a single test ( F8 )
Enter your parameters and execute. Example below.
NAME is a comibation of materialnumber (00000000008000000)WITH leading zeros
if numeric and sales org (1000) plus distribution channel (10)
Import parameters - Value
CLIENT - 010
ID - 0001
LANGUAGE - E
NAME - 000000000008000000100010
OBJECT - MVKE
ARCHIVE_HANDLE - 0
LOCAL_CAT
Just for future reference with regards to getting text id's etc.
eg: PO texts.
--> Go into the material master PO text
--> Double click into the required text.
--> Click the "GO TO" menu option.
--> click Header.
and all the info you need is there.
Thanks.. -
Sales order and purchase order date management
Hi all,
I am new to SAP so please pardon the question in advance if this is a basic one.
I need a little help with purchase order and sales order dates. Our supplier runs SAP and our two systems are tied together. Currently my supplier is not updating their promise date because this is how we are tracking late shipments. However, this means ETA/ETD dates are incorrect. Is there a way for us to keep track of late shipments and still maintain accurate ETD/ETA dates? Thanks in advance for any help you can provide!Firstly, thank you Edgar and Rahul for taking the time to answer my question.
Apologies guys I should have provided more information in my initial post.
Our parent company is also our supplier. We cut a purchase order, notify them of the purchase order and in turn they cut a sales order. My supplier (parent company) is stating if they update the "first date" column in their sales order (which would in turn populate a correct ETA date) we will lose the ability to track late shipments.
To answer your question Edgar I am referring to the sales document. It is my understanding my supplier is only modifying the "First Date". Are there several date field in a sales document we can use to 1. track original promise date 2. maintain accurate ETA?
From a "customer" standpoint I need to be able to view both dates so that I know when I can expect to actually receive product and if that product is/was late.
Thanks! -
Need to create sales out of purchase order using idocs
Hi All,
I have a requirement to create sales order based on purchase order with in the same sap system and same client(using orders04 idoc type).I have some doubts below could you please some body clarify?
I know the basic steps in ALE(theritical knowlege)but I need clarifications for below questions.
1)Which tehnology I should use here ALE or EDI?
2)With in the same client how can I create 2 logical systems.
3)How the idoc will go the recevier I mean what all are the ways to trigger outbound idoc from sender side.
4)Inbound side how the sales order will create based on the inbound idoc?Is it automatic from inbound settings or we have to do anyting for this?
5)I need to check some conditions with the inbound purchase order data before creating sales order.I think this one we can do in the user exit of inbound function module .Can I control the type of document that it has to create(ex sales order based on some condition or quotation based on some other condition).
Best regards
MaheshHi Mahesh,
My suggetion is that develope program to do your scenario... Use BAPI to create Sales order. First confirm with the Functional team for the input for sales order about sales area, company code, conditions type to be used while creation a sales order against Purchaser order... If the details is same then. First get the details of the Purchase order from BAPI " 'BAPI_PO_GETDETAIL' or you can get details by select queries on EKKO & EKPO for header and details....
Then pass data to BAPI of sales order creation 'BAPI_PO_CREATE' . to create sales order and handle error with parameter RETURN = IT_BAPIRETURN
by giving loop on that....and display in the output.....
This is the simplest way of doing your process...
If any other help please let me know.....
reward points..
Cheers,
Sagun Desai.... -
Uploading sales text and Purchase order text for material master
Hi,
I have created, material master with LSMW byt not updated SALES TEXT and Purchase order text with LSMW now i want to uplaod the sales and po text for material master can you give some link or ref. code to upload the text i have near 1000 items for which i want to uplaod text when i have done the recording with SHDB i have not found filed in recording.
regards,
zafarHi,
I have made the code in se38
as below but still it is not working
REPORT ZTEST_TEXT.
data: headerl like thead occurs 0 with header line.
data itab3 like tline occurs 0 with header line.
headerl-tdobject = 'MATERIAL'.
headerl-tdname = '00000000000LSMW123'. "(Material : 000000000300000560, Sorg : 0001, Dist channel: 01)
headerl-tdid = 'BEST'.
headerl-tdspras = 'E'.
append headerl.
move '*' to itab3-tdformat.
move 'Testing PO text' to itab3-tdline.
append itab3.
call function 'SAVE_TEXT'
exporting
header = headerl
insert = ' '
savemode_direct = ' '
tables
lines = itab3
exceptions
id = 1
language = 2
name = 3
object = 4
others = 5.
IF SY-SUBRC = 0.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = headerl-tdobject
NAME = headerl-tdname.
ENDIF.
break-point.
regards,
zafar -
No Update FMIOI and KBLP tables with purchase order
Hello,
We have un serious problem : No Update FMIOI and KBLP tables with purchase order
System : SAP ERP 6.0 /7.0 - EHP 4
Note 965633 was read.
1) First case: The purchase order 4510000673 does not reduce the funds reservation.
Purchase order 4510000673 should consume the funds reservation 1200000193 because all post of the PO charge the funds reservation 1200000193.But the consumption history of the funds reservation 1200000193 donu2019t show this consumption.
In table FMIOI, we do not have lines with amount type 0200 (reduction) but whe have the lines with the post of PO with amount type (0100). The Purchase order 4510000673 should consume the funds reservation 1200000193.
In table KBLP, the fields are :
Total amount (LC) - HWGES = 53.409,40
Amount used u2013 WTABB = 0,00
Reduction amount u2013 HWABB = 0,00
Open amount u2013 CWTFREE = 53.409,40
Reduced amount u2013 WTABG = 0,00
Reduced amount u2013HWABG = 0,00
To solve the problem, we executed the transactions : FM4N et FMN5 and the program RFFMRC20 but no result.
2) Second case : Delete a item of a purchase order does not release the budget
The single item of the purchase order 4510000597 is deleted but in the display of consumption History of the funds reservation 1200000137, the amount of the purchase order is not to zero.
To solve the problem, we executed the transactions : FM4N et FMN5 and the program RFFMRC20 but no result.
Somebody already had a similar problem ?
Thank you
FabianHello Fabian
There are two known notes dealing with missing update on reference Earmarked Funds, I am listing them for future references:
1376800 Earmarked funds: Incorrect open amount
1438487 RFFMRC20: Missing KBLE records are ignored
These notes correct some errors within the Standard.
However, in your scenario, problem has to do with an incorrect execution of a Commit work inside a customer user-exit. After elimination of this commit work, new Po's are working correctly.
Remaining task is the correction of old PO's. Manual correction via small changes with ME22N (for instance, adding a '.' to the line item text/s) will force the correct update and fix your database
If you agree, we can close this thread (?)
Kind regards
Mar -
Relationship between sales standard order u2013 Purchase order u2013 Sales Invoice
In the function screen u2018Document flowu2019, I see the relationship between the sales standard order, purchase order of material and the sales invoice this material. In the table VBFA, it exists the relationships between the Sales Standard Order u2013 Purchase Order and Sales Standard Order u2013 Sales Invoice, but it doesnu2019t exists the relationship between Purchase Order u2013 Sales Invoice.
I need to link a Purchase Order with a Sales Invoice, which it has invoices the corresponding material had been purchased before, but I donu2019t know which table SAP maintenance this relationship.
Thanks in advance.
Xavier Gràcia.you found the table, there is no other with a direct link.
-
How to download material sales text and purchase order text information
Here is situation:
goto MM03 transaction,
Take any material -- and select below views
1. sales text
2. purchase order text
i have to write the download program with the sales text and purchasing text information of all the materials.
could you pls tell me in which table I will get all the above sales text and purchase order text infrmation.
I think it will store in standard text. I checked STXH table also for getting information text object, text id, text name, language, etc.
If anybody knows .. please share.
Thanks in advance.
Regards
RaghuDeclare internal tables as follows: - An example
TYPES: BEGIN OF TY_PO_LINES,
INCLUDE STRUCTURE TLINE.
END OF TY_PO_LINES,
TY_PO_LINES_T TYPE STANDARD TABLE OF TY_PO_LINES.
TYPES: BEGIN OF TY_PO_TEXT,
TDOBJECT TYPE TDOBJECT
TDNAME TYPE TDOBNAME,
TDID TYPE TDID,
SPRAS TYPE SPRAS,
TDLINES TYPE TY_PO_LINES OCCURS 0,
END OF TY_PO_TEXT,
PO_TEXT_T TYPE STANDARD TABLE OF TY_PO_TEXT.
DATA: PO_TEXT TYPE TY_PO_TEXT_T
PO text:
Looping at your internal table which consists of PO number,
SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
TDOBJECT = EKKO "PO Header Text
TDNAME = PO NUMBER
SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
TDOBJECT = EKPO "PO line item text
TDNAME = PO NUMBER
ENDLOOP
Looping at PO_TEXT
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = PO_TEXT-TDID
LANGUAGE = PO_TEXT-TDSPRAS
NAME = PO_TEXT-TDNAME
OBJECT = PO_TEXT-TDOBJECT
TABLES
LINES = PO_TEXT-TDLINES
ENDLOOP
Follow the same above logic for material with suitable TDID you need to extract
Hope this helps,
SKJ -
How to find sales order no., purchase order no. using sales order ID,PO ID
hi,
how to find sales order no., purchase order no. using sales order ID,PO ID
Thank you,
hari omDear Hari Om,
Could you please tell me, to what are you referring Sales Order ID and P.O. ID?
meanwhile check with:
T. Code: SE16
Table: VBKD
Execute (F8) the Report.
On to next Screen, Go to Menu-bar
Settings --> Format_Lists --> Choose Fields
Field: VBELN - Sales Order
Field: BSTKD - Purchase Order No.
Best Regards,
Amit -
Issues with Purchase order change documents
Hi Gurus,
I have some peculiar issues with Purchase order. The PO line item has deletion indicator set but I can't find who set the deletion indicator. The PO change documents doesn't show anything related to deletion indicator.
Please help to fix the Issue.
Regards,
SenthilHi
Check it in Tcode SE16
Table Name CDHDR and CDPOS
Regards,
Raman -
Quotation Attachment with Purchase Order
please guide me how to attached the quotation with Purchase order
regardshi
there will be 2 types of attachment is there
1 you can copy sales order from the quotation then the document referance is the remarks coloumn.
2 If you want to attach the External quotation (it ia in any format . like *.Doc *.pdf etc.,,)
you should create the UDF called the Link that UDF type should be general then structure should be link
then in the sales order if you click on that table you can able to attach the file
Gopi
Maybe you are looking for
-
How can I remove icons from the desktop on my iPad Mini?
I understand that there are apps on my iPad that I cannot delete, but is there a way of removing an icon from the desktop?
-
Arabic Language compatability- Will XI accept Arabic accept arabic language
Hi, I just wanted to know whether XI is compatible with Arabic langauge.I mean , if a message comes in XI which has Arabic text in some fields ,then will XI process this Arabic languae and send the same arabic text to the traget system.I found some t
-
Incomprehensible bills after taking line rental sa...
On 2 August 2010 we paid for one year's rental to start 24 August 2010, with unlimited calls at £4.99 a month to start from the same date. Our bill dated 12 August correctly showed the advance payment for the year, but also included advance payment f
-
hi, when i login as a partner, when i click on the help and support, the new help pages have nothing referring to web apps.... even when you search, i can find some old knowledge base pages on adobe, but why is web app help pages missing from the ne
-
Multi-planning area when updating an infocube
Hi, I work on a multi-planning area based on a transactionnal cube (C1) and a standard cube (C2). I have to add a characteristic in the standard cube. Since this change, a planning level has problems : it is only used by calling a function module : A