How to Project Code wise Authorization.
Hi,
i want to give project code wise authorizations to users. in
authorization we can give only total project code
Full/Readonly/No Authorizations. A user only he want to see
Project Code Hyd. remaining project code he want see in all
the documents. for documnet numbering we have option
Grouping like this is there any option to prevent projec code to
users.
reds,
samapth.
It is possible to do through SDK. although on a rather large scale. You need to establish an UDO idientify the userid with multiple project code, or project code with mulitple user ID. Then all the project code drop down inside SBO will need to be replaced by SDK to show only the project associated with current log in user id. To make it more complete, you need to establish error message in the SP_transactionnofication to hold the document if project code used (as they can still manually type in) is not usable by them!
Similar Messages
-
dear expert all
parameter from date to to date , project code
one of my client requriment i have need project code wise aging report .
send me the query.Hi Zal....
Very Good Afternoon.........
The question was simple. Sinha was simply asking about the Project code wise aging report. If I'm not wrong then for every marketing document level, on header level as well as on row level the project code field is there with the help of which we can categorise the transactions. So if sinha is doing billing as per the project code then he can get the project code wise aging report.
Even you can get the project code wise trial balance sheet also............
Regards,
Rahul -
Project Profile wise Authorization
Hi All,
Can u pls let me know whether it is possible set any Athorisation to the Project file so as to retrict the Other users to make any changes in the the Project.
eg . The Person resposible will only able to make changes and other will only hav the display Authorisation
Thanks in Advance
HemantHI,
1. You can do it possible thru' person responsible so pls sit with your basis team and put person responsible no. under C_PROJ_VNR Auth_object.
In this you have to authorize the person responsible user for this transaction.
2. You can make a validation to do this.
Prerequisite :- Proj. Profile = ?
Check :- Person responsible.=?
Hope it will give u help.
Regards,
Vishal Kr. Sharma
Edited by: vishal sharma on Oct 8, 2008 10:58 AM -
HI,
I Designed Project Code wise Reports in T.B. here i want give
authorizations for users. user1 he want to generate only
project code 1. here iam using paramets for Project code.
what i am choosing in this parameters it's retriving.but i wat to
give authorization to users to generate only this project code
only.
in Authorzation we have tha option Full autorization and
None.and one more Additional Authorization Creator in this we
have the option Full/Read/None
Full/None.
How we can give autorization for users to generate only this
Project code only. plz guide me.
Regds,
samapth.
Edited by: Philip Eller on Jul 2, 2008 11:49 AM
Edited by: Rui Pereira on Jul 9, 2008 5:06 PM
Edited by: Rui Pereira on Aug 8, 2008 1:53 PMYou can make (a) restricted query(ies) and authorize User1 only to use this query.
-
Hi gurus,
I am new in BASIS. I need to know the procedure how to create module wise authorization. Like for an SD consultant user , he have only SD related authorization. Can anybody tell me.
SheikhHi,
You can create role as per your requirement using PFCG transaction.
Go to PFCG
Give role name
Click on create
Go to Auth tab
Click on Change Authorization Data
It will popup for template, do not select any template.
Click on Selection criteria.
Here you can select auth related to SD.
Also you can make copy of standard roles provided by SAP as mentioned earlier.
Regards,
Abhay -
How to Make Project Code as Mandatory
Hi ! I Need Project code as mandatory in Po's and Sales Order in Row Level. How to Make that one. Also i have a issue with approved PO's. If some PO got approved is there any option to make amendment and resend for again approval.
Thanks and Regards
KamalHi Kamal.......
Try this below SP for making project Code Mandatory........
For Sales Order:
If @object_type='17' and @transaction_type='A'
BEGIN
If Exists (Select T0.DocEntry from ORDR T0 Inner Join RDR1 T1
On T0.DocEntry=T1.DocEntry
Where T1.Project Is Null
And T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
Select @error = -1,
@error_message = 'Please select Project'
End
End
For Purchase Order:
If @object_type='22' and @transaction_type='A'
BEGIN
If Exists (Select T0.DocEntry from OPOR T0 Inner Join POR1 T1
On T0.DocEntry=T1.DocEntry
Where T1.Project Is Null
And T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
Select @error = -1,
@error_message = 'Please select Project'
End
End
If your PO is approved and you want to ammend it then your approver has to reject the PO first and it will come to you and then make edition and send it again......
Regards,
Rahul -
How can i use the project code instead of project xml?
hello
i use the sessionbean+toplink structure,after i finish the o-r mapping by using the mapping work bench,i generate the project xml file,then in the "session.xml" file,i refer to the project xml,then i can use it from sessionbean.
i hear that if i use the project code instead of project xml file,it will be more performant,is that true?
otherwise,how can i use the project code instead of project xml file?i mean, in "session.xml", i can use the "<project-xml>" tag to refer to the project xml file,then in my session bean,i get the server session by read the "session.xml" file.but if i use the project code,how can i refer it from the "session.xml"?the examples that come with the toplink installation only tell me how can i use the project xml file within the session bean,it don't give me any clue about using the project code in the sesion bean,who can give me a step-by-step instruction and code snippet?
thank you very much?There is a slight performance gain during session load at startup but there is no difference at runtime. The choice of which to use is dependent upon you build process. Whether it is easier to submit a new version of the class into the comile build process vs an XML file. In most cases it is just a preference of the development team.
When you use the project-class you'll need to generate the source code and compile it into your system. Typically it is packaged with the persistent classes. You may need to configure your environment so that the class-loaders have access to these classes (same for the XML case).
When using the project-class you simply replace the project-xml entry like this:
<project-class>oracle.toplink.demos.employee.relational.EmployeeProject</project-class>
The DTD for the session.xml file is found at <TOPLINK_HOME>\core\sessions_4_5.dtd. It is also in the documentation at:
http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/toplink.903/b10064/a-sessio.htm#634246
Doug Clarke
Product Manager
Oracle9iAS TopLink -
Authorization based on project code
Hi All
Can we base our authorizations on the basis of project code. Can a user be authorize for a project so that user cant see orher project's information.
Thanx in advanceUnfortunately this is not a case in SB1. You have to find a workaround, like queries, on authorizations or use documents ownership or develop something.
-
How to transport wdj project code from one server to other server?
Hi, experts,
I development 100 wdj component and deployed them to development server(A_development_server).
I have download sca file of my WDJ project from A_development_server.
I have config the SLD and Track in the other development server(B_development_server).
I don't know how to transport the project code from A_development_server to B_development_server for download the project code ?
Do you give me some hint?
Best regards,
tao
Edited by: wang tao on Mar 12, 2010 4:41 AMHi Wang,
You can directly deploy project from A_development_server to B_development_server. For that you need to Define Runtime details under RUNTIME tab in landscape configurator for B_development_server in CMS. To access CMS, go through http://host:port/devinf
Automated Deployment into Multiple Production Systems
http://help.sap.com/erp2005_ehp_04/helpdata/EN/44/355093ba830a67e10000000a422035/frameset.htm
Getting Started with the Development Infrastructure
http://help.sap.com/erp2005_ehp_04/helpdata/EN/44/0d18d725301a78e10000000a1553f6/content.htm
Hopt it helps
Regards,
Arun -
Project code based Sales Order and Purchase Order - Item wise Report
Dear all,
Scenario:
We are doing business based on Projects. So, for every Sales , Project code is created and Sales order is booked with Project code and subsequently Purchase Order is booked with Project code. (Note:Some cases, few items might not be purchased since stock is available.)
We want report like
SO Project code
SO Posting date
SO Sales Employee
SO Customer Name
SO Item code
SO Quantity
SO Unit price
SO Row Total
PO Project code
PO Posting date
PO Sales Employee
PO Customer Name
PO Item code
PO Quantity
PO Unit price
PO Row Total
*SO line item and PO line item for same project should be parallel , that is important and challenge (certain cases, item in SO might not be in PO, for such cases Blank field should appear for PO Item code.)
Thanks in advance,
Regards,
Dwarak.Hi Dwarak.......
Your Report is right but a small change you have to make Left join RDR1 with POR1........
Try this.......
SELECT T0.PrjCode, T1.Project, T0.PrjName, T1.DocNum, T1.DocDate, T1.CardName, T2.ItemCode, T2.Dscription, T2.Quantity, T2.Price, T2.LineTotal, T3.Project, T4.ItemCode, T4.Dscription, T4.Quantity, T4.Price, T4.LineTotal FROM OPRJ T0 INNER JOIN ORDR T1 ON T0.PrjCode = T1.Project INNER JOIN RDR1 T2 ON T1.DocEntry = T2.DocEntry LEFT JOIN OPOR T3 ON T0.PrjCode = T3.Project LEFT OUTER JOIN POR1 T4 ON T3.DocEntry = T4.DocEntry AND T2.ITEMCODE = T4.ITEMCODE INNER JOIN OITM T5 ON T2.ItemCode = T5.ItemCode WHERE T0.PrjCode ='[%0]' AND
T5.ItmsGrpCod in ('108', '110') GROUP BY T0.PrjCode, T1.Project, T0.PrjName, T1.DocNum, T1.DocDate, T1.CardName, T2.ItemCode, T2.Dscription, T2.Quantity, T2.Price, T2.LineTotal, T3.Project, T4.ItemCode, T4.Dscription, T4.Quantity, T4.Price, T4.LineTotal
Regards,
Rahul -
How to find out T code wise BADI and userexits
Hi,
Is there any standard way of finding out the BADIs and User exits Tcode wise.
regards,
Kannan.Hi,
Use the following program to get the T code wise BADI and user exits.
*& Report ZSD_FINDEXIT_BADI *
REPORT ZUSEREXIT .
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA wa_tadir type tadir.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
endcase.
Hope this will help u.
regards,
Naidu
Edited by: KANNAN on Apr 13, 2009 1:44 PM -
How can i transfer the 'Authorization Group'(SE54) to another client?
In project i must define an 'Authorization Group' in T-Code SE54---The 3rd radiobutton.
But there is no message to me to entry the Request NO.?
How can i transfer the 'Authorization Group' ?
I konw the date can be show from view 'V_BRG_54' ,but how to transport the data of the view?
TKS a millon~~Hi,
If your client is set for automatic recording of changes it should prompt for a transport, check there is not another client where you should make config changes. If not, the menu option Table View -> Transport will let you assign the Auth group to a transport.
Regards,
Nick -
How can I use HTTP authorization in my program?
I'm writing full-featured proxy server in Java and want to require users to provide login and password and then use their login-name internally to provide different permissions, different quotas, etc... for different users. How can I do that with Java? I prefer to use standard HTTP method for this (classic pop-up login/password dialog in client browser). This is typical solution for all password-protected proxies.
This question sounds so simple... How to popup a standard dialog asking for login/password in client browser and get its values for farther processing. But I googled for the solution and found nothing. In the Internet, there is a lot of information about how I can use password-protected proxy but none about how I can write one myself with Java.
Thanks. I need at least some clues...I'm asking exactly what I'm asking for in the title :) . Maybe I need to give an example with additional explanation?
I'm writing a proxy. It has different settings for each user so it must recognize user name and password. Of course, user want to use a browser or other program (possibly another proxy - for example Proxomitron or Privoxy to filter banners and ads) to make requests via my proxy. Browser (not my proxy) should pop-up a dialog asking for a login and password if my proxy server will require authorization. Of course not every program will pop-up a dialog: for example in case of Privoxy or Proxomitron user must provide login and password for parent proxy. In this example "parent proxy" is my proxy. Question is: how I can request HTTP authorization (by sending Proxy-Authenticate) and handle the input? Is there any standard API for that in Java?
There is big difference between standard HTTP authorization and custom pop-up dialog or custom web-interface login page. In first case user can use standard settings in his/her program/browser to provide password automatically (in this case user just need to enter his/her password once). HTTP authorization is the standard. My proxy need to handle Proxy-Authorization request-header field.
The Proxy-Authorization request-header field allows the client to identify itself (or its user) to my proxy which (should be able to) require authentication. The Proxy-Authorization field value consists of credentials containing the authentication information of the user agent for the proxy and/or realm of the resource being requested.
So more complete question would be: is there standard API or third-party API in Java for requesting Proxy-Authorization field from a client and process its values (for example: if password and login is correct then user is allowed to use the proxy; if not user will be asked for login and password again).
If someone knows proxy server (with source code in Java) which can use standard password protection this will be good answer to my question too.
Unfortunately it seems that I will need to write account-management code for my proxy myself. Oh, this isn't too hard but for C/C++ there is a lot of examples and ready-to-use pieces of code which I can use immediately. This is why I'm asking here this question: before I will write HTTP authorization class in Java from scratch I want to make sure there is no "ready-to-use piece of code". I don't want to "reinvent the wheel".
For now, I even cannot find a proxy server with Java source code with ability to use standard password protection to prevent access for non-authorized users. So I'm asking here if there is ready-to-use API (class) for doing HTTP authorization or I need to write one myself.
Message was edited by:
Dark_Dragon -
How to enter condition wise tax amount manually in MIR7 & MIRO?
We have a PO with a tax code entered in it.
but while parking invoice in MIR7, we want to enter condition wise tax amount manully which is different than calculated tax amount through tax code and subsequently we want the same manual tax amount to be displayed in MIRO also
I tried to enter amount for each condition in 'Detail' screen of 'Tax' tab in MIR7,
but at the time of simulating, amount calculated as per tax code is only shown and not the amount entered by me
'Calculate Tax' checkbox is not selectd in this case.
Can anybody tell me how to enter condition wise tax amount manully in MIR7 & MIRO and post an accounting entry with this manually entered tax amount?Hi,
i checked their is no unplanned delivery cost and in FV13 tax is 12.5%. In FTXP No Tax Percent rates.
Regards
Mahesh -
F.01 Balance Sheet-Report to see in company code wise
Hi Experts
Goodevening
We are recently upgraded to ECC.6 version of SAP.
The issue is, when we use Tcode F.01 relating to Balance Sheet Report it is giving the result in Business Area Wise of all the assets and liabilities.
Is there any possiblility to see the report in company code wise and not the business area wise. since the same asset is displayed in different business area wise.
eg.,
21100/1011004 Gross Block - Intangible assets 647,080.00
21100/1011004 Gross Block - Intangible assets 22,048.00
21100/1011004 Gross Block - Intangible assets 2,847,283.25
21100/1011004 Gross Block - Intangible assets 92,040.00 21100/1011005 Gross Block - Plant And Machin75,258,226.67 21100/1011005 Gross Block - Plant And Machin 216,968.87
the problem is like above
now we want to see the report in lumsum, without business area wise.
pls suggest me how to get the report
thanks in advance
warm regards
kishoreDear Kishore,
While executing in F.01 give all parameters without Business Area and Execute
Apart from that if you need to additional thing go through dynamic selection in F.01.
Assign point.........thanks in Advance.
Rgds
Madhuri
Maybe you are looking for
-
How to configure multiple virtual hosts for the same context root /
Hi, I am using Glassfish V1 U1 - b14 on Solaris. I am trying to configure two applications to be mapped to the / root context, each one in its own virtual host. Two things I have noticed: 1. I have to manually add virtual-hosts="hostId" in domain.xml
-
iMovie 09 version 8.0.6, consistently crashes every time I select the titles button in the lower right box (can't remember what it's called). Everything else seems to work fine, very stable. I recently had to convert some footage from another camera
-
Ive re-styled everything else by editing the CSS in the head of the doument, and in both CSS files. I dont find anywhere that this button is mentioned in any CSS. It is outside the OAWidget Div. This menu is using the Sam Skin. Here is the code: <!DO
-
This problem occurred in earlier editions and I would have thought that it should have been solved by now. My computer goes to 100% usage and stay there until I go into my Windows Task Manager and stop the process: plugin-container.exe . I understand
-
Restrict inactive HR employee to be sent through IDOC to another SAP system
Requirement: HR employee data (ONLY ACTIVE EMPLOYEES) needs to be sent from one SAP system to another SAP system. E.g. of process followed u2013 Tcode - PA30 - Action type u2018Hireu2019 is created for employee A, B, C & D for a specific date. Later