Generate idoc when deleting sales order
I have seen in matmas that there is a flag for the deleted mark, but i can´t see it in the sales order, is there any flag in orders05 when the sales order is deleted, does the system send an idoc when the sales order is deleted, how?
Thanks in advance.
Regards
OK, it still finished, just only last question please.
In the head table CDHDR appears the sales order with the 'U' field indicating that it has been updated and in the CDPOS table appears all the positions with the 'D' flag indicating that has been deleted, is it ok or how could i know that the whole sales order has been deleted?.
Thanks in advance
regards
Similar Messages
-
Getting dump in generating IDOC when creating sales order
hi all,
I am using a std FM IDOC_OUTPUT_TPSDLS to generate the outbound delivery create/change.
and i have created a new output type and added in V2 application and the Processing program is RSNASTED & Form ALE_PROCESSING.
When I create the SAles Order in VA01, I am getting dump " Update terminated" and checked in ST22.
I am getting this error "An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_DYN_CALL_PARAM_MISSING',
was neither
caught nor passed along using a RAISING clause, in the procedure
"NEW_DYN_PERFORM" "(FORM)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
When calling the function module "IDOC_OUTPUT_TPSDLS", one of the parameters
needed according to the interface description was not specified.
This parameter was "DELIVERY".
I am not sure why this error...because I am using only starndard FM & program, why this issues..
Kindly guide me
thanksTrue what u r telling.....................
I am trying to create a IDOC while creating,change a delivery.
should i have to change the Processing program RSNASTED , form ALE_PROCESSING ???... or IDOC funciton module is wrong?
please need ur advice
thanks for your input -
Generating purchase order idoc, when a sales order is created
Hi folks,
we need to send purchase order idoc from SAP to some external system. Once sales order is created, it should automatically generate the purchase order idoc and send to the external system....Any document showing step by step configuration to do so? I have basic knowldege of ALE and IDOC...please suggest me the configuration steps in detail...
Thanks in advance,
Shyam.Hi,
1. Configure the IDoc with message type ORDERS and basic IDoc type as ORDERS05 (You have to follow common step-by-step approach)
2. Configure Message Control to automatically generate IDoc whenever a Sales Order is created. (I mean output type)
So whenever a Sales Order is created, output type will generate an IDoc.
Hope this information is useful.
Regards,
AK -
Trigger an Idoc when a sale order is been opened in VA02 & saved
Hi Experts
I have a requirement to trigger an Idoc when a sale order is been opened in VA02 transaction and saved.
Now that I have attained the same through Message Control Settings and Nace out put type settings with Multiple Issuing.
Here in the Idoc will be triggered when the user makes any changes in the order based on the NAST table entry.
Now my requirement is that the Idoc has to be processed even if there is no changes made to the document when the user opens the sale order and clicks save.
This is the process been carried out to re-process the Idoc.
Now that the Idoc is triggered using the path ---> menu - extras -output - header- edit & save.
Now that the user need to process the Idoc by just opening the order in VA02 and click save.
How can this be attained ? is there any configuration for it ?
Or is it possible to handle the same in any of the user exit ?
the problem is the user exit save gets triggered only when there is any change in the document else it throws a msg " No changes made"Hi Niraj
Thanks for your Response.
Now that the output control works fine when there is any change made to the document.
Now that i need to configure such a way that the output control triggers even if there is no change to the document and save button is clicked.
Can U please elaborate how do i make settings in VOFM-> Output Control ?
Thanks
Sathish -
Delivery Deleted, Showing error when deleting sales order. R3, Oracle9i
Hi experts,
One of my users deleted delevery document and when he is trying to delete sales order it is giving error.
Also it is showing delivery archived. How to retrieve the document.
Thnx in advanceHi Dhanush,
I suppose there is no need to run any consistency jobs for this issue(as per my understanding).
As specified above by Senthil just try first running //CCR for the LOC_PRODUCT with category as Sales Order (also tick the VBBE table option) and Purchase Order. I think this will solve your purpose. Also please make sure that the IMs for the LOC_PRODUCT is active.
Do let us know your findings on the same.
Thanks and Regards,
PP. -
Automatically Trigger a Idoc when a sale order Document is changed
Hi Experts,
Currently Idoc is pushed manually through sale order change transaction " VA02 " menu path
" extras - > output - > header - > edit "
I have done the nace settings for output types & condition records . Now that the Idoc gets triggered automatically
when a document is created in VA01 transaction. Is there any other settings required such that the IDoc can be sent automatically once the document is changed and saved through VA02 transaction also.
Or do I need to process the IDoc through user exit of VA02. Kindly advice how to proceed with it.
sathish
Moderator message: duplicate post locked.
Edited by: Thomas Zloch on Mar 17, 2011 12:48 PMIn Partner profile(WE20), you can make one mor entry similar to existing record with check box enable, under Message control tab.means maintain the below details, Application, message type, process code and enable the change check box.
After making entry in WE20, you can change sales order and save the application.It may work. -
Generating idoc when deleting shipping doc
Hi
I need to generate an idoc when we delelte the shipping doc from VT02n tcode. How can i do that? I am new to ale and idoc
thanks
sankarHi
I got a clue on how to create the idoc and all. but where do i write the form which will generate the idoc. I mean is there any userexit in VT02n tcode where i can do that?
thanks
sankar -
Idoc info in 'Services for Objects' when a sales order is created
Hi Guys
Could one of you remind me how to turn on the Idoc info in the 'Services for Objects' > workflow option.
I know how to turn on the services for objects using the user profile and entering parameter id:SD_SWU_ACTIVE , parameter value: X.
I am not able to see the Idoc number/info that was used to create the sales order. I can see all the information in WE05 but the sales order does not show me any history of having used the Idoc.
When i go to sales order and select the services for objects option followed by workflow the system should show the IDOC number/info used to create this order.
Your help will be appreciated.
Thanks
Manish
Edited by: Comes Naturally on Feb 23, 2009 3:46 PMHi,
1. Configure the IDoc with message type ORDERS and basic IDoc type as ORDERS05 (You have to follow common step-by-step approach)
2. Configure Message Control to automatically generate IDoc whenever a Sales Order is created. (I mean output type)
So whenever a Sales Order is created, output type will generate an IDoc.
Hope this information is useful.
Regards,
AK -
What fileds do need to inlcude when a sales order gets update
HI Guys,
Can you please help me i need to develop a sales order.when ever its get updated its need to triger through Bapi.
Regd's
Rajesh.Hi,
1. Configure the IDoc with message type ORDERS and basic IDoc type as ORDERS05 (You have to follow common step-by-step approach)
2. Configure Message Control to automatically generate IDoc whenever a Sales Order is created. (I mean output type)
So whenever a Sales Order is created, output type will generate an IDoc.
Hope this information is useful.
Regards,
AK -
Information about the deleted sales order line item in idoc.
Hi Experts,
I am new to IDOC.We have the following idoc requirement,
When a line item is deleted from the sales order(VA02) ,
the outbound idoc getting triggered for the sales order has the information about the rest all line items other than the deleted line item.We now want the information about the deleted line item in the Idoc .
Please help me in proceeding further.Hi,
I am facing the same scenario of capturing the deleted sales order line item in idoc.
I am using ORDRSP message type , where in E1EDP01- ACTION contains value "000" .
And the Deletion line item is not been captured, is there any configuration setting required to
capture the deleted line item in Idoc.
Based on the posting in this thread i understand that there is an indicator which has to be set .
Please let me know what is that indicator and how to set it?
Thanks
Sathish -
Cannot delete sales order when invoice is canceled
Hi guys,
I have this problem. Proces is defined with two document: sales order and invoice. I have canceled invoice
with VF11 and set u201CReason for rejectu201D in sales order but status overview is not set as u201CCompletedu201D.
I cannot delete sales order, what is the problem any idea??
Thanks,
NihadThis is overview of the status:
Standard Order 27057
Sold-to 400000 proba
Status overview
5 Current hdr status Everything rejected
Total processing Open
Rejection status Everything rejected
5 Ord-related bill.st. Not invoiced
Invoice 90012921 14.10.2008
Cancel. Invoice (S1) 90012986 14.10.2008
Completeness Complete header data
Billg doc. complete Complete header data
Current item status
ItemNo Material
5 000010 Otkup tendera 1,000 PC Fully rejected
Total processing Open
Reason for rejection 10 Unreasonable request
Rejection status Fully rejected
5 Ord-related bill.st. Not invoiced 0,000 PC Billed 1,000 PC open
Invoice 90012921 10 14.10.2008 1,000 PC
Cancel. Invoice (S1) 90012986 10 14.10.2008 1,000 PC
Completeness Complete item data
Billg doc. complete Complete item data -
Creating a PO when a sales order is created
Hi,
Can anyone guide how this requirement can be achieved. For both scenarios there should be no manual intervention.
This is not a third party scenario.
When a sales order is created then a purchase order should be created in same server and
in different server.
1) For different server scenario i think idoc can be used. what should be my outbound and inbound message types and idoc types. because both po and so have same idoc types(ORDERS) and message types(ORDERS05). so when a sales order is created in 1 system how system knows that it needs to convert to PO in other system. And there should be no Purchase Requisition created..
2) Best way creating PO in same server with sales order with out creating Purchase Requisition.
please share your valuable suggestions.
Edited by: abilash n on Jun 13, 2011 7:12 AMyou need two output types for two scenarios, and there are different ways to do it from there,
for PO creation in same server I would use a Output with Transmission Medium as 8 - special function and used BAPI to create the PO, this way you dont have to keep track of idocs but the once the order is created functin will get triggerd and PO will be generated.
Check with the SD Consultant on how to create the Output type with TM 8(tcode NACE -> V1 - sales -> output types -> ).
for the different server I believe you alredy have the RFC/ connecetions set up. You'll have to use an IDOC for this.
Partner profiles and process codes in destination systems will determine the PO creation.
regards,
nipuna -
Report on deleted sales orders ( va02)
hi,
i got one requirement to write a program to display the list of deleted sales orders (through VA02 Tcode).
to my knowledge when a sales order is deleted through VA02 the order will be deleted from the database itself and will be deleted from all the SAP tables.
if that is correct, is there any possibility that we can create a Ztable and update the data before deletion or any other solution for the above requirement?
thanks in advance,
Rajani yelurihi rajani,
u will get deleted data from using tables CDHDR,CDPOS,CDRED and function module ' CHANGEDOCUMENT_READ'.
i am sending u some sample code, i hope it will helps u
DATA: it_editpos LIKE cdred OCCURS 0 WITH HEADER LINE,
"Change documents, display structure
it_editpos1 LIKE cdred OCCURS 0 WITH HEADER LINE,
"Change documents, display structure
x_editpos1 LIKE cdred, "Change documents, display structure
x_editpos LIKE it_editpos,
"Change documents,display structure
*-----Calling FM to populate the structure 'EDITPOS'
CLEAR it_editpos.
CALL FUNCTION 'CHANGEDOCUMENT_READ'
EXPORTING
objectclass = ' '
TABLES
editpos = it_editpos
EXCEPTIONS
no_position_found = 1
wrong_access_to_archive = 2
time_zone_conversion_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CLEAR: x_editpos,
it_editpos1.
LOOP AT it_editpos
INTO x_editpos
WHERE tcode = 'ME21N' OR "Here u have 2 pass 'VA02'
tcode = 'ME22N' OR
tcode = 'ME23N'.
APPEND x_editpos TO it_editpos1.
CLEAR x_editpos.
ENDLOOP.
now it_edipos1 has all CHANGENR numbers, so now u have to fetch data from F_NEW and F_OLD Fields
i hope this will helps u
Regards,
prasad -
How to find out the deleted sales order
hi,
sap gurus,
my core user has deleted one sales order
its showing as sales order is ARCHIVED in the status when we go for VA02
in SAP in which table the deleted sales order will be stored.
so that i can
regards,
balaji.tPlz SEARCH in SCN before posting.
You can get those details from CDHDR, CDPOS tables.
Give OBJECTCLAS = VERKBELEG and CHNGIND = 'D' in CDPOS table.
You will the List of all Deleted Sales Orders. -
Multiple events created in R3 when creating sales order
Hi all,
We are having a problem when creating and changing a sales order in CRM.
When a sales order is created and rapidly changed (or changed more than one time) from CRM, backend is receiving 2 events (from BO BUS2032, CREATED and CHANGED) but at the same time (not even a second of difference between them).
So the WF that is linked to that event is triggered twice (we are checking if another WF instance is running, but as this 2 events are generated at the same time, the WF instances didn't notice the other instance).
Do you know if there is a way to solve this problem?
Thanks!Hello
In everyworkflow there is a tab where you define if you want certain event to be triggered. I think it would be enough to de activate this triggering event.
Go to transaction PFTC, enter your workflow ID and choose tab "triggering events". You should have a green light for both BUS2032 -CREATED and CHANGED. Click on the event you want to de activate.
Regards
Joaquin
Maybe you are looking for
-
Jabber plan to replace WebEx Connect and CUPC
Can someone from Cisco articulate the roadmap plan for WebEx Connect Client Cisco Unified Presence Client ...in light of the FCS availability of 'Jabber Branded' clients for everything now? Are there subsequent releases planned? I thought WebEx Conne
-
Network card not found after new installation [SOLVED]
I broke my filesystem on my Asus UL80V series laptop in trying to solve problems related to the latest glibc update, so decided to do a clean re-install. I had an installation disk at hand: 2009.08 with kernel 2.6.30.4-1 (which is supposed to have th
-
Help! I keep getting this error message in Acrobat 9 Standard: Accumulated text within the attempted selection area is rotated other than horizontal or vertical. TouchUp cannot create a text selection. Is there a work around for this problem? I don't
-
Can't Open iTunes-Quicktime error
When I last tried updating my iTunes I had to cut the installation short and ever since I haven't been able to start iTunes. It tells me that Quicktime was not found and to reinstall iTunes. I've tried reinstalling iTunes many times but it doesn't wo
-
I'm going to save my old Hi8 tapes on a hard disk using final cut pro x, to save it for the future. But how shall I export it, and in what will be the best quality to save it in?