User Exit 4 Org structure
Hi all,
We r on way to implement ACE, we have done at territory management.
Now wat is happening is when ever we r making changes at the Orgnisational structure that is having a immedate effect in Territory management but again i have to update the user context ...
<b>Is there any setting that needs to be done that will automatically updates the user context ?</b>
or
<b>I should luk at any User exit where i ask the system to update the user context. when save button is triggers the event</b> ..
Thanks in advance for this help
Hi Rahul
You can do that in CMOD, by creating a project and using the enhancement: RSAP0001.
SAP provides enhancement RSAP0001 that can be used to populate the extract structure.
This enhancement has four components that are specific to each of the four types of R/3 DataSources:
Transaction data - EXIT_SAPLRSAP_001
Master data attributes - EXIT_SAPLRSAP_002
Master data texts - EXIT_SAPLRSAP_003
Master data hierarchies - EXIT_SAPLRSAP_004
Go to enhancement of transaction datasources in CMOD.
Add a case statement with datasource check and go for the below code.
This user exit is called for every datasource so be sure to put a CASE statement on the datasource.
CASE i_datasource:
WHEN '2lis_11_vascl'.
loop at c_t_data into <datasource structure>
modify c_t_data from <datasource structure>
endloop.
endcase.
Similar Messages
-
Can I create new IDOC segmemnt in user exit( edidd structure ) forcefully ?
RFFOEDI1 is the standard driver program which call the below user exit zxf08u06...
Am programing user exit ZXF08U06...
In user exit zxf08u06, actually edidd structue contains all the segments...
In user exit zxf08u06, I am reading each segment which are in edidd structure, pulling required data from database and passing this data into this segment, so that this data appears in the IDOC's segments (we02).
Now I need to create one new segment which is not there in edidd structure.
Still I inserted this new segment and updated data. This new is coming in IDOC out put But IDOC was crested with error . Am I not supposed to create new segment whcih was not there in edidd structure forcefully ?
MUCH THANKS IN ADVENCE.Hi
Go thru the bellow links
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400365
http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp
Thanks
Sunil -
User Exit for structure BAPIMTCS
Hi Experts:
Is there a user exit (trx. XD02) to modify structure BAPIMTCS and to execute a Z function module?
The problem is that a additional data field of client is not replicated to CRM. We have a client aplication working well. The only problem is, that no BDoc is generated when the (additional data) field and only the field is changed.
Hoping for your help.
Best regards,
Cristinacheck
Enhancement
SAPMF02D User exits: Customer master data -
How to find Manager of the USER from org Structure
Hello Experts,
I have got the FM RH_STRUC_GET and SWX_GET_MANAGER to find the manager. I am unable to use this FM, Can you please let me know which FM can be used to find the manager.
If RH_STRUC_GET is being used to find the manager what will be WEGID for this?
Please help.Hi,
Then Why don't you try with WEGID US_CHEF
I think You can just create a entry from the transaction as MANAGER with the below evaluations paths
* B 008 Holder * S
S A 003 Belongs to * O
O B 012 Is managed by... * S
US A 208 Is identical to * P
Regards
Pavan
Edited by: Pavan Bhamidipati on May 30, 2011 2:28 PM -
Moving users in the org structure
Dear Experts,
Whenever, I move my user in PPOMA_BBP, it brings inconsistency that cannot be repaired.
What could be the possible reason(s).
Regards
MickHi
Which SRM version are you using ?
You can repair the users using the same transaction.Even after that some times the inconsistency persists then delete the employee data and assign the user to the required Org. unit in the Org. structure using USERS_GEN transaction. Also check for the BBP_CONSISTENCY_CHECK transaction for this user (you will get list of errors in Consistency check ).
<u>Related link -></u>
How to re-instate the deleted Position of the user into Org structure.
<b>Please go through the following SRM Reports which will help -></b>
Program Name Report title
RHXSTR00 Organizational Structure
RHXSTR01 Organizational Structure with Positions
RHXSTR02 Organizational Structure with Persons
RHXSTR03 Organizational Structure with Work Centers
RHXSTR04 Report Structure with Persons
RHXSTR05 Report Structure Without Persons
RHXSTR06 Work Centers per Organizational Unit
RHXSTR07 Activity Profile for Positions Along Organizational Structure
RHXSTR08 Activity Profile of Positions with Persons Along Org. Structure
<u>Also, go through the tables HRP1000 / HRP1001 in SRM.</u>
<b>Look for "CHDAT" field in this Case, which will give Last changed by ehich user on which date..</b>
<u>Some related Database Views</u>
View name Short text
HRV1222OT Infotype 1222 (OTJID)
HRV5500OT EBP Function (OTJID)
HRV5501OT EBP Product Responsibility (OTJID)
HRV5502OT EBP Location (OTJID)
To change the Organization Unit of User, Try this FM - "RH_BUF_GEN_USER_POSITION_ORG" which will assign new org. unit to new position.
<u>Related links -></u>
mass user movement from one org. unit to another in SRM org. structure
Table name of the organization plan
Org. structure transport via RHMOVE30
Re: How to get busines partner number from organization id ?
Re: Org structure table
How get the Last changed date of Busness Partner
Report for Org structure change
Hope this will definitely help.
Do let me know.
Regards
- Atul -
Is it possible to get the fields in to our user exit .....?
Hi All,
In the user exit some structures are passed as import parameters in the function module. but we want other than those structure fields in to our user exit. that means those fields are dynamically populated in to the transaction.based on those fields we have to trigger one dialog window. so how to get those fields in to our user exit.
-Prasanth.M
Ex: Transaction: IW31/IW32
Enhancement Name: IWO10009
Structure Name: CAUFVD.
But i want these fields ACPOS,WRTTP,BELTP,WRT00 to WRT16. these fields are in PMCO table.but i want these fields before updating the PMCO table,not from the PMCO table. based on these fields we have to trigger user exit.
Message was edited by:
prasanth KumarHi,
here i am giving my requirement.
Please look in to this and let me know how to solve the problem.
1. Check ordertype
a. If ordertype = REP1 set planned cost limit field to 450
b. If ordertype = MUT1 set planned cost limit field to 5000
2. Check the planned costs for value category KostenTalis
Check table PMCO for the order
i. PMCO-ACPOS = KostenTalis
ii. PMCO-WRTTP = 1
iii. PMCO-BELTP = 1
iv. PMCO-VORGA = KPPP
v. PMCO-WERT00 -> PMCO-WERT16, check if one of the fields WRT00 till WRT16 is filled with a value
a. No, exit
b. Yes, go to 3
3. Are the total costs for Talis > planned cost limit field euro?
a. No, do nothing and end this user-exit
b. Yes, show the pop-up and place the total planned costs in the variable <costs>
and already i had given tr and user exit.i think its sufficient to solve the issue.
still u have any more doubts kindly let me know.
-Prasanth.M -
Hi Sap Gurus,
Can somebody tell me the procedure or provide me the document on how the User assigned to HR org structure in ECC will be replicated to SRM..
I heard of some T-Codes and Program , PFAL, HRP1001... but i'm not sure about the functionality and how the Process happens...
As per my knowledge....
* Security will create a New user and handover to SAP HR team
* SAP HR team will assign the User to Org Structure in ECC
* From SAP SRM we use the T-Code PFAL to get the user assignment data into SRM Org Strucuture..
Correct me if I'm wrong..
In this process I'm not sure of Idoc's we have to use and the what values we need to enter in PFAL screen??
Thanks in advanceHi Sanjay,
Please refer the document fro configuration settings for HR replication.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50350f29-1db1-2d10-0194-d6a3bf01a5aa?overridelayout=t…
The Part 1 and Part 2 of the document will give you good information in org structures in SRM.
Hope this helps
Cheers,
Yateesh -
Name of the structure needed for sales order user exit
Hi,
I am planning to write a user exit which will insert the data into my ztable the moment the new sales order is created and is saved.
I have identified FORM USEREXIT_SAVE_DOCUMENT as the necessary user exit. But the problem is that while inserting the data into the ztable I cannot insert the data from vbak as the data will be inserted into this table after the SO is saved.
Thus I need to identify a structure which is used to populate the vbak table so that it simultaneously inserts the data in the ztable as well. Can anyone help me with the name of the structure so that these fields i.e. vbeln, vkorg, vtweg, spart are inserted into my ztable?
Also need to know how to convert the net value i.e. vbak-netwr in Indian Rupees as it gets stored as Dollars ....
Thanks,
Vinod.Hi,
One of the structure being used is RV45A, there are several other str's being used as well for various calculations,
check out program SAPMV45A for the same.
& in order to convert vbak-netwr to rupees use the below statemetnt,
WRITE vbak-netwr TO zvbak-netwr CURRENCY INR.
Regards,
Raghavendra
Message was edited by:
raghavendra ay -
SRM HR Org Structure - error in EBP User
We are on SRM 4.0 (EBP 5.) and have replicated our R/3 org structure. We run a nightly batch job that updates the org structure in SRM with any changes made in R/3. Some users are unable to use SRM due to not being replicated properly into SRM. When you view the org structure via PPOMA_BBP - Change Attributes Check there are two STOP signs - with the following error messages
STOP BBP Error in EBP User xxxxx
STOP HR/ALE Verteilung ist aktiv. Verteilen Sie die Benutzerdaten neu.
When I translated the German error message, it translated to
HR/ALE Distribution is active.
Redistribute the user data.
How do I redistribute the user data to correct the problem so the users can use SRM again?
Also, where can I change the german transaction into English.
Any assistance would be greatly appreciated.
Thanks
Jan StoverHi Jan,
Follow these steps in R/3
1. Go To PA20. Check the Personal ID for the user for whom it shoots an error
2. Go To PFAL. You might have to use a variant for this transaction. Feed the User's Personal # and the target system.
This will push an IDOC from R/3 to SRM with the org data
Follow these steps in SRM:
1. Go to SE38 and execute this report RBDAPP01
This report will process the incoming IDOC to the Org Structure in SRM
Regards,
Anand -
USER EXIT- Structure or View as well?
Hello friends i have a quick question.
I created a User exit by adding the ZZfields in the Structure.When i replicated into BW i couldnt see those 3 zz fields.When i went back to the Generic Datasource and checked in 'Display Field List' i see my fields as hide field and field only boxes checked and greyed out.When i actually save the generic datasource it shows me all the fields i can edit but not the ZZ fields.I fi need to unhide them then where from and/or do they need to be added to my View aswell.
Thanks.hi,
to see the field in bw u have to uncheck the hide column for that field and only field only column is checked.
now if u are using view/table for extraction u have to add the field to the view.
and it will automaticlay come in extract structure and u do not have to append it.
if function module than u have to append the field and write user exit for it.
regards
pls assign popints if helpful. -
How to find the structure in this user exit
My requirement is add new field to Delivery due list ALV report(VL10G).For enhance this report i will append one field(LIKP-SDABW) in this structure SHP_VL10_ITEM.This structure is not showing in the include LV50R_VIEWG05
USEREXIT_PREPARE_LAYOUT_FILL .Where i have to find this structure,and internal tables?
Please help me.
Thanks & Regards,
sairamHi Sairam,
Goto the program for transaction VL10G.In that u make a seach for the user-exit
USEREXIT_PREPARE_LAYOUT_FILL.Then write the logic inside tht.U will need an access key for that.
<b>Reward points if it solves ur query or answer is helpful</b>
Thanks
Chinmay -
Internal structures available in user exit
How can I found out all the internal structures that are populated and available in a user exit or any point in code.
Specifically I am looking at RV60AFZC routine USEREXIT_FILL_VBRK_VBRP and want to fill MWSKZ which is in KOMV. But I would like to learn a new technique that I can use for any program. Thank you.Hello,
You can know if the particular structure is available in your session in either old or new debugger, all you need to do is
(SAPLHRBEN00ESS)EVENT_DESCRIPTION_GS
Where SAPLHRBEN00ESS -> Program Name
EVENT_DESCRIPTION_GS -> Structure (wa), Internal Table that you want to access.
Hope it helps.
Thanks,
Jayant -
Mass user movement from one org. unit to another in SRM org. structure
Hi,
Is there any way by which i can move mass users from one organisational unit to another in SRM org. structure..
there is a thread available in SDN but it is not conclusive. it talks abt using a FM: BBP_USER_CHANGE_ORG
BR
Bharat MBharat-
I am assuming that your requirement is to move mass users from One Org node to another. Ex One Plant Org node to Another plant Org node.
If my assumption is correct then, please follow the below steps.
1) Go in to the change mode of Org Plan using T-code PPOMA_BBP
2) Using shift key, select all the users that you need to move.
3) Drag and Drop the selected users to the desired Org node.
If the user IDs are not in sequence then you can use Ctrl key to select the relevant user ID.
Let me know if you have any questions.
If the answer is helpful, please reward points.
Regards,
Upendra. -
Hello, I am working on a SAP CRM 7 Sales implementation and we are implementing leads and opportunity scenarios. The current business organization model is that there multiple vertical and horizontal departments. This is typical matrix structure. This organization has done the segregation of its clients based on the verticals so every clients belongs to at least one or more Vertical department but Horizontal departments can contact all the clients. In the same way sales executives are also either belonging to one or more Verticals or Horizontal departments? Horizontal sales executive can create leads for any clients available in the system but a Vertical sales executive can only create lead only for the client belongs to his vertical and assigned to him. This can be achieved by creating organization structure and business partner relationship.
Now the problem statement is that few sales executives need work for both some Verticals and Horizontals at the same time. But requirement is that they should be able to do the both roles with single user id but multiple roles. So when sales executive is creating leads his vertical department, he should only be able to select clients assigned to his Vertical only but when he is creating lead for Horizontal department, he should be able to select any clients.
So Can I determine the business partners linked to user based on the assigned role and org. structure?
Please let me know if this is not clear also note we are only using CRM WebUI no SAP ePortal.
Thanks a lot your help in advance.
Regards
Sudesh SharmaThanks, Tahir
my problem has solved
Kind Regards,
Faisal -
How to check a list of users whether integrated to SRM Org Structure
Dear SRM Gurus,
I am using SRM 4.0 system with classic scenario.
We are not using the HR system integration for org structure setup.
I have a list of users to be checked, whether they are integrated to SRM Organization structure.
Normally, I use the "Check Users" option under, Users_Gen tcode to check a single user.
Is there any way to check multiple users(almost 300 users) at once.
Any Table or function module is avalable?
Thanks in advance.
LokaHello Loka,
Run same transaction. When you are on screen "Object Synchronization and Repair", set "User" but do not populate any value, then execute.
You will get all users: when user has a red icon in column 'Object links', this means he is not integrated in the organizational model.
In same transaction, if you can also set "Branch from Organizational Unit" and "Users only". Here, you will get only users integrated into organizationl model.
Regards.
Laurent.
Maybe you are looking for
-
Hi, How to config OD Report if I want result display as below SQL command select a.accountname,count(b.salestage), (select count(b.salestage) from opportunity b where salestage in ('Closed/Did Nothing','Closed/Lost')) from account a,opportunity b gro
-
Request to Dale-CL & ultimately Creat
In light of the huge reaction by many consumers to the unpopular approach used by Creative in relation to software drivers can you confirm or deny if we can expect to see a more user friendly / interacti've and open approach to future drivers and inf
-
I can't use my skype's cam because FaceTime'cam is open.how can I close FaceTime?
I can't use my skype's cam because a FaceTime's cam is still open. how can I close it?
-
How to use primary key in sql combined from 2 columns
table1 primary key = orderid+custname orderid custname address 8889 Adrian london 8867 Clara manchester 2229 Peter warwick table2 primary key = orderid+custname orderid custname qty price 8889 Adrian 10 2500 8865 Adrian 20 9483 8867 Clara 30 3993 586
-
App download to work computer rather then home
I am working away from home (on a PC, unlike my Mac at home) and I needed access to an expensive app (£29.99). Downloaded iTunes onto the PC, plugged in my iPhone and bought the app. It was too large a file to download it straight to the iPhone but i