Authorization define to customized sales register transaction code
Hi All,
My ABAPer has been created the customize report ZSD_DUMP(Sales Register Data). This report is for all 20 Depot users. In this report, all the Sales Register data of All Depot has been showing in ZSD_DUMP transaction. My question is how can i restrict particular user depot ,he read only own depot record not of other depot. Which authorization can i give to user depot? Your answer is appreciated.
Thanks & Regards,
Satish
Hi,
My abaper had been also used the standard object 'M_EINF_WRK'. The code is
SELECT single werks
FROM t001w
INTO v_werks
WHERE werks IN s_werks.
AUTHORITY-CHECK OBJECT 'M_EINF_WRK'
ID 'ACTVT' DUMMY
ID 'WERKS' FIELD 'V_WERKS'. (also used S_WERKS)
IF sy-subrc NE 0.
MESSAGE E000 WITH 'YOU ARE NOT AUTHORISED USER'.
ENDIF.
Satish
Similar Messages
-
Posting customer collection by transaction code f-34,error message
Hi
while Posting customer collection by transaction code f-34,the system gives an error message" no document posted",So if any one could tell me the which configuration has not been made for that particular customerHi,Srikanth Tamma
Actually the user is making the entry from a web service bulit by dotnet,the data from the dot net hits SAP after it gets process in SAP it comes back again to the webservice.After debugging it is found that data is not flowing back from SAP to the dot net web service -
BAPI for customer Block/Unblock through transaction code : XD05
Hi Gurus,
I want to block/unblock customer sales areas(Transaction code : XD05) through program. Could you please suggest any BAPI for the same. As writing BDC will not be a good choice.
Please help.
Thanks,
BhupenderHello Bhupender,
the best and easies solution is the MASS maintenance transaction as proposed above.
For the BAPI question, sorry but there is NO BAPI to maintain a customer master data.
The function module provided by my predecessor, even if it has the perfect look like is definitively not the one to use.
Despite the name, this FM is designed to support only the maintenance of CONSUMERs.
Moreover it is not an RFC enabled function module.
It might work in your case, as the data to maintain is quite simple and limited but you still may face several troubles like NO change documents and change pointers created and/or no synchronisation with TREX, CRM, ...
There is also a BAPI with a nice name, but in fact it is designed to be used only with SAP Online Store and SAP Product Catalog.
The only reliable path for investigation is described within [note 384462|https://service.sap.com/sap/support/notes/384462].
A other path for investigation is the class CMD_EI_API which has been introduced with ECC 2005 (6.00).
You could wrap method MAINTAIN_BAPI inside of a bapi function module you would have written.
Otherwise, but still with limited functionality there are some eSOA webservices to find, read, maintain customer master data.
Hope this helps.
BR
Alain -
How to authorize a transaction code for a user?
Hello,
How can I authorize the user for a specific transaction code and how can I block it?
I would appreciate if you can give some insight.
Thank you.
HakanHi Hakan,
We can achieve this by using two T.Code SU01 and SUIM.
First check in SUIM,the T.Code that you want to block T.Code is belongs to which role.
For finding it Click on roles.Click on transaction assignment.Enter your T.code and execute.
After finding this goto SU01 and unassign that role for that user.
In this way we can block the user to use one particular T.Code.
For providing authorisation,add the role to the user id in SU01 T.Code.
Run SU53 T.Code after running the failure T.Code to know all the errors.
Please contact your BASIS person for all these.
Regards,
Krishna. -
Assigning the Authorization group to particular transaction code
Hi,
How do we Assign the Aughorization group to particular Transaction code with authorization object. Is there any transaction code ?
if anyone know, please let me know.
With Regards,
Prasad.The Tcode is tied to a Program & you can assign the Program to an Authorization Group via its attributes. I don't think there is an option to directly attach a Tcode to an Authn Group.
~Suresh -
Error when launching transaction code CRMBS02
Hello all...whenever we attempt to launch the t-code CRMBS02 or BS02, we get a popup that says:
Error in object editing: This syntax cannot be used for an object name
Selecting the documentation drop down provides:
Message no. TK103
Diagnosis
The syntax of the transferred objects is incorrect. R3TR BSVS made this check.
This could be caused by the following:
The object type R3TR BSVS is unknown
The syntax of the object name is incorrect
The object is a component of a system object
System Response
The function terminates.
Procedure
Correct the syntax.
Any suggestions? When this occurs, it does not enable editing and allows for display only. I have SAP_ALL assigned to the user, so I don't see any authorization errors when I trace the transaction code.
Suggestions?
Thanks in advance!
JoeHello Joe,
Tasks template of type T and Workflow Task of type WF, are no more used after release 45b. The were substituted by the TS Templates and by Workflow Template.
Please notes: 114811 -
From release 4.5 onwards only WS/TS tasks can be created via the standard workflow editor transaction however WF tasks created in previous releases may still be maintained. If it is important to be able to create WF flows in release 4.5 then you may still do so with transaction PFWF. This transaction has been removed from the menu to encourage the use of WS flows wherever possible.
A copy utility to copy WF flows and it's components to WS flows will be made available to speed up the transfer to client independent flows.
"Check also note: *152871 Release Upgrade considerations for workflow 3. WS / WF workflows (all releases)
"From Release 3. 1 onwards, it is possible to create customer workflows
of type 'WS'.
Solution: If you have 'WF' workflows, they will continue to run after an upgrade. You can modify them too. However, some of the new features of future releases only apply to 'WS' workflows. See note 114811 for a complete discussion of this subject.
You should pass from T and WF templates to the New WS and TS templates.
1) In relation to workflows of type 'WF' (Workflow Task) and task 'T' they have not been developed since release 40B, instead the Workflow Template (WS) was introduced and Tasks 'TS'. This error has seldomly
been observed in the case of trying to work with WFlow tasks of type WF instead of type WS.
Existing WF will run also in higher releases, however if you change a WF task in a higher release it may produce dumps or numerous errors. This is valid too for Tasks.
Please refers to note 114811.
If you want to change them please copy them first to templates type WS or TS rather than WF or T. Use PFTC in order to copy them and then you can make the changes and you will have much more functionality than type
WF or T.
Additional Inforamtions:
Note 1068627 - Composite note about workflow upgrade
thanks
Willie -
FI-AR-CR Customer Sales per Credit Control Area
Hi,
Do you know any table or funtion that may calculate the Customer Sales Volume per Credit Control Area? I need to calculate a customer specfic DSO (Day Sales Outstanding) figure. The standard AR Summary doesn't return such information. This nay be obtained via BSEG, but it requires a complex query.
I have found the function module CUSTOMER_BALANCE, but it returns customer sales per company code, which still requires additional calculation to totalize the balances for all the company codes that belong to a credit control area which the customer is assigned to.
I appreciate any input that may provide a simplier solution for this question.
Thanks and regards.
GonçaloHi,
I have decided to use the function module CUSTOMER_DSO_CALCULATION, and I will try get the sales volume from some internal variable that this FM uses to calculate the standard DSO. Then I'll store it on a Z table in order to compute the new specific DSO
Thanks and regards,
Gonçalo -
Sales office authorization check in customer master,Sale order and billing
Hello Experts
We need to restrict authorization for customer master, sale order and billing based on sales office.
Can somebody guide me how to activate this ? Has anyone of you have successfully done that?
Regards
kumarlibHello Kumar,
User authorization is within Basis expertise, but if you want to get some feel for what authorization objects are take a look at trans SUIM. But basically how it works is for a given transaction the level of check is specified -- in this case Sales Office. Based on values stored in that field the user is allowed or not allowed transaction access.
So you determine whatever the needed matrix is for authorization restriction (i.e. user A can access Sales Office xxx, user B can access Sales Office yyy & so on). Also give Basis the transaction codes to restrict, along w/the technical table/field for each (like from customer master - KNVV-VKBUR, from sales doc level VBAK-VKBUR). Basis sets up the authorization object w/assignments to the users accordingly.
This is standard SAP & your Basis support should be familiar with it. Good luck. -
In Transaction code va41 how to set default sales contract start date
Hi ,
In Transaction code " VA41 " how to set default sales contract start date and end date.
Can any one tell me the correct user exit for the same.
Thanks
Basuhi,
u have to use user exits or badis.
use sutable exits mentioned below.
SDTRM001 Reschedule schedule lines without a new ATP check
SDVFX006 User exit: Tax line (transfer to accounting)
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Edited by: katigiri linganna on Apr 28, 2009 12:19 PM -
Authorization Issue for Transaction Codes PA10,PA20,PA30 &PA40
Hi Experts,
I have created Custom role for accessing ALL HR Transaction codes in IDES System and added to the user & Tested.
All transactions codes are working except PA10,PA20,PA30 &PA40
Please help me regading this.
Advance Thanks,
BBCHi,
I had check with basis Team, they told that I have all authorizations.
This is New Installation for R/3 HR IDES System. even basis Team also created role for above transaction code but not getting access.
We can accesss all transaction codes except these.
All are new for HR. here anything needs to be configure for access PA10 to PA40 Transaction codes.
Please advice me.
Thanks & Regards,
BBC -
Custom Transaction codes overwritten during transports
Hi,
When I create custom queries in my production client, assign transaction codes to them, and assign them to roles they get overwritten every time I perform a transport for those roles. We are still at an early stage of implementation and there are still some daily authorization changes that require a transport from test to production. When the roles are transported it wipes all my reports (transaction codes) assigned to these roles in the production system. Is there a way to perform a transport without wiping out the customizations made to the role in the production system like these?
Thank you,
SergiyThe answer is in the way one works with BI (or BW).
If the design is that queries are to be created in production (which is often used). As far as i know the only exception on the rule that everything should be build in DEV. And this is the only good way as you do not want end-users to work in DEV. There are some things to know about the way SAP works.
If a role is changed in DEV and transported to PROD all queries assigned to the role in PROD will be disconnected.
Solution a role to be used in PROD were queries will be assigned to should never be transported again.
Solution in detail, there should be roles for different use:
1. Access to Info providers in version read and write.
2. Access to publish reports in roles per query role.
3. Query/Menu roles per info area.
Roles 1 and 2 allow for access and can be transported as often as you want. Role 3 is only to be used as a container of queries to be used by end users and should NEVER be transported again (best practice is to delete if in DEV after transport and NOT assign it to a transport before deletion).
In the publisher role it can be arranged to which role(s) the publisher can assign reports. It is also possible to force users to use a report naming convention in this role. -
Transaction codes/path for Customer(Sold To) and related associations
Hello all,
being very new to this, can any one tell me the transactions/path to add the records in tables
KNVS-Customer master shipping data
KNVP-Customer master partner functions(Sold to Ship to association)
KNVV-Customer master sales data
TVKBT-Organizational Unit: Sales Offices: Texts
TVKWZ-Org.Unit: Allowed Plants per Sales Organization
T001L-Storage Locations
T001W-Plants/Branches
Is it possible to add new records to these table through trancations or is there any other way?
Please help me out.
Regards,
SandipHi,
Welcome to SDN forum
KNVV, KNVS, KNVP are maintained in the Transaction code in XD01
TVKBT this is assigning Text in OUTPUTS for sales office
Path: SPRO->SD->BASIC FUNCTIONS>OUTPUT DETERMINATION>ASSIGN FORM TEXTS-->
TVKWZ: OVX6
T001L: OX09
T001W: OX10.
thanks,
santosh -
Transaction code to update sales order configuration
Hi All
Is there any transaction code (other than va01/va02) to update the item configuration details of a sales order
thanks
Ravindra SuvarnaHi!
Anyway you can develop custom one based on BAPI_SALESORDER_CHANGE.
Regards,
Maxim. -
HI Guru's,
I have a little problem, when I do a
SUBMIT rkaep000
WITH SELECTION-TABLE i_tab
TO SAP-SPOOL
I receive the following error message : "Transaction code not defined"
When I try also to run alone the program "rkaep000" se38, I receive the same error.
Anybody have a solution?
Regards,
MohameD.Use call transaction method. Call the program by using following relevent t-code.
T-Code program Description
CJIG RKAEP000 800 80 Display PS Cash Documents
CPB1 RKAEP000 120 80 Business Processes: Act. Line Items
CPBP RKAEP000 220 80 Business Processes: Plan Line Items
KABP RKAEP000 400 80 Controlling Documents: Plan
KKAA RKAEP000 740 80 Sales Document Line Items Res.Anal.
KKCA RKAEP000 630 80 Cost Objects: Variance Line Items
KKCP RKAEP000 230 80 Cost Object Line Items - Plan
KKCS RKAEP000 130 80 Cost Objects: Line Items - Actual
KKFB RKAEP000 650 80 RS Header: Line Items Variance
KOB1 RKAEP000 110 80 Orders: Actual Line Items
KOB2 RKAEP000 310 80 Orders: Commitment Line Items
KOB3 RKAEP000 610 80 Orders: Variance Line Items
KOB4 RKAEP000 910 80 Orders: Budget Line Items
KOB5 RKAEP000 510 80 Orders: Maint. Line Item Settlement
KOB6 RKAEP000 510 80 Orders: Settlement Line Items
KOB7 RKAEP000 510 80 Orders: Line Item Settlement Retirem
KOB8 RKAEP000 710 80 Orders: WIP/Results Anal. Line Items
KOBP RKAEP000 210 80 Orders: Plan Line Items
KRMI RKAEP000 150 80 Run Sched. Header: Line Items Actual
KSB1 RKAEP000 100 80 Cost Centers: Actual Line Items
KSB2 RKAEP000 300 80 Cost Centers: Commitment Line Items
KSB5 RKAEP000 400 80 Controlling Documents: Actual
KSBP RKAEP000 200 80 Cost Centers: Plan Line Items
KVBI RKAEP000 140 80 Sales Documents: Line Items Actual
KVBO RKAEP000 320 80 Sales Documents: Commit. Line Items
Thank You,
Ganesh -
Transaction code for Open sales order other than VA05
Hi all,
Can any one tell me what is transaction code for open sales order other than VA05.
Please help me .
Thanks & Regards ,
Srikanth P.Hi Srikanth,
You can try below options.
1- VA05N - This can be run for multiple sold to party & multiple material, etc which was not in VA05. But this doesn't have all columns in VA05 report.
2 - You can check the sales order tables from transaction SE11 or SE16N
Try with below tables for your requirement.
Sales order Header data - VBAK
Sales order Item data - VBAP
Schedule Line Data - VBEP
Business data - VBKD
Status header - VBUK
Status items - VBUP
Best regards,
Anupa
Maybe you are looking for
-
Schedule background job in loop.
Hi, We have program which needs to executed in background and it has to be scheduled again after completion of the frist job. The issue is time taken for the execution of the JOB is varying depending on the other background jobs. If execute on period
-
Severe flicker or interlacing artifacts with motion
In the archived topic with the same subject as this one at: http://discussions.apple.com/thread.jspa?threadID=351090&start=0&tstart=0 my problem with interlace flicker was not solved. There is bad news and good news with the new iLife '08. *Bad news*
-
Music not download :lumia 920
Hi when i try to download music from music store it give msg phone is already registered with nokia music for unlimited downloads WHAT I DO NOW HOW TO RESOLVE THIS
-
Mac mini (intel) servermgrd exec_bad_instruction
Here is what I did - not to mention weeks of fussing with this mac mini - Lots of fun!!!! - Installed Tiger 10.4.7 that came with system on mac min - Upgraded to Server 10.4 - Updated admin tools to 10.4.7 I am getting crashes on servermgrd with exce
-
PPro, Encore & Media Encoder keep running after quit
We recently upgraded to PPro CS5 and everything seem to be working well, except that when I close Premiere, Encore or Media Encoder and then go to open them again a while later, the don't want to launch. When I hit ctrl+alt+del, I see the problem.