How to check the authorization based on webdynpro application
Hi Experts,
I was asked to develop a webdynpro component with two webdynpro applications, one each for internal party and external party to be used.
So how to restrict or check the authorization based on webdynpro application used?
Do we have any authorization object like S_TCODE for webdynpro application in roles and authorizations?
Please enlighten me.
Regards,
Ajay Matam
You can assign an authorization object to the Web Dynpro Application within SICF -
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/61/d93822a88e15489a9391f309767366/frameset.htm
Of course you could also programatically check which web dynpro application is being used from within the component and then call a custom auth-check. However maintain at the SICF is probably better for visibilty and long term maintenance costs.
Similar Messages
-
How to extract the code of standard webdynpro application
Hi,
We are on ECC5.0, ERP2004 ESS/MSS ,EP6
Can someone tell me, How can we get the code of a standard webdynpro application into NWDS.
( I am familiar that, to modify the standard ESS applications, we need to use JDI.)
is it compulsory that , unless and until i have JDI i can't see that code , no other way?
Regards,
NRHi Sharadha,
after installing the JDI, what are the steps that needs to be done to get the code of standard Webdynpro application, lets say <b>sap.com/essinfam</b>.
Can u post some links where I can get the step-by-step process of calling a Standard Webdynpro ESS application into my NWDS?
Regards,
NR -
How to set portal authorization in ABAP Webdynpro application
Hi All,
Do you have an idea how to set the visibility for Group UI element based on the Portal user authorization in ABAP Webdynpro , for example if the portal user A(or group A), logins into the portal on click of the ABAP Webdynpro IView then we need to set invisible (hide) the Group UI element in webdynpro ABAP Application.
Do you have any sample code on the same to handle the portal authorization in Webdynpro ABAP?? , please let me know if couldnu2019t understand this requirement or my explanation
Thanks,
PortalUser100Hi Kris,
Thanks for your reply.
Like however we passed the UserID, can we pass Group ID also to the ABAP Webdynpro application??
Can u get me other things, how to copy of the existing component and i want to give the new name for the component and there i need to modify, i dont want to disturb original component before copy...let me know the procedure for the same??
Regards,
PortalUser100 -
How to populate the GR based Invoice Flag in PO.
Hi,
How to check the GR based Invoice flag for a purchase order.One solution we think of is flagging the G.R IV flag at vendor master level in xk03 (Purchasing data view ).Are there any SPRO level configurations to attain the same.
Thanks.
Rakesh.Hi,
Look into
SPRO->MM->Inventory Mgmt->Good receipt->For GR-Based IV
Refer:
Re: CAN GR/GI BE REVERSED EVEN THOUGH DEBIT NOTE IS RAISED -
How can i check the authorizations for a query in sap bw 3.1c
Hi,
While running one query i am getting warning message is : you do not have authorization to read object ZVERSION and few column results also not displaying.
I would like to check is there any authorization check for this query and could you explain how we use the authorizations in our BW.
Thanks in advance....if you execute su53, the authorization check failed cannot be displayed for reports. because you are executing query in BEx is it?
for this you can trace the userid that executing query to check the authorization check failed. Go to st01 and find out the authorization check failed there.
And you can find in RSRT too. i am not sure that.
One more option is there to check the authorization with help of matrix that you prepared for assigning access/authorization to the users.
Hope this would help you. -
I downloaded an album but some of the songs won't play - says my computer isn't authorized to play the song. I checked the authorization, and this computer is authorized. How do I fix this?
If just some of the tracks on the album are doing that, that suggests those tracks are damaged.
If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Otherwise, I'd report the problem to the iTunes Store.
Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items. -
How to check the current EHP stack level? in SAP
Dear All,
How to check the current EHP stack level? in SAP . i have checked forum before i am posting but still comfused .
same one said SAP_APPL , EA_Appl and SAP _HR is 60n if n=1.2.3.4. if n =1 is enhanced package 1 similarly 2,3,4 .
some one said SAP_BASIS 701,702,703,704 . according ehp1,2,3,4.
Pls check the details and confirm either is ehp1 or ehp4 .
Component version is simply shows SAP ECC 6.0 in system -> status.
Software Component - Release - SP level
SAP_ABA 701 0007
SAP_BASIS 701 0007
PI_BASIS 701 0007
ST-PI 2008_1_700 0003
SAP_BS_FND 701 0008
SAP_BW 701 0007
SAP_AP 700 0021
WEBCUIF 700 0008
SAP_APPL 604 0008
SAP_HR 604 0029
SAP_HRCAR 604 0029
SAP_HRCAT 604 0029
SAP_HRCAU 604 0029
SAP_HRCBE 604 0029
SAP_HRCBR 604 0029
SAP_HRCCA 604 0029
SAP_HRCCH 604 0029
SAP_HRCCL 604 0029
SAP_HRCCN 604 0029
SAP_HRCDE 604 0029
SAP_HRCDK 604 0029
SAP_HRCES 604 0029
SAP_HRCFI 604 0029
SAP_HRCFR 604 0029
SAP_HRCGB 604 0031
SAP_HRCHK 604 0029
SAP_HRCID 604 0029
SAP_HRCIE 604 0029
SAP_HRCIN 604 0029
SAP_HRCIT 604 0029
SAP_HRCJP 604 0029
SAP_HRCKR 604 0029
SAP_HRCMX 604 0029
SAP_HRCMY 604 0029
SAP_HRCNL 604 0029
SAP_HRCNO 604 0029
SAP_HRCNZ 604 0029
SAP_HRCPH 604 0029
SAP_HRCPT 604 0029
SAP_HRCRU 604 0029
SAP_HRCSE 604 0029
SAP_HRCSG 604 0029
SAP_HRCTH 604 0029
SAP_HRCTW 604 0029
SAP_HRCUN 604 0029
SAP_HRCUS 604 0029
SAP_HRCVE 604 0029
SAP_HRCZA 604 0029
SAP_HRGXX 604 0029
SAP_HRRXX 604 0029
EA-IPPE 400 0018
EA-APPL 604 0008
EA-DFPS 600 0018
EA-FINSERV 604 0007
EA-GLTRADE 604 0008
EA-HR 604 0029
EA-HRCAR 604 0029
EA-HRCAT 604 0029
EA-HRCAU 604 0029
EA-HRCBE 604 0029
EA-HRCBR 604 0029
EA-HRCCA 604 0029
EA-HRCCH 604 0029
EA-HRCCN 604 0029
EA-HRCDE 604 0029
EA-HRCDK 604 0029
EA-HRCES 604 0029
EA-HRCFI 604 0029
EA-HRCFR 604 0029
EA-HRCGB 604 0029
EA-HRCHK 604 0029
EA-HRCID 604 0029
EA-HRCIE 604 0029
EA-HRCIN 604 0029
EA-HRCIT 604 0029
EA-HRCJP 604 0029
EA-HRCKR 604 0029
EA-HRCMX 604 0029
EA-HRCMY 604 0029
EA-HRCNL 604 0029
EA-HRCNO 604 0029
EA-HRCNZ 604 0029
EA-HRCPH 604 0029
EA-HRCPT 604 0029
EA-HRCRU 604 0029
EA-HRCSE 604 0029
EA-HRCSG 604 0029
EA-HRCTH 604 0029
EA-HRCTW 604 0029
EA-HRCUN 604 0029
EA-HRCUS 604 0029
EA-HRCVE 604 0029
EA-HRCZA 604 0029
EA-HRGXX 604 0029
EA-HRRXX 604 0029
EA-PS 604 0007
EA-RETAIL 604 0007
FINBASIS 604 0008
ECC-DIMP 600 0018
ERECRUIT 604 0008
FI-CA 604 0008
FI-CAX 604 0007
INSURANCE 600 0018
IS-CWM 600 0018
IS-H 600 0024
IS-M 600 0018
IS-OIL 600 0018
IS-PS-CA 604 0007
IS-UT 600 0018
LSOFE 600 0018
SEM-BW 604 0008
ST-A/PI 01M_ECC600 0001
Regards
Edited by: satheesh0812 on Nov 17, 2011 7:57 AMHi Sateesh,
SAP_ABA 701 0007
SAP_BASIS 701 0007
PI_BASIS 701 0007
ST-PI 2008_1_700 0003
SAP_BS_FND 701 0008
SAP_BW 701 0007
SAP_AP 700 0021
WEBCUIF 700 0008
SAP_APPL 604 0008
Based on the component information provided by you, I can conclude that your system is ECC 6.0 EHP4.
EHP4 is derived from your component SAP_APPL 604.
In addition to this your EHP4 system has NW stack on NW 7.0 EHP1.
Hence your system is ECC 6.0 EHP4 with NW 7.0 EHP1.
Hope this answers your query.
Regards,
Deepak Kori -
How to check the material consumption using tables
Hi,
I would like to know how to generate or view the material consumption at table level. Can anyone please specify the transactions codes and tables names how to check the consumption of material. I also like to know how to analysis the consumption of material between components and finished material. Please provide me the step by step wise how to do.Thanking you
Regards,
Sivaji Kumar Madhu KiranYou can calculate material consumption in table MSEG. you will need to segregate the material documents based on movement types and then add or reduce the quantities of each material document. for example a material document with movement 101, add the quantity for the material, and when there is a issue material document like 201 or 221 reduce the quantity from the material stock.
-
Authorizations in CRM 2007 - How to check missing authorization objects?
Hi,
In our project we are currently busy with the set up of authorizations.
I did create the necessary PFCG and Business roles.
For the PFCG roles, I did create all of them by copy of the standard SAP_CRM_UIU_FRAMEWORK so that the user can access to the web layout.
Now I need to give authorizations for other CRM objects, my question is: How can I see which objects are missing to displaying or creating activities in the new WEB Layout?
In the old days we used the SU53 to check the authorization objects that were missing, how can we do it now in this new release? I tried it and didn't worked out.
Thx
Regards
HugoHi,
For report CRMD_UI_ROLE_PREPARE you have to input a business role - not a PFCG role. Are you doing that?
Are you getting no results at all in ST01 or are all results just with return code 0?
You have to remember to set a filter for your user in ST01 before activating the trace. Another thing to check is if you are using several application servers. I would imagine the trace has to be activated on the same application server as the Web UI. You can change the application sever in SM51.
/Anders -
Which routine checks the authorization in ME21N
My user was set with M_BEST_BSART. However, even though it prompt to User no authorization for the selected PO document type, it allow User to continue the entry.
The end result was a PO created but the User cannot delete it because it had no authorization for hprithe document type.
I had tried to find the routine that checks the authorization of the po document type but i still cannot find it.
Can someone me to identify the routine that checked it?
Thanks
ByeI have not done that before.
How do I do it? -
How to get the complete data from Webdynpro using a RFC
hi guys,
A form is created in the webdynpro, when that pdf form is called the user have to provide the key field ie the employee number in the form and then when he press the 'go' button a rfc is called and it gives all the details of the employee in the form. Then the user have to input some fields in the form and he have press the submit button. My problem is here, when the user is going to press the submit button that form will be converted to a stream (binary) of data and it is sent to one of the import parameter used in the RFC.
I have created a RFC and created a import parameter of data type XSTRING, since i want to see what exactly R3 is receiving from web dynpro i am writing this contant in the sever as a text file. When i saw that text file i cant see the complete data.
And when i searched in R3 the capacity of xstring is 1024 CHAR, so i dont know how to capture the entire data from webdynpro into my R3.
I give the code what i worte please tell me am i missing anything in my code, or is there any data type which can hold more than 500kb of data which is coming from webdynpro.
FUNCTION ZSEND_MAIL_ATTACHMENT.
""Local Interface:
*" IMPORTING
*" VALUE(OUT_PLACE_LEVEL) TYPE XSTRING OPTIONAL
*" VALUE(BIN_DATA) TYPE INDX_CLUST OPTIONAL
*" TABLES
*" IT_MESSAGE STRUCTURE SOLISTI1
Data Declaration
DATA: gd_cnt TYPE i,
gd_sent_all(1) TYPE c,
gd_error TYPE sy-subrc,
tab_lines LIKE sy-tabix.
Structure Declaration
DATA : BEGIN OF it_file OCCURS 0,
row(255),
END OF it_file.
DATA : BEGIN OF i_split OCCURS 0,
row(50),
END OF i_split.
Internal Table Declaration
data : it_receivers like table of SOMLRECI1 with header line."occurs 0.
DATA : objbin LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE. "sOLIX
DATA : it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
data : wa_receiver like table of SOMLRECI1 with header line.
data : it_receiver like table of SOMLRECI1 with header line.
data : v_bin_data like SOLISTI1 occurs 0 with header line.
DATA : gd_doc_data LIKE sodocchgi1 OCCURS 0 WITH HEADER LINE.
*data bin_data1 like table of solix with header line.
REFRESH : objbin, it_packing_list, it_receivers, wa_receiver.
CLEAR : objbin, it_packing_list, wa_receiver, it_receivers.
DATA V_SUBJECT(255) VALUE 'HI'.
gd_doc_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( it_message ).
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SENDFILE'.
gd_doc_data-obj_descr = v_subject.
gd_doc_data-sensitivty = 'O'.
APPEND GD_DOC_DATA.
Appending The Internal Table it_packing_list
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
it_packing_list-doc_type = 'RAW'.
it_packing_list-body_num = tab_lines.
APPEND it_packing_list.
*CALL FUNCTION 'GUI_UPLOAD'
*EXPORTING
*filename = V_FILE_PATH
*filetype = 'BIN'
*TABLES
*data_tab = BIN_DATA.
move bin_data to v_bin_data.
append v_bin_data.
*move soli to bin_data.
LOOP AT V_BIN_DATA into objbin.
MOVE v_bin_data TO objbin-line.
APPEND objbin.
ENDLOOP.
CLEAR it_packing_list.
DESCRIBE TABLE objbin LINES tab_lines.
it_packing_list-transf_bin = 'X'.
it_packing_list-head_start = 1.
it_packing_list-head_num = 1.
it_packing_list-body_start = 1.
it_packing_list-doc_type = 'PDF'.
it_packing_list-body_num = tab_lines.
it_packing_list-doc_size = tab_lines * 255.
APPEND it_packing_list.
data file(255) value '/tmp/bali.txt'.
*Appending The Internal Table it_receivers
close dataset '/tmp/bali.txt'.
open dataset '/tmp/bali.txt' for output in text mode encoding default.
if sy-subrc = 0.
loop at objbin.
transfer objbin to '/tmp/bali.txt'.
endloop.
else.
write 'hi'.
close dataset '/tmp/bali.txt'.
endif.
it_receiver-receiver = '[email protected]'.
it_receiver-rec_type = 'U'.
it_receiver-com_type = 'INT'.
APPEND wa_receiver.
move wa_receiver[] to it_receiver[].
append it_receiver.
*Move wa_receiver[] to it_receivers[].
Clear it_receivers.
if i_OUT_PLACE_LEVEL NE 0.
loop at it_receivers into wa_receiver.
loop at it_receivers into wa_receiver.
**Function Module To Post The Message To Externa Mail
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = gd_doc_data
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = it_packing_list
CONTENTS_TXT = objbin
receivers = it_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
clear wa_receiver.
ENDFUNCTION.You have to convert your long string to a table of shorter strings.
There may be other ways, but one possibility is to use a loop to process you string.
while (there is something left)
put the next e.g. 1024 characters in a new row of your table
endwhile
If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right -
CIN: How to check the material document posted without excise invoice
Hi Guru,
Please advise how to check the material document posted without excise invoice.
I have tried tcode J1I7 but it seems start to collect the excise invoice first and then material document.
But my case is to find the material document WITHOUT excise invoice for internal tracking purpose.
At the moment we start from tcode MB51 to get the list of material document and check in J_1IEXCHDR / J_1IEXCDTL
Best regards,
PakornHi,
Try creating a Query in Tcode SQVI by combining tables MKPF and J_1IEXCHDR/J_1IEXCDTL for your requirement.
Check these threads how to create Query.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6018c1ae-8c44-2d10-6ea9-c3fad2c82880?QuickLink=index&…
http://ptgmedia.pearsoncmg.com/images/9780672329029/samplechapter/0672329026_CH03.pdf
Regards
Binoy -
How to check the messages in solution manager?
hai experts !
how to check the messages in solution manager?
in which transaction do we see them?Hi Kiran,
From what I gather from your brief question, you are perhaps looking for CRM_DNO_MONITOR that would display all queries created from Satellite/SolMan system itself, as support messages.
If you are looking for Notifications underlying those messages, please look for DNOTIFWL.
For more specific answers, please provide more description of what you are looking for.
Trust this helps.
Regards,
Srini -
How to check the verity version in our PeopleSoft Installation?
How to check the verity version in our PeopleSoft Installation? I am not sure if the verity is installed or not and also if installed what is the version?
yes. it says the version is 5.0.1
Is there any difference in installation or configuration when the app and web server are in same machine and when the app and web server are installed in different servers?
============================================
D:\fs840\webserv\peoplesoft>mkvdk
mkvdk - Verity, Inc. Version 5.0.1 (_nti40, Jul 23 2004)
Usage: mkvdk [<option>...] <filespec>...
Where <option> can be a VDK switch, or any of:
-about Show the collection's about resources
-autodel Delete bulk insert file when no longer needed
-backup <dir> Specify collection backup location
-bulk Submit bulk insert file(s)
-charmap <name> Specify the character map to VDK
-collection <path> Specify the collection (required)
-create Create the collection
-credentials <user> Specify user[:passwd][:domain][:mailbox]
-datapath <path> Specify VDK datapath
-datefmt <fmt> Specify date format to VDK
-debug Enable debugging output
-delete Delete documents
-description <desc> Set the collection's description
-diskcache <num> Set VDK's disk cache size (kbytes)
-extract Extract field values from text
-help Print this usage information
-insert Insert documents (default)
-locale <locale> Specify the locale to VDK
-logfile <file> Save output in a log file
-loglevel <num> Set the VDK output level for the log
-mailboxes This option is depracated. Use the credentials option inste
ad
-maxfiles <num> Set VDK's maximum number of open files
-maxmemory <num> Set VDK's maximum memory usage (kbytes)
-mode <mode> Set the indexing mode
-modify Modify fields using field/value pairs from a bulkfile
-nohousekeep Disable housekeeping
-noindex Disable indexing
-nolock Turns off locking (dangerous)
-nooptimize Disable optimizations
-nosave Don't save collection work list
-noservice Prevents servicing of submitted work
-nosubmit Don't submit work to VDK
-numdocs <num> Number of documents to insert from bulk insert file(s)
-numpages <num> Synonym for diskcache for backward compatibility
-offset <num> Specify offset into bulk insert file(s)
-online Flag for online Bulk Modify
-optimize <spec> Optimize the collection
-outlevel <num> Set the VDK output level
-persist Service the collection forever
-purge Remove all documents from collection
-purgeback Purge in the background
-purgewait <secs> Specify delay before purge
-quiet Suppress all non-error messages
-repair Repair the collection
-servlev <spec> Advanced option for overriding service level
-sleeptime <secs> Interval between service calls for persist
-style <dir> Specify style directory for create
-submit Synonym for noservice for backward compatibility
-synch Perform work synchronously
-topicset <path> Specify VDK topic set
-update Update documents
-vdkhome <path> Specify VDK home
-verbose Output more information
-words Build word assist list
-wordindex Build word assist index
The <spec> for -optimize is a hyphenated string of:
maxmerge Perform maximal merging of partitions
squeeze Recover space from deleted documents
vdbopt Build optimized VDB's
spanword Create word list spanning all partitions
ngramindex Create ngram index into spanning word list
maxclean Really clean (not for read-write)
readonly Make the collection read-only
tuneup Fully optimize for read-write use
publish Fully optimize for read-only use
The <spec> for -servlev is a hyphenated string of:
search Enable search and retrieval
insert Enable adding and updating documents
optimize Enable opportunistic collection optimization
assist Enable building of word list
housekeep Enable housekeeping of unneeded files
delete Enable document deletion
backup Enable backup
purge Enable background purging
repair Enable collection repair
dataprep Same as search-index-optimize-assist-housekeep
index Same as insert-delete
Error: must specify collection
mkvdk done
D:\fs840\webserv\peoplesoft> -
Can anyone tell me how to check the balance on an iTunes gift card that is not yet scratched?
Can anyone tell me how to check the balance on an iTunes gift card that is not yet scratched or activated?
If it's not printed on the card, then you'll need to check the receipt from the purchase of the card. There's no way to check the value from the card itself without redeeming it.
Regards.
Maybe you are looking for
-
Hello, I want to use a UIData component in a JSP JSF page but the current rendering (datatable) does not match what I need. For each record, I need to display 2 lines and not a single one. Using h:column, I don't find how to make it possible. What I
-
Greetings, I have recently configured a Leopard 10.5.1 Mail Server, which is a new platform for me. I have finally gotten all mail services to work and am finishing up the installation. I have a client that uses a crackberry who wants his email both
-
SYSDATE should be assigned to FIXED DATE
Hi Experts, SYSDATE on my database should not be changed daily. i need to assign one fixed date to it. Please let me know which parameter i need to set in init.ora file to make this change.
-
TranslateToAbsolutePath nullPointerException
Hi I've develop a jsp aplication in jdeveloper 3.2.3 that use the include tag to put a header and a footer. When i put jsp in ias9i i've this error java.lang.NullPointerException at oracle.jsp.provider.JspFilesystemResource.translateToAbsolutePath(Js
-
This page works GREAT on OPERA 8, but I can't see it on SAFARI 2... C'mon Apple developers, where is the Safari update?? Will we wait until "Leopard" ??? http://www.kylie.com/