Delete or insert item in Sales Order and Purchase Order will update as well
Hi,
Is anyone got the program code that when i delete or insert item in Sales Order and the back to back Purchase Order will do the same action.
Please help.
Regards,
Anna
Hi,
I guess u can try the following,
Once the SO is updated, check with a SQL query if there are any target docs for that SO then, if there are any target docs u have to check for the item thats updated and then update ur PO using DI.
Hope it helps,
Vasu Natari.
Similar Messages
-
Standard program for unbilled sales orders and purchase order items
Can anyone advice, is there any standard program which gives the unbilled sales order and purchase order items.
Hi,
Use the T.Code VA05/VA05n for list of all the sales order s which are open.
Take T.Code:VA05N
Select the option "Open Sales Orders".
Execute.
It will give you all the orders which are open.
The standard program for this is:"SD_SALES_ORDERS_VIEW".
The same you can also get by using the T.Code VF04.
In this if your scenario is "Order related",then select the option "Order related".
Else if it is "Delivery related",then select "Delivery-related".
Execute.
The standatd program for this is:"SDBILLDL".
T.Code:VF05/VF05n is for list of billing documents.
Regards,
Krishna.
Note:Pls search the forum. -
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 -
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 -
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 linkage in tables for third party orders
Hi all ,
For third party process order s
In which table can I find the Sales order and Purchase Order linkage .
thanks
ksrHi Sridhar ,
Refer Table EKKN for PO and SO Linkage.
Table EBKN for PR and SO Linkage.
Regards
Ramesh Ch -
Relationship between a Sales Order and Purchase Order
Dear All,
Can we create a relationship between a Sales Order and Purchase Order.? If yes, then how can we do that.
or how can we relate supply and demand..
Please update...
many thanks in advance...It's easy
refere to my blog for complete Query between
OM - Req and POs.
http://eoracleapps.blogspot.com/2009/04/oracle-order-to-cash-queries.html -
hi gurus,
I want to cancel order and purchase order.i am doing Third party returns process.So where can i can cancle these both any transaction code exits ..
sureshDear Suresh,
you have to set the deletion indicator into the purchase order first (transaction ME22N). After this you can reject the sales order item (transaction VA02), then the purchase requisition will get the deletion indicator automatically. If you have already the purchase order created then you cannot delete the sales order item anymore. You can only reject it if the purchase order contains the deletion indicator. The process is described in detail in the note 549972.
I hope, this info helps you a little bit further.
Kind regards,
Akmal Vakhidov
Development Support SD, SAP, Walldorf/Germany -
How to bifurcate production order and purchase order
hi all,
is it possible to bifurcate all open production order and purchase order quantity of items.
ex:i have one item like ffp001 it is showing 100 order quantity.but i want only open purchase quantity.i checked (item master data-->righ click--->Avail to promise) its showing open production and purchase quantity.so i need only open purchase quantity.
Plz tell me the process of Bifurcation of open orders.
thanks&Regards,
P.PratapHi,
By default there is no option , as a workaround you can use below method,
Create 2 warehouse , for example Purchase , Production
When ever you create purchase order use "Purchase" warehouse, Use production warehouse in production
In the "Available to Promise" Report you have warehouse filter option.
Using this filter you achieve can achieve your requirement.
OR
Right click "Filter Table"
Document -> Start with-> PO
Now you can see only PO
Refer below image -
Differemce between PROCESS ORDER,PLANNED ORDER AND PURCHASE ORDER??
what is th edifference between PROCESS ORDER,PLANNED ORDER AND PURCHASE ORDER ??? can any one explain with some examples?
n.bhardwaj
[email protected]Process Order:
Process order / Production order are activities within a business, where the production planning team team creates to absorb costs / evaluate costs / and check against planned figures. There would integration between MM/FI/PP to create such orders and process.
Planned Order:
A request created in the planning run for a plant to trigger the procurement of a plant material for a certain quantity for a specific date.
Purchase Order:
A request or instruction from a purchasing organization to a vendor (external supplier) or a plant to deliver a quantity of material or to perform services at a certain point in time.
Regards
AK -
Need help to find out link between process order and purchase order.
Hi All,
Need help to find out link between process order and purchase order.
We have purchase order, we can find out associated process order in MD09 (No Purchase Requisition found in Purchase order). When I tired to replicate this scenario with same material in system but not able to do.
Please suggest me what needs to check to get purchase order link to process order.. (this is not subcontracting )
Edited by: SAP PQ on Sep 26, 2011 5:24 PM
Thanks,
SAP PQ
Edited by: SAP PQ on Sep 26, 2011 5:24 PMMD09 is pegging. In SAP pegging is dynamic, meaning that there's no fixed link between purchase order and process order in your case.
This is why you did not get the same result when you tried again later.
Such a link can exist only if you do direct procurement for the order. -
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 -
Link between sales order and purchase order
plz explain the link between the sales order and purchase request
Hi Javed,
Their are 2 scenario for this.
1) You create a sales order and the system automatically creates a PR and then you convert to PO.This is third party sales.In PO account assignment the sales order number is directly copied to the PR And PO.
2) You create a PO wrt to SO .The goods received will be reserved for that SO. third party PO Vendor will directly deliver the goods to customer.The delivery address is copied from sales order.
Techincally
EKKN table you have sales order and Item fields (VBELN and POSNR)
using these fields search for the deliveries in LIPS table
EKKN-VBELN = LIPS-VGBEL and
EKKN-POSNR = LIPS-VGPOS
Edited by: Raj on Jun 19, 2008 6:58 PM -
Linking Between Sales Order And Purchase ORder
Dear Gurus,
How to link the Sales Order Number and Purchase Order Number. I know the Sales Order Number and I need the tables from which I can know the Purchase Order Numbers for that Sales Order Number.
Points will be awarded.
Thanks,
RaviHi,
Goto Table Mseg-kdauf is sales order no.
get mseg-ebeln is purchase order.
Or u can do the following code.
from sales order no VBELN get VBFA-VBELV.
SELECT SINGLE vbeln FROM likp
INTO l_delno
WHERE vbeln = vbfa-vbelv.
SELECT SINGLE ebeln
INTO l_sono
FROM ekbe
WHERE belnr = l_delno
AND bewtp = 'L' .
L_DELNO IS PURCHASE ORDER.
If it is helpfull pls reward it.
Regards
Srimanta -
Learner question on sales order and purchase order
dear SDN,
I am a bit confuse about PO and Sales Order.
My understanding is a Sales order is a contract from customer to sales organization.
But a PO is also something like that am i right?
I learnt that to create a Sales order you need the customer number and PO number.
So, am i right to say that a Sales order is created by the sales organization after receiving the PO raised and issue by the customer?
So they are basically the same thing but created by different parties?
Is my understanding correct?
Best regards
MZIn Other words,
Lets consider we as a vendor to our customer.
our customer will place an order with us, requiring some materials and for his reference within his company he will refer a number which is called as purchase order. ( this PO number will be a reference for our activities like payment request etc. with our customer).
the Sales order is a copy of our internal tracking information, for the requirement raised by our customer. so with in our company we will refer this SO number while if we need to communicate something to the customer we will refer with his PO number as he may not be aware of our internal numbering system.
This should not be confused with the Sales Order & the Purchase Order within our SAP system.
Sales Order - Relation with the customer & company. (outgoing materials for a company normally)
Purchase Order - Relation between vendor & company ( incoming materials for a company normally).
Rgds
Ilango
Maybe you are looking for
-
I am a new user. First STB was 7216 showed a capacity of 40 hours recording only SD. Called and complained that capacity should be closer to 80 hours. Agent agreed and reset the box remotely then later changed the STB to 6416. I lost all recordin
-
How to set songs from music as ringtones for contacts
How do I set songs from my music that is on the phone as ringtones for different contacts?
-
Why is the video hanging up?? Stalling???
I'm currently using QuickTime™ (Pro) Version 7.1.6, Player Version 7.1.6 and it will load videos and begin playing them but then the video part stops a few seconds into it and the audio continues on. I've tried re-installing it but that didn't fix an
-
Need video connection with daughter in Europe
My daughter is off for a college Semester Abroad - would love to talk and see each other with iChat - I have a wonderful Mac, she's stuck with her PC labtop. Any suggestions for us? I read the threads, ideas include iChat and/or Skype?? Not very comp
-
IPhoto crash on open after export
Hello - iPhoto crashed this morning when I performed the following steps. Attached Canon A570is camera this morning over USB with 4 photos on the SD card. Used iPhoto to "Import All..." Selected option to erase originals on camera. Powered off camera