CRM order giving message type X
In transaction crmd_order. While creating order and while saving we found it is not required and we click on new order again and it dumps out with error X in the function module crm_order_maintain_multi_ow, which again sets in CRM_ORDER_CHECK_RECURSIVE_OW.How to resolve this issue. even OSS note is not found
Please find how I am finding the error
1) Step1 : I create sales order in CRM through transaction CRMD_ORDER, I enter bill to party, ship to party and material etc.
2) Later before saving the sales order, I found this is not the order I am looking for and data entered is wrong and I want to create new sales order again.
3) I click on new button in order transaction and it gives me dump saying recursion error in function crm_order_maintain_multi_ow.
This is the issue which I am facing.
Similar Messages
-
In ALE/IDOC Change Pointer using Maintenance order for message Type
Hi All Expert,
I am using Maintenace order to send via ALE/IDOC(Change ponters), i need standard message Name for Maintenance Order,Hello,
I'm not sure you're taking the best approch.
Usually when you need to migrate ISU contracts into an ISU-CRM integrated system, you first migrate everything you need in ISU through the VERY powerful migration workbench available (transaction code EMIGALL), and then you replicate your data to CRM via INITIAL download.
That's definitely the strategy that will give you the best performance, and less work.
Kind regards,
Nicolas Busson. -
CRM order giving the document could not be saved exception! Please help!
Hi Experts,
I am changing the status of a order using CRM_STATUS_CHANGE_EXTERN and CRM_STATUS_CHANGE_INTERN.
After this I call CRM_ORDER_INITIALIZE and the BAPI_BUSPROCESSND_SAVE.
Finally commit.
CALL FUNCTION 'CRM_ORDER_INITIALIZE'
EXPORTING
it_guids_to_init = lt_crmd_guids
iv_init_frame_log = 'X'
iv_keep_lock = 'X'
EXCEPTIONS
error_occurred = 1
OTHERS = 2.
ls_obj_save-guid = v_header_guid.
append ls_obj_save TO lt_obj_save.
CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
EXPORTING
UPDATE_TASK_LOCAL = 'X' "commented. Taking default
SAVE_FRAME_LOG = 'X'
IMPORTING
LOG_HANDLE = lv_log_handle
TABLES
OBJECTS_TO_SAVE = lt_obj_save
SAVED_OBJECTS = lt_obj_saved
RETURN = lt_return.
The function BAPI_BUSPROCESSND_SAVE is returning error: The document could not be saved in it_return. I am not getting any other details. What am I doing wrong? Please help!
Thanks & Regards
GopalHi Robert,
The SPRO settings seems to be fine.
The problem is that the order is not getting saved whenever there is backward status change. However if I see the item status via tcode "crmd_order" then it actually shows the new status. In other words status is changing but still order is not getting saved.
When I debugged the code I found that first It has successfully executed the FM CRM_STATUS_CHANGE_EXTERN and then when CRM_ORDER SAVE is called the parameter et_saved_objects is empty. I am passing header Guid in it_objects_to_save. If order is saved properly then et_saved_objects should be filled with order guid.
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
it_objects_to_save = lt_save
IMPORTING
et_saved_objects = lt_saved_obj
EXCEPTIONS
document_not_saved = 1
OTHERS = 2.
On further debugging inside CRM_ORDER SAVE I found that the FM CRM_EVENT_PASS_INFO_EXE_OW returns lt_events empty. That means the given guid is not registered for saving. Why is this so?
are there objects registered for saving
call function 'CRM_EVENT_PASS_INFO_EXE_OW'
exporting
iv_exetime = gc_event_exec_time-save_order
iv_order_guid = ls_object_to_save
iv_obj_kind = gc_object_kind-orderadm_h
importing
et_event_calls = lt_events
exceptions
others = 99.
if lt_events is initial.
delete ct_objects_to_save.
continue.
endif.
The problem is when the order is not getting saved the status change is not getting transferred to BW or BI.
What could be the issue?
Thanks
Gopal
Edited by: gopalkrishna baliga on Apr 7, 2011 5:59 AM
Edited by: gopalkrishna baliga on Apr 7, 2011 6:09 AM -
Purchase Order Outbound Idoc issue. Message Type ORDER
Hi Experts,
I am having issue with outbound IDoc generated from Purchase Order.(Message Type ORDER and Basic Type ORDERS05)
Issue is when i create PO idoc Segment E1EDP01 and field ACTION populates as 001 this works fine.
Now when made any changes to the purchase order.* PO trigers one more EDI - Idoc. but the ACTION field is stil as 002.*
Could any tell me how to fix this.
Cheers...Gopinath.Hi,
Thank you.
I have found the issue and fixed.
Below three setting was missing same has been done in Partner Profile now ok.
Message type u2013 ORDCHG, Processing Code u2013 ME11 and Change flag On.
Cheers..Gopinath
Edited by: Gopinath A.R on Oct 8, 2009 3:14 PM -
How to main the message type is I for the exceptions when we create the FM
HI ,
I have created one FM.in that i need to maintain the exceptions. for handling the exceptions message type is I.
where can i maintain the exceptions message type I.is it at the creation of FM or calling of FM?
tell me in details.
for handling exceptions:
No Sales Order Created = Message type 'I'
OTHERS = Message type 'I'
thanks in advanceExceptions are only code and text, the kind of message comes from the raising statement in the FM code.
RAISE <Exception>.
MESSAGE..... RAISING <Exception>.
The management of the resulting code is in the caller program. ([Calling Function Modules From Your Programs|http://help.sap.com/saphelp_nw70/helpdata/en/d1/801edb454211d189710000e8322d00/frameset.htm])
EXCEPTIONS
no_values_found = 1
ERROR_MESSAGE = 2
OTHERS = 3.
CASE SY-SUBRC.
WHEN 1.
I don't understand your requirement, try to read some documentation like [Specifying Parameters and Exceptions|http://help.sap.com/saphelp_nw70/helpdata/en/d1/801ee8454211d189710000e8322d00/frameset.htm] in [Function Builder|http://help.sap.com/saphelp_nw70/helpdata/en/d1/801e9a454211d189710000e8322d00/frameset.htm] and reformulate please.
Regards,
Raymond -
How to obtain GUID of a CRM Order Object
Hello, I want to retrieve an external reference number of a CRM Order. First I should obtain the GUID of a CRM Order Object(component type CRMT_OBJECT_GUID). My problem is, which FM should I use?
Thanks.Hello sasi,
thanx for your help, with which I go a step further. What I need is to obtain a service order GUID(at last the external reference number) according to a notification number in SAP Support Desk. In CRM_JCDS, CRM_JEST I got a lot of infos but not the notification number, so that I could not establish a relationship between them. And I'm not quite clear what you mean by FM STATUS_TEXT_EDIT(why I should edit the status text)? Can you explain more?
Greetings.
Nuno. -
LSMW- LOIPRO Message type process code
Hi Can any body tell me what process code to use production order create (Message type LOIPRO, Basic type LOIPRO01)? We are trying to use "BAPI". But we are getting errors.
Thanks
RobHi Soumyadip,
Thank you for you reply. We cann't use this function as it does not have required interface (CLOI_MASTERIDOC_CREATE_LOIPRO) for process code (from Tcode BD67). That to this function is outbound to generate IDOCs, not to read one and create Production Order.
Can you please let me know if have any idea about other functions? I checked KK5_GET_DATA_FROM_IDOC, which is not valid for this application.
Thank you very much,
Rob -
Too many recipients found for message type ORDERS in the ALE model
Hi all ,
please help me to solve this issue .
i done with ale settings .
orders message type is used in 2 different model view for 2 different systems
when i create po it is giving error in output "Too many recipients found for message type ORDERS in the ALE model"
how can i rectify this error.
Thanks> orders message type is used in 2 different model view for 2 different systems
do both of them carter diffrent needs or is it the same idoc which is being sent to diffrent systems?
if yes, then use a single model view with noth receiver systems defined in it.
if not, i would suggest, copying the standard idoc and create a zidoc and then use different ones for diffrent receivers....
or u can use diff versions of the orders message type...
say orders05 for one.... receiver and orders02 for another one....
hope this helps!!
Cheers!!
Sidharth -
Idoc message type for open orders & Open JIT lines
Hi,
I need to send Open Purchase Order data and Open JIT lines data to supplier daily via Idocs.
Is there any standard messege type available for this data.
RegardsHi Rohita,
Instead of changing the standard domain, You have to make the changes in the User Exit.
Say Qualifier 001,002,003 were already there in the domain.
001--Purchase Date
002--Delivery Date
003--Ordered Date
In the user exit u have to just add the segment and the qualifier without making any changes to the Standard Domain.
These Qualifiers are just like other variables and u can add whatever values to them that u want..
You can add Qualifier 004 for Trnasportation Date or Goods issue date and have to communicate the MiddleWare informing that date with this Qualifier will be Transportation Date and they will do the mapping to the corresponding field in other syste.
You can have as many message types as u want for the same IDoc type. There is no harm in having multiple message type. And u dont need to change the standard domain. It can be done without changing the domain.
If u analyse the FM closely u will realise that they have done coding for those values in the domain.
So instead of adding it to domain u just have to do the coding for this new qualifier.
Revert back if u need any help on it.
Thanks...
Message was edited by:
Utsah Garg -
IDOC Message type for open sales orders
Hi
We are trying to send the list of open sales orders of a customer in an IDOC to the customer. For example, if the customer has got 15 sales order to be delivered to him , he needs the details of all these 15 orders in an single IDOC
Is there any message type available for this in SAP R/3 4.7 version
Regards
AnandhTry VA05 schedule lines standar variant...include status fields and both ordered qty and confirmed qty. In SAP standard system order status, status A means open orders fully (Nothing shipped, everything opened). Status B means in process orders (Partially processed - shipped). Status C means complete orders (Nothing opened). As there is no delivered qty in VA05, you need to download to excel the file and calculate the difference between both qty fields for each A and B status. That is a way to get the missing qty to be delivered or open qty as you stated.
Hope it helps.
Jorge Fernandez -
Change sales orders using ORDCHG Message type
Hi,
I am trying to test the changing of quantity on sales order items using message type ORDCHG and process code ORDC. In segment E1EDP01 the action code is set to 002 - item changes. However when the IDoc is posted a new line is created in the order rather than the existing one being changed. The action code in the header is set to 003 - one or more items changed. Does anybody know how to control the change of quantity for an existing item?
Many Thanks
CarolineHi,
Try to populate Logical message code 'CHG' in the EDIDC-MESCOD while you are creating the IDoc.
If a message code has been entered in the (inbound) partner profiles, the external system must fill the field during IDoc inbound processing.
Regards,
Yogesh -
How to change P.O. duplication message type from warning to error for Order
Hi Experts,
I have a requirment to change P.O. duplication message type from warning to error for Order only not OrderTemplate. I can easily change message type in BAdI ISA_BASKET_MSGS, but I can't find the parameter to know if it's Order or OrderTemplate (DocType). If this BAdI is not good way, is there other way? and how to please?
Please advise / help..
Thanks, JinThanks Easwer for your help.
The info for getting status from function is very clear and I followed you instruction and completed the coding in BAdI and tested it successfully .... Thank you very much. I need to learn where I can see the system status of the template, i.e. I1034 (Order Template) or Order or Quotation .....? if I need to filter out Quotation, I can easily do it in the BAdI. Could you please provide me more details?
Thanks again, Jin
Thanks again, Jin -
Bapi for creating message type in a sales order
Hi, I am involved in a IS-MAM project for an italian company.
I need to create or add a message output type in a sales order in a complex batch program. I thought to use a bapi technicality; in particular BAPI_ADMGMTSO_CHANGE in order to change the document.
How can I create message type in the order? Can I use the same bapi or I need of an other one?
thanks in advance for your help
LuciaCan you please provide more information...
-
To SET -UP message type 5 External Send to the purchase order approver
Hi All
Please help me to To SET -UP message type 5 External Send to the purchase order approver
SusanSusan,
This to me sounds like a release strategy setup using workflow. Could you please set up Release strategies initially and and then the workflow part couldd be handled by a workflow personnel.
Else, Setup teh message type with medium 7, and partner function MP, put the user name in the partner field. Go to communication method, choose the recipient type and fiull other required parameters and you should be set.
Edited by: Pavan Kumar on Apr 6, 2010 12:27 PM -
MESSAGE TYPE DEFAULT FOR PURCHASE ORDER
Dear All,
I want to set default message type ZNEU for all purchase order. I try this with T-CODE MN04 AND MN05 but it is not working.
SO HOW I MAKE MESSAGE TYPE DEFAULT FOR PURCHASE ORDER
Regards,
PankajHi,
Miantain the all the conditions records in t.code : MN04. after that check for the "Define Partner Roles for Purchase Orde" what did you mentioned for new or change as per that,
Check you had fine tune the output (message) type in following path:
SPROMMPurchasingMessageOutput controlMessage tyoesDefine message type for Purchase Order--Fine-Tuned Control: Purchase Order
Select the check box coresponding to your output(message) type ZNEU to have print output for this message type .......
Now try creating PO & u will have default message type ZNEU......
Hope this will help you.......
BR,
Patil
Maybe you are looking for
-
DYNAMIC INTERNAL TABLE CREATION BASED ON THE CONTENT OF ANOTHER INTERNAL TA
Hi All I need to create an internal table at runtime. I have a selection screen parameter which is specific to country, Which can take values below eg:- IT_AREA for Italy(IT) FR_AREA for France(FR) IE_AREA for Ireland(IE).....And similary for other c
-
Problems with PO creation in SRM in Plan Driven Scenario
Hi experts, I have a problem with creation of PO from SC in SRM 5.0 (Extended Classic) in Plan Driven Scenario: We transfer PM order from FI/LO (ECC 5.0) to SRM (the Extended Classic is activated). SC (External req) is being approved After approval t
-
Why does my form always give to save?
Hello guys! When the user open my form, same that it doesn´t change anything, when it try to close, the Adobe Reader alert to save changes. Why this? Is it possible to disable? Thank you.
-
Nast-Anzal(no of copies) is always zero for GR Label
Hi , I am issuing GR slips.I have choosen "Individual Slip" Print option and I have given "No of GR Slips" as 3 .My requirement is to print Multile GR slips.But its always printing one.I checked the NAST Table entry .I found the Anzal (no of copies
-
Access to object list of type "BusinessSystem" using the InternalEOAService
hi experts Try to revive this message: I got the exactly same error message. Here is my case: -created two business systems (third-party) in SLD -In Integration Directory, Service Without Party --> Business System --> Assign Business System, in step