SAP Inbox navigation
Hi All
I have a question in my client about SAP inbox.
Can we direct a workitem to a custom folder in SAP inbox? We have a situation that the approver gets a workitem to his inbox for approvel. If the approver approves it then fine else if the approver rejects it the user should get same workitem regenerated after sometime. To differentiate the regenerated workitem they need that workitem to appear on the custom folder. Is it possible?
If yes, then how do i creat a custom folder and how i can forward the workitem to the custom folder?
If no, what is the way it is possible?
Is there any alternative like i can differentiate by the workitem text?....is yes how do i change the workitem text at runtime?
Suggesions please
Thanks
Shree
Shree,
Usually, if the Approved rejects a workitem he wants to convey a message to the person who created or any reason of rejection. By that, if the workitem is rejected and fixed the next time and sent again for approval.
The above process can be fulfilled by creating a custom method with the below code and use it at the Reject
outcome.
BEGIN_METHOD ENTERDESCIPTION CHANGING CONTAINER.
DATA:
REJECTREASON TYPE TXW_NOTE-LINE OCCURS 0.
CALL FUNCTION 'TXW_TEXTNOTE_EDIT'
EXPORTING
EDIT_MODE = 'X'
TABLES
T_TXWNOTE = REJECTREASON.
SWC_SET_TABLE CONTAINER 'RejectReason' REJECTREASON.
END_METHOD.
After approver providing the description at the first time, you need to import into workflow and if you want to send the same workitem again to the same person. Add this as parameter to your workitem text.
For the first time the workitem text with the RejectReason parameter will be empty and nothing will be displayed. At the second time, the Reject Reason will be populated as entered by the approver earlier.
For sending the workitem multiple time, you must use loop statement.
Hope, this helps you and usually it is best way to track how many times it got rejected.
Coming about redirecting same workitem, may not be possible as it is from the same Task and even all other parameters may be the same.
Sudhir.
Similar Messages
-
Error While Opening PDF File in SAP Inbox
Hello Experts,
I am facing a weird error in SAP Inbox while opening a PDF files (both created by custom ABAP programs as well as the one attached to a new SAP Inbox message from my desktop & sent to my Inbox as a test).
The error states that "This file does not have a program associated with it for performing this action. Please install program or, if one is already installed, create an association in the Default Programs control panel.".
I checked TCode DC30 also & found an appropriate program is already maintained for PDF.
I couldn't make out more out of this error message. Any inputs in this regard will be highly appreciable.
Regards,
ShauryaHi,
Find out the FM that's generating the actual error through de-bug and analyze the same by looking in OSS and or SDN.
Regards
Narasimhan -
Attachment in portal not getting displayed in SAP Inbox
Hi All.
While creating travel expense requests from Enterprise Portal, travelers create few attachments and then save the travel expense reports.
A workflow then gets triggered and these travel expense reports reach SAP Inboxes of the checkers [in the finance department].
The issue here is that these checkers do not have access to enterprise portal and they expect to see the attachments [that the traveler has created via the portal] via corresponding work items in their SAP Inboxes u2013 which currently is not happening!
I checked the trip transaction that got created [in the backend / in SAP] and found the u2018attachment listu2019 menu option in GOS being disabled [may be because there is not even one attachment that has come to the backend!]
What needs to be done so that the attachments can even be viewed from the backend / from SAP Inbox? Please suggest!
Br,
HariHi,
You may have to check with the stylesheet, Check if the iVIews are using portal stylesheets from portal theme. If you want to use WD style sheets, The parameter for the web dynpro to use special theme "sap.useWebDynproStyleSheet" should be "true" (configuration adapter->webdynpro->sap.com->tcwddispwda) in visual admin. If you want to set this option for particular iViews only, then from the WD iView properties, set 'Supply Portal stylesheet' property to 'No'.
Regards,
Harini S -
Hi experts,
We had an issue with portal access. I wonder if portal is venerable for security threats?
Could you please let me how to restrict the unauthorized users (anonymous user) to the portal URL.
https://HOST:50001//irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default .
Appreciate your help.
Regards
MarutiHi Maruti,
Hope you are doing good.
Can't you just amend the portal permissions so that this access is not possible.
The PCD location should be:
com.sap.portal.system/security/sap.com/NetWeaver.Portal/no_safety/com.sap.portal.navigation.portallauncher....
Hope this helps.
Thank you and have a nice day!
Kind Regards,
Hemanth -
Credit block SAP inbox message
Hello All,
This is my actual requirement:
When the sales order goes into a credit block, KRML output triggers SAP inbox message to the credit manager/credit representative as per the output records maintained.
In standard SAP, the inbox message is read as
"Order for customer XXXX blocked due to credit limit being
exceeded."
where XXXX denotes the customer number.
My requirement is to bring out sales order number, Sales order value, Ship to party name, Reason for Credit block (Like Oldest open item, dynamic check etc) etc in this SAP inbox message.
I checked KRML output mails and titles and i added the above fields as eg. &VBAK-VBELN&, &VBAK-NETWR& etc but this is not getting reflected in the SAP inbox message.
I am unable to figure out from where the standard mail message "Order for customer XXXX blocked due to credit limit being exceeded." is coming from. If the source of this message can be found, other fields can be added to it as per my requirement.
Please let me know if anyone has any idea how to achieve this.did u checked tcode NACE--->processing routines -->program + form names.
regards
Prabhu -
Reply from the notifiaction mail (from outlook) to sap Inbox
HI
I have a requirement where in I am sending a notification mail to user saying Document verification is OPEN(pending) in your name.1s he finshes that task he will reply to the same mail saying ClLOSED.
Now can we get this mail reply to SAP Inbox of the reply receiver ?
And If yes How can we process that either by subject or body content to close that activity.
(We dont want to send workitem shortcut to the user,This will make us not to involve user into SAP S\W)Hi- you could refer below thread
http://forums.sdn.sap.com/thread.jspa?threadID=2132333
vinoth -
Displaying workitem/task execution online rather than in SAP inbox
Hi All,
I am using the workflow WS01000045 when implementing the ESS scenario - Employment and Salary Verification.
The user has the option of printing or faxing these details.
When the user clicks PRINT the step 81(Print Employment and Salary Verification,Task TS01000076) creates a workitem in the user's SAP inbox.The user can print the details by executing the workitem from the SAP inbox.My requirement is to actually execute the workitem online and show the print preview screen to the user instead of going to SAPinbox(logical because all the employees in a company can't have dialog access to SAP system).
We are on SAP 4.7(WAS 620) : SAP_BASIS SAPKB62059
SAP_HR SAPKE47055
EA-HR SAPKGPHA55
ESS is implemented on EP6.0
Pls advice how to avoid the SAP inbox.
Regards,
Kiran.Hi Kiran,
We have a similar requirement. Have you found a solution to your problem?
Thanks
Renaud -
Error when reading a pdf attachment file in sap inbox
Hi all,
I have created a RFC which sends mail from an external user to my sap inbox with attachment.
the problem is with the PDF attachment where when i received the mail in my sap inbox in sbwp, it says that there is an error that it wasnt correctly decode.
I used the class cl_document_bcs...
and used the method add_attachment...
would plz help me outthis is my code
FUNCTION ZMAIL_READ.
*"*"Local Interface:
*" IMPORTING
*" VALUE(SUBJECT) TYPE SO_OBJ_DES
*" VALUE(TEXT) TYPE STRING
*" VALUE(SENDER) TYPE ADR6-SMTP_ADDR
*" VALUE(RECEIVER) TYPE ADR6-SMTP_ADDR
*" VALUE(ATTACHMENTS) TYPE Z_T_XATTACH OPTIONAL
*" EXPORTING
*" VALUE(MESSAGE) TYPE STRING
DATA: lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
lo_bcs_send_request TYPE REF TO cl_bcs,
l_send type ADR6-SMTP_ADDR ,
l_rec type ADR6-SMTP_ADDR .
data: it_text type table of soli,
wa_text type soli.
DATA: lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
DATA: lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
DATA: lv_recipient_uid TYPE uname,
lv_recipient_mail TYPE adr6-smtp_addr.
data: lo_message type ref to cx_send_req_bcs value is initial,
text_val type string.
data: it_userlist type table of BAPIUSNAME,
wa_userlist type BAPIUSNAME.
data: it_selection_range type table of BAPIUSSRGE,
wa_selection_range type BAPIUSSRGE.
data: wa_attachment TYPE ZXATTACH,
attachment_sub type SO_OBJ_DES.
DATA: xstr type xstring,
str TYPE string,
str1 type string,
it_str2 type table of soli,
wa_STR2 TYPE SOLI.
DATA: LOC_CONV TYPE REF TO CL_ABAP_CONV_IN_CE,
wa_solix type solix,
it_solix type table of solix,
wa_soli type soli,
it_soli type table of soli.
data result TYPE boolean.
data: i_ext(10) type c,
i_type type soodk-objtp.
wa_text-line = text.
append wa_text to it_text.
CLASS cl_bcs DEFINITION LOAD.
try.
lo_send_request = cl_bcs=>create_persistent( ).
catch cx_send_req_bcs.
endtry.
* Message body and subject
data: lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
try.
lo_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = it_text
i_subject = subject ).
catch cx_send_req_bcs.
catch cx_document_bcs.
catch cx_address_bcs.
endtry.
loop at attachments into wa_attachment.
attachment_sub = wa_attachment-file_name.
it_str2 = wa_attachment-attach.
loop at it_str2 into wa_str2.
str1 = wa_str2-line.
try.
CALL FUNCTION 'SSFC_BASE64_DECODE'
EXPORTING
B64DATA = str1
* B64LENG =
* B_CHECK =
IMPORTING
BINDATA = xstr
* EXCEPTIONS
* SSF_KRN_ERROR = 1
* SSF_KRN_NOOP = 2
* SSF_KRN_NOMEMORY = 3
* SSF_KRN_OPINV = 4
* SSF_KRN_INPUT_DATA_ERROR = 5
* SSF_KRN_INVALID_PAR = 6
* SSF_KRN_INVALID_PARLEN = 7
* OTHERS = 8
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
catch cx_sy_dyn_call_illegal_type.
endtry.
CALL METHOD CL_ABAP_CONV_IN_CE=>CREATE
EXPORTING
INPUT = xstr
ENCODING = 'UTF-8'
* REPLACEMENT = '?'
* IGNORE_CERR = ABAP_TRUE
RECEIVING
CONV = loc_CONV.
TRY.
CALL METHOD LOC_CONV->READ
IMPORTING
DATA = STR.
CATCH CX_SY_CONVERSION_CODEPAGE.
CATCH CX_SY_CODEPAGE_CONVERTER_INIT.
CATCH CX_PARAMETER_INVALID_TYPE.
CATCH CX_PARAMETER_INVALID_RANGE.
ENDTRY.
wa_solix-line = xstr.
append wa_solix to it_solix.
wa_soli-line = str.
append wa_soli to it_soli.
endloop.
try.
CALL FUNCTION 'SA_KW_RFC_FILENAME_EXT_GET'
EXPORTING
AREA = 'IWBSOLAR'
MIMETYPE = wa_attachment-type
IMPORTING
EXTENSION = i_ext
catch cx_sy_dyn_call_illegal_type.
endtry.
i_type = i_ext.
if i_ext <> 'pdf'.
try.
lo_document->add_attachment(
EXPORTING
i_attachment_type = i_type
i_attachment_subject = attachment_sub
i_att_content_hex = it_solix ).
CATCH cx_document_bcs.
endtry.
clear wa_solix.
refresh it_solix.
else.
TRY.
CALL METHOD LO_DOCUMENT->ADD_ATTACHMENT
EXPORTING
I_ATTACHMENT_TYPE = i_type
I_ATTACHMENT_SUBJECT = attachment_sub
* I_ATTACHMENT_SIZE =
* I_ATTACHMENT_LANGUAGE = SPACE
I_ATT_CONTENT_TEXT = it_soli
* I_ATT_CONTENT_HEX =
* I_ATTACHMENT_HEADER =
CATCH CX_DOCUMENT_BCS .
ENDTRY.
ENDIF.
endloop.
try.
lo_send_request->set_document( lo_document ).
CATCH cx_send_req_bcs.
endtry.
wa_selection_range-PARAMETER = 'address'.
wa_selection_range-field = 'e_mail'.
wa_selection_range-sign = 'I'.
wa_selection_range-option = 'EQ'.
wa_selection_range-low = receiver.
append wa_selection_range to it_selection_range.
try.
CALL FUNCTION 'BAPI_USER_GETLIST'
* EXPORTING
* MAX_ROWS = 0
* WITH_USERNAME = ' '
* IMPORTING
* ROWS =
TABLES
SELECTION_RANGE = it_selection_range
* SELECTION_EXP =
USERLIST = it_userlist
* RETURN =
catch cx_sy_dyn_call_illegal_type.
endtry.
read table it_userlist into wa_userlist index 1.
try.
lo_sender = cl_cam_address_bcs=>create_internet_address( sender ).
lo_send_request->set_sender(
EXPORTING
i_sender = lo_sender ).
catch cx_send_req_bcs.
catch cx_document_bcs.
catch cx_address_bcs.
return.
endtry.
try.
lo_recipient = cl_sapuser_bcs=>create( wa_userlist-USERNAME ).
lo_send_request->add_recipient(
EXPORTING
i_recipient = lo_recipient ).
* i_express = 'X' ).
catch cx_send_req_bcs.
catch cx_document_bcs.
catch cx_address_bcs.
endtry.
try.
** Send email
LO_SEND_REQUEST->SET_SEND_IMMEDIATELY( 'X' ).
lo_send_request->send( EXPORTING
i_with_error_screen = ' '
RECEIVING
result = result ).
COMMIT WORK.
CATCH CX_DOCUMENT_BCS.
CATCH CX_SEND_REQ_BCS INTO lo_message.
CATCH CX_ADDRESS_BCS.
text_val = lo_message->IF_MESSAGE~GET_TEXT( ).
endtry.
if result = 'X'.
message = 'E-Mail sent'.
else.
message = 'E-Mail not sent'.
endif.
ENDFUNCTION. -
The work item not coming in SAP inbox ....
Hi experts,
I am doing PR realese workflow.It is moved to quality server from development. In quality it is activated and showing no error.When a PR is created mail is send to approver and the workflow is waiting for his approval. But the work item is not available in his SAP inbox. Even he is getting the remainder mails.But the work item is not available in his business workplace(SBWP).I cross checked user ids of approvers. But still its not working ....the mails are sent to approvers external mail ID.....
Is there any configurations to make for making the SBWP active ?????
Pls anyone give me a solution for this problem...
Thanks & regards,
JayarajHello,
The best solution would be to take your mouse, move your cusror to the top part of your screen, and click on the "Before you ask (here are many workflow answers)" thread. If you've tried everything that is proposed there then please reply to this thread explaing what you have tried.
Cheers,
P. -
Hi Experts,
I have a requirement of adding a custom field in SAP Inbox.
Ex: If an Invoice Wrok flow is triggered..the Invoice number number will be generated and it will be shown in the Title column.
Now I have a requiremnt of adding a two Custom field as 'Supplier Name' and 'Document number'.
1. Is it possible to add the custom field in SAP Inbox?? if Yes can you guys let me know the procedure?? Also if I add a custom field Can that be controlled for specific work flow?
2. Also I have seen the field Dynamic Columns in in the layout, Can I use that filed to populated the Supplier name and document number?? is Yes how to proceed further?? ( Does the efforts vary for Standard workflow and Custom Work flow??
Your <removed by moderator> response is higly appriciated.
Cheers,
Sriram.
Edited by: Thomas Zloch on Jul 4, 2011 4:18 PMHi Krishna,
To solve your issue, you need to know the linkage between the WF and event.
You can go to t-code SWE2 to find the event linkage between Workflow & Business Object event.
You can also open t-code PFTC, select the task type as Worflow Template and give the TASK / WF number without prefix WS, then go to EVENT tab to know the event.
Regards
Saumya -
Issue in sending mail to SAP Inbox from Workflow
Hi All,
I need to send the mail to the creator of the document about the user decision. If i am executing the workflow through the event ( ouput type) , the workflow processing in SWIA is complete but the mail is not sent in the SAP Inbox. But If i try to manually execute the workflow, mail is sent to the SAP Inbox.
I've used WF_INITIAITOR in the Expression. I need to send the mail not to the approver but to the creator of the workflow.
Thanks,
NehaHi,
the event is also triggered from my Id but in that case I do not recieve any e-mail. None of the users recieve the e-mail in the SAP Inbox for the mail step after the decision.
In workflow Log the last step shows the details as
name of the manager and the workflow background for mail sent step as shown below
Sumit Vij Background work item created 10.01.2012 12:08:43
Sumit Vij Execution started automatically 10.01.2012 12:08:43
Workflow Hintergrund Work item processing complete 10.01.2012 12:08:44
Thanks -
How can I get SAP INBOX emails in to PORTAL UWL?
Hi One & All,
In the process of leave request we have two level approval. we configured two level approval and it is working fine. We also put send email when any action taken by approving manager.
For example If first level manager approves the leave then a mail notification has to be sent to employee who applied for that leave. the notification is like "First level manager approves your leave and it is sent for second level approval".
That message is cumming in SAP INBOX but it is not cumming in to UWL. How can I get this, help me in this.
Thanks & regards,
Ksanj.If you had followed the substitution method then check the following:
- Transaction Code RMPS_SET_SUBSTITUTE updates/inserts values into table HRUS_D2 which drives substitution
- Substitution Profile used for Absences or check with "ALL" profile.
- In view structure of HRUS_D2
Active substitute will receive tasks right away
Passive substitute on Universal Worklist need to specify View tasks on behalf of the manager
Hope this helps you resolve the issue. -
How to download adobe form in sap inbox and process it
Hello experts,
I have a query like how we can download the adobe forms in sap inbox and process process the forms using some program which will convert form data in to XML.
thanks in advance.Hello Samad arif,
May be you can reuse the code that placed in this document to covert the PDF form to XML format.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf80665d
Thanks,
Bharath.K -
Sap inbox, shared folders docs should not be deleted except by author
Dear All
I have put some User trainig manuals in SAP inbox Shared folders and I kept the attribute as 'changeable by author'. But, Users can able to delete these files or documents. Is it possible to make that deletion is also only allowed by Author?
Also, is it possible to track who deleted these documents?
Thanks
Edited by: srini v on Aug 6, 2009 12:54 PMhi,
1. yes u can control delet original through defining Authorization objects for respective user. refer DMS authrization objects
u can use this object and set activities. like create only, delet only. etc in 'C_DRAW_TCS ' This object controls which users can process which document info records, based on a combination of activity, document type, and status.
2. Also check tc --STAT, ask bassis regarding monitoring of user activities.
Benakaraj
??P -
Hi
I need to send the mail from the SAP Inbox (i.e. from Tcode SO01) to my personal mail account.
In Tcode SO01, I am creating a new message and under recipient I am providing my mail ID (for eg [email protected]), and I am selecting Recp. Type as Internet Mail.
I am checking the status in SOST, It is showing error messge 806 and 817.
So How to proceed future and is there any thing else to configure in my system.
If so, Please send me the relavant document which explains the step to step solution.
U can reach me at [email protected] or [email protected]
Thanks and Regards
Vijay Kumar VarmaHi Amit
As you told that some configuration should be wrong in SCOT. In my company, I need to take care of basis job also. So can u please help me out what should be configured in SCOT.
If any suitable document from yourside will be a great help for me.
Thanks and Regards
Vijay Kumar Varma
Maybe you are looking for
-
How to edit favorite bar in ipad?
I hate this new thing after I updated to iOS 7.0.2 when every new Safari tab will open with favorites. I want the new tab to open to Bing but i dont know how to change that. Anyone can help?
-
Incopy crashed during editors save in Word on PC
I am the reporter here, let me know if I have left out any pertinent details...The editor has input all of the corrections into the Incopy file [created from Indesign 5.5 (v7.5.1)] on her PC in Word. During the save the file crashed. When she reopene
-
Consume a Web Service: No receiver could be determined
Hello, I have a successful running Web Service on a JAVA stack. Now I want to consume this web service within the ABAP Stack. For this purpose I generated the appropriate proxy object from the WSDL. However, while running my ABAP test program I am re
-
How do you 'configure' a Workshop application? The normal way to do this in J2EE is to add environment entries in web.xml, ejb-jar.xml or even application.xml. In Workshop there is only web.xml. And when deploying as an EAR file, it gets packaged in
-
Font size,preditive text.
Can anyone tell me how to increase the font size and disable predictive text on a lumia 710,cant see anything in the instructions.