on 12-17-2015 9:01 PM
Hi EM experts ,
I have deregistered outbound queue in ECC and inbound queue in EM . When I update ECC order , it does not generate any queue in ECC . Please provide your valuable input . I have changed queue name and I need to show new queue name in SMQ1 to business .
Regards,
Rajesh
Hey,
Are you sure that you have qRFC or do you have synchronous calls?
Using assert in BAPI's should do the trick.
Have you done that? If not use assert in
/SAPTRX/BADI_EH_S-> before_eh_post.
This should force the queue failure and stop it. If this is not working during EH creation/ EH Updates, then you might not have qRFC.
Thanks,
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishnu,
He had deregistered default SAP EM queue name in SMQR and registered new queue name.
Hi Rajesh,
You have defined a new queue name in IMG-> Integration with Other mySAP.com Components -> Event Management Interface -> Define Application Interface -> Define SAP EM Extraction Functions Created new queue name extractor in Queue Name Extractor (/SAPTRX/QUEUE_NAME_TEMPLATE).
If yes, go to method IF_EX_BADI_SD_SALES~SAVE_DOCUMENT -> CALL FUNCTION '/SAPTRX/EVENT_MGR_COMMUNICATE' -> CALL FUNCTION '/SAPTRX/INTERNAL_EM_COMMUNICAT' -> CALL FUNCTION '/SAPTRX/QUEUE_NAME_DETERMINE' - Check what is returning e_queue_name = lv_queue_name.
You can find a root cause here, why it is not determining.
Regards
GGOPII
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
Another input, Standard SAP EM queues are set by call function /SAPTRX/QUEUE_NAME_DETERMINE.
CONCATENATE 'EM_' i_bpt_name INTO e_queue_name. So, we see like this EM_ESC_SORDER.
You have to define new queue extractor to assign a new name for queue apart from standard SAP EM queue names.
Regards
GGOPII
Hi Gopi ,
I have deregistered outbound queue in ECC using t code SMQS and Inbound queue EM* in EM using t code SMQR .
I know that new queue name is generating as i did the same customization which you recommend .
The issue is that i have to provide a proof to the business that we are generating queue with new queue name by showing the stuck queue in SMQ1 in ECC .
However I am unable to stop any queue in ECC . That is the issue .
Regards,
Rajesh
Hi Rajesh,
It looks very odd and we never encountered this. You have to check anything default value passing in your queue extractor.
If it is development system, then talk to Basis team to totally disconnect RFC connection to check and see. This would help you to identify where is the issue.
You have to debug and see where the issue comes.
Go to method IF_EX_BADI_SD_SALES~SAVE_DOCUMENT -> CALL FUNCTION '/SAPTRX/EVENT_MGR_COMMUNICATE' -> CALL FUNCTION '/SAPTRX/INTERNAL_EM_COMMUNICAT' -> CALL FUNCTION '/SAPTRX/PROCESS_EVENTS' -> PERFORM event_processing -> put the breakpoint in 794 and 889 CALL FUNCTION 'TRFC_SET_QUEUE_NAME'.
Regards
GGOPII
Hi Rajesh,
Your question is not clear. Have you registered or deregistered? If you mean register, then check how you defined your EM in tcode /SAPTRX/ASC0TS.
Thanks,
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
Deregistering the queue might not help your case as queue might not be created at all. As you said, you changed the queue, you can trick the system to make it stop.
There may be other solutions but I would do the following:
1) Go ahead and register the queue.
2) In your custom queue generation code, use ASSERT ( Assert 1 = 2. )
The assert will fail the queue and it will be stuck in SMQ1 in ECC. Once you take screen shot or show it to your team, remove the assert condition.
Let me know if it helps or anyother question.
Thanks,
Vishnu
User | Count |
---|---|
11 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.