on 10-15-2015 9:20 AM
Hi Experts,
Whenever i click on 'Trigger output' button in Quotation business transaction in SAP CRM UI, system throwing a warning message as 'No action is available for scheduling'.
I know that there is a some problem in Action profile. May i know what is the issue exactly to fix?.
Quick response would be highly appreciable.
Many Thanks,
Venkat A.
Hi Dawood,
Many Thanks for your information. Really useful to me.
Can you please confirm me that 'Trigger Output' button only calls actions with Method PRINT?.
If it's yes, then i will inform my technical consultant to write a custom code under the same button to call my action 'Quotation Output' to send an email whenever user clicks the button.
Is this a good solution?.
Please confirm.
Many Thanks,
Venkat A.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
In order to 100% confirm that Trigger Output only calls actions with method PRINT I have to debug a bit and I will get to it by end of this week. I was looking for some SAP official documentation but did not find any. I would say so, however, from your screenshot I can see you DO have an action with method PRINT in your profile and yet your button Trigger Output does not find it. Which is strange.
Regarding your question - yes, with enhancement of the WebUI component this is possible, however, I would do it differently - I would create another button, for instance Trigger Email or Trigger Notification and maybe hide the Trigger Output button under More selection.
It is not advisable to change anticipated behaviour of standard SAP functions, especially if the button would send e-mails only for quotations and for other documents will trigger printing - this would me misleading and might confuse users.
I will update this thread with my finding later.
Regards,
Dawood.
Hi Dawood,
Many Thanks for your reply.
Hmm right, the button has to trigger output button has to print, buy in my case it's not and which is very strange..
What if i will use 'Smart forms Mail' as a processed type and then will use my class and method to send an e-mail. Is that calls the 'Trigger output' button to send an e-mail?.
Thanks,
Venkat.
Hello Folks,
Anyone please respond?.
Thanks,
Venkat A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
I guess there is missing customizing in your quotation process type. The process type should have action profile assigned, which contains active action with method PRN (SmartForm print).
Take process type AG as example. It has assigned action profile QUOTATION, which contains several actions. One of them is named QUOTATION_PRINT, which has processing type Smart Forms Print.
If you think that your customizing is correct, then activate assignment block Actions in your Quotation and try to schedule the print action manually.
Hope this helps.
Regards,
Dawood.
Hi Dawood,
Many thanks for your reply.
Issue is not with print, we have some other action definition in the profile to print where we are using processing type Smart Forms Print.
In my case, there is one more action that triggers an e-mail along with one mail form to an approver once status of the quotation got changed to 'In progress' from 'OPEN' with the help of Z method using process type 'Method call'.
Actions are triggering fine,but, whenever i click on the 'Trigger output' button it gives the 'No action is available for scheduling' message.
System is triggering actions perfectly, same i can see in the 'Scheduled Actions' assignment block but as you know 'Trigger output' button re-generates the output once again if you click.
I hope you clearly understand the issue now. I think we need to create a different action for this button to re-trigger the output?. Your suggestions plz.
Thanks,
Venkat.
Hi Venkat,
I assume this is message CRM_UIU_CT 102. This is triggered in class CL_CRM_UIU_ACTIONS_TOOLS->SHOW_PRINT_ACTIONS_POPUP. Here is fetched collection of scheduled ready actions:
IF iv_for_preview IS INITIAL.
lr_action_context_coll = ir_action_context->get_related_entities(
iv_relation_name = 'ACIOutputActionRel' ). "#EC NOTEXT
.
.
lv_size = lr_action_context_coll->if_bol_bo_col~size( ).
CASE lv_size.
WHEN 0.
lr_msg_service = cl_bsp_wd_message_service=>get_instance( ).
MESSAGE ID 'CRM_UIU_CT' "#EC NOTEXT
TYPE if_genil_message_container=>mt_info
NUMBER '102' INTO lv_message.
So there must be some problem with the customizing. It is difficult to guess the problem cause without more details (screenshots with action profile and action customizing), but this is where I would start.
Do you have the relevant action scheduled in Conditions IMG activity? Even though it is manual, it should be present here with green status:
Regards,
Dawood.
Hi Venkat,
I think I see the misunderstanding now.
If I understand the SAP standard correctly, the button Trigger Output will only search action definitions with method Print. Your action Quotation Ouput (and the word Output is probably misleading here) will be ignored.
However, it should find and trigger the Print Preview action, I do not see why it did not.
Anyway, you can cheat this in such way, that for sending out the email, define the action as Print, instead of Method call. There you put your own processing class and some dummy form. In the processing class implement your email send logic.
Regards,
Dawood.
User | Count |
---|---|
7 | |
1 | |
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.