Syncronize Groups in Custom Table to OID
Has any one implemented a solution to integrate Group data ( multiple rows of data to represent group membership) which is stored in a custom table to OID?
The current DIP table sync profile seems to support only users which does not have multi-valued attribute like " group members"
Is LDAPADD/LDAPMODIFY an option? I would appreciate sharing any ideas on how this sync could be implemented.
Thanks
Is there a sample of such pl/sql package you can share ? Pl. email to [email protected]
For the initial boot strapping would it be better to generate the users and group in form a ldif file and upload it to OID. Moving forward you can use DBMS_LDAP package for adds and modficatiions ?
Thanks
Similar Messages
-
How to create cutom authorisation group for custom table?
Hi,
I created once custom table.
i want to allow only some users to create entries.
how can i achieve this?
if with creation of z authorisation group tell me procedure
thanks in advance.Hi,
See to this link it may help you.
How to create Authorization group
Custom Authorization Objects -
Add Table maintenance program for custom table to an existing func group
Hi Guys,
Can I add Table maintenance program for custom table to an existing function group or I need to create a new
function group for each custom table.
Thanks,
miniYou can add to an existing function group, there's nothing technically to stop you doing this. However, consider that this is creating generated function modules in this function group and you would be wise to avoid using a function group containing manually created modules.
I personally always create a new function group, using the name of the table as the name of the function group.
Regards,
Nick -
HR ABAP for employee groups with possible custom table...
Hi Members
I have a internal table where employee name and employee group are maintained.
Next, i have other tables where employee name is there and his salary. now I want to add all the salaries of the employees with same groups, how can I do this.
for Example, I have employee group as ENG, DOC, NUR Etc. (Also I wanted to use some kind of dynamic conditions as emplyee groups might added latter in custom table.
Thank you.
Edited by: Julius Bussche on Sep 23, 2008 10:18 PMCheck out this code:
*& Report ZTEST3
REPORT ztest3.
TYPES:
BEGIN OF x_employee,
id TYPE n LENGTH 10,
name TYPE c LENGTH 20,
group TYPE c LENGTH 4,
END OF x_employee,
BEGIN OF x_emp_sal,
id TYPE n LENGTH 10,
salary TYPE p LENGTH 16 DECIMALS 2,
END OF x_emp_sal,
BEGIN OF x_final,
group TYPE c LENGTH 4,
id TYPE n LENGTH 10,
name TYPE c LENGTH 20,
salary TYPE p LENGTH 16 DECIMALS 2,
END OF x_final.
DATA:
i_employee TYPE STANDARD TABLE OF x_employee INITIAL SIZE 0,
i_final TYPE STANDARD TABLE OF x_final INITIAL SIZE 0,
i_salary TYPE STANDARD TABLE OF x_emp_sal INITIAL SIZE 0,
wa_employee TYPE x_employee,
wa_salary TYPE x_emp_sal,
wa_final TYPE x_final,
wa_final_temp TYPE x_final.
DEFINE append_employee.
wa_employee-id = &1.
wa_employee-name = &2.
wa_employee-group = &3.
append wa_employee to i_employee.
END-OF-DEFINITION.
DEFINE append_salary.
wa_salary-id = &1.
wa_salary-salary = &2.
append wa_salary to i_salary.
END-OF-DEFINITION.
append_employee:
1 'John' 'ENG',
2 'Mary' 'ENG',
3 'Pooja' 'IT',
4 'Payal' 'IT',
5 'Sourav' 'IT'.
append_salary:
1 '111.00',
2 '1111.00',
3 '11111.00',
4 '111111.00',
5 '1111111.00'.
LOOP AT i_employee INTO wa_employee.
READ TABLE i_salary INTO wa_salary
WITH KEY id = wa_employee-id.
IF sy-subrc = 0.
wa_final-id = wa_employee-id.
wa_final-name = wa_employee-name.
wa_final-group = wa_employee-group.
wa_final-salary = wa_salary-salary.
APPEND wa_final TO i_final.
ENDIF.
ENDLOOP.
SORT i_final BY group.
LOOP AT i_final INTO wa_final_temp.
wa_final = wa_final_temp.
AT END OF group.
SUM.
WRITE: /1 wa_final_temp-group, 5 wa_final_temp-salary.
ENDAT.
ENDLOOP.
output will be:
ENG 1.222,00
IT 1.233.333,00
Edited by: Sourav Bhaduri on Sep 24, 2008 1:44 AM -
How to create a authority group for our customer table(se54)?
Hi,everyone:
I found a problem when I create a authority group for my customer table,I can't write the creation
to a request no(can't assign to a package),I want to know whether the authority group I created can be
transport to the PRD when I realse the request no.
Thanks!!!Auth Group is nothing but a table entry so for sure it can be transported to any environment, before Assigning any Auth group create one in SE54 when you try saving it it would ask you the TR number which you can transport to PROD.
-
How to create a custom table in the below format
Dear Friends
can any one please let me know hot to create a custom table as below
outpatient
|employeeno | class | startdate | enddate | spouse |1stchild | 2nchild| Rate | amount|
My FO wants to enter in the SM30 as above ......i.e he wants to have spouse ,1st child and 2nd child under one group........so he asking me to make as one group
and give a heading as outpatient.........similary i have to give for in patient.
Please could any one tell is it possible.
regards
syamala...Under the SAP forums section, there is ABAP development and in That there is ABAP General.
SAP forums > ABAP development > ABAP General.
Post in that forum.
Regards
AK
Please reward if helpful -
How to find out which program fill a custom table ?
Dear All,
I am trying to find out which program fill custom table, I tried se11, which programs used this custom table via where used list but could not find. Is there any different way ?
RegardsHi Sappcon,
yes, it is as Brad said, but you should extend the approach regarding this tables content: If it is related to an existing business object (i.e. order, delivery or the like), you may have a look at user exits/Badis in that field.
Also, the dynamic approach is possible. First use report RPR_ABAP_SOURCE_SCAN to find the name of the table in all programs in customer name space - it may be defined as a constant in program/function group/class.
If the dynamic approach is used, the name of the table may be determined by reading another (custom) table or even in a programs text pool. You may find this by searching a pattern UPDATE() - or MODIFY/INSERT in customer programs.
If the table has update date/time fields, check what jobs or online activities can be responsible.
If, after all, you still do not know, then I'd say this is a consulting issue
Regards,
Clemens -
How to find out who created a custom table
I have searched the forum but didn't find an answer so thought I would put it out here.
I have a bunch of custom tables that have been created and not assigned to table groups. Some are SM30 wrappers and some aren't. They are all defaulted to &NC& which is a no-no to assign to roles. My question is, how can I see who created these tables so that I can contact them and educate them on table groups? I can't seem to figure this out.
For instance, I have a custom t-code that calls a custom view and the view is assigned to &NC& in TDDAT.
Any help appreciatedBobbi,
Try SE15->ABAP Dictionary->Database Tables->"enter table name" and execute->select table and view->Attributes Tab->Last changed on/by. Field "Last changed on/by" will give you an idea who the last user that made modification on this table.
Good Luck
-John N. -
F4 help for custom table field - to be used when populating data thru SM30
Hi,
I have a custom table with 5 fields - say A, B, C, D and E. While populating data to the table through SM30, I need to create a F4 help for the field C. A custom function module needs to be used.
I have created a module for the same in the event PROCESS ON VALUE-REQUEST of the function group of the table.
But the F4 for field C depends on the values put in fields A and B.
I am not able to get the values of fields A and B from within the module PROCESS ON VALUE-REQUEST.
Please help me to create the F4 help.hii,
This is the piece of code i have used in one of my SM30 to get f4. mopdify according to ur need and use.
revert back for further help.
w_dynpread-fieldname = 'ZSITEDCDATA-SITE'.
APPEND w_dynpread TO i_dynpread.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = 'SAPLZSITEDCDATA'
dynumb = sy-dynnr
translate_to_upper = 'X'
TABLES
dynpfields = i_dynpread
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE i_dynpread INTO w_dynpread INDEX 1.
IF sy-subrc IS INITIAL.
SELECT land1 FROM t001w
INTO TABLE i_site
WHERE werks EQ w_dynpread-fieldvalue.
IF i_site[] IS NOT INITIAL.
DATA: lv_line TYPE i.
CLEAR lv_line.
DESCRIBE TABLE i_site LINES lv_line.
IF lv_line GT 1.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'ZSITEDCDATA-SITE_COUNTRY'
dynpprog = 'SAPLZSITEDCDATA'
dynpnr = sy-dynnr
window_title = 'Site Country'
value_org = 'S'
TABLES
value_tab = i_site[]
return_tab = i_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
READ TABLE i_return INTO w_return INDEX 1.
IF sy-subrc IS INITIAL.
zsitedcdata-site_country = w_return-fieldval.
ENDIF.
ENDIF.
Thanks ,
Gaurav -
Can we delimit periods in custom tables
Hi All,
I have a requirement wherein i need to create a custom table with following fields:
1) Company Code - Primary Key
2) Fiscal Year - Primary Key
3) Cost Element Group - Primary Key
4) Partner Activity - Primary Key
5) From Period
6) To Period
7) Labour Rate
8) Material Price
Now I need the values something like this:
DC10 2001 Fringes D1090 1 2 2.00 4.5
DC10 2001 Fringes D1090 3 4 1.5 5
So its something like for the same set of first four fields, i may have diff rates for diff periods.
Is there any way to achieve this, other than making 'From Period' and 'To Period' as primary keys?
Thanks in Advance
PrathimaHi,
Make it as two table as Parent(Check) table with first four fields:
Table-1 :
1) Company Code - Primary Key
2) Fiscal Year - Primary Key
3) Cost Element Group - Primary Key
4) Partner Activity - Primary Key
And another table(Value table) with [(1) Company Code - Foreign Key] and other remaining fields :
Table-2:
1) Company Code - Foreign Key
2) From Period
3) To Period
4) Labour Rate
5) Material Price
Regards,
Raghu -
Please let me know to construct a custom table as per below requiremnt
Dear Friends
can any one please let me know hot to create a custom table as below
| outpatient |
|employeeno | class | startdate | enddate | spouse |1stchild | 2nchild| Rate | amount|
My FO wants to enter in the SM30 as above ......i.e he wants to have spouse ,1st child and 2nd child under one group........so he asking me to make as one group
and give a heading as outpatient.........similary i have to give for in patient.
Please could any one tell is it possible.
regards
syamala...Steps to Creating domains, Data Elements, Tables
To give you the steps for creating table:.
There are two approach in creating a table.
1. Bottom-up approach
2. Top-down approach.
Both are valid and you can choose which approach is suitable for you. I always use the bottom-up approach. Here are the steps to create the tables with this approach.
1. SE11 will take you to the DDIC and enter the name of the new table to be created. Let us say Zname. Click create.
2. Enter the short discription of the table and enter the field of the table. If it is primary key and you have to check the box.
3. Enter the data element and double click it, you will be asked to save and will take you to data element discription page. Enter the short discription of the data element and enter the information of domain like the length of field and type of field.
4. If you wanted to use the existing domain then its fine, or else, you have to create one. Enter the domain name in the data element page and double click it. Page will ask to save and jump to domain creation page.
5. In the domain page, you have to save the information which you have already given in the data elements page and check it. Before going to data element page, you have to activate the domain.
6. Go to data element page and save, check and activate.
7. Go to main table page and save, check, and activate.
8. Also, you have to save the technical settings of the table.
The table is now ready for operation. You can use it in your program or you can use it to enter information.
Check table: It is the table which will have all the information about the Foreign keys which are the primary keys in the check table.
It can be created by creating the foreign key from the main table. Click foreign key in the main table and it will take you to a page which will ask for table name and field to which foreign key relation has to be associated. Enter the information and you can create the check table automatically.
SM30 is used for maintenance of the table, that is to realease the errors occured during the creation of the table.
create 1 data element with Outpatient and its domain as Patient datatype Char DATA LENGTH 1. in the value table of the Domain enter as
1 SPouse .
2 1stChild .
3 2nd Child
so the table fields
Employeeno 8 digit (CHAR)
Class 10 digit (CHAR)
Startdate 10digit(DATUM)
endatate 10digit(DATUM)
outpatient 1digit (C)-> Domian as 3 vaules
Rate 4digit (CURY)
Amount 15digit(CURR) referrnce Rate.
Reward points if it is usefull .
Girish -
Create Object for archiving Custom Table
Hi guru!!
I have a problem, I must create a archiving object for custom table..
I must create a report for READ, DELETE and ARCHIVING this type of table..
colud you help me?
thanks a lot guru!!!Hi,
Steps..
GO TO SE11
Give the table name
Press change..
In the menu..UTILITIES -> TABLE MAINTENANCE GENERATOR.
GIve the authorization group &NC&
Choose the single step radio button..
Give the screen number 1.
Give the function group..Give the table name itself as the function group.
Press create. button.
Now the screen is generated..go to sm30 and maintain the table entries..
Thanks,
Naren -
Problem in adding custom table's field in MM46
Hi,
I have a complex requirement of adding fields of custom table in MM46 for mass maintance.
I did most of the part but dont know what is missed.
Steps that i followed
1. used tcode MASSOBJ- I Added Ztable name to application table for Object type - BUS1001001.Here i dont know what to provide in other attributes of entry example Number, DB table etc. [SCREENSHOT OF MASSOBJ|https://plus.google.com/photos/114088763388693559922/albums/5704943614516268609]
2. Used tcode OMSR- I added entry of Ztable'field here i gave selection group as 211, maint status as KDEVALBQPSZXCFG
alv group- blank. [screen shot of OMSR |https://plus.google.com/photos/114088763388693559922/albums/5704943614516268609]
After doing these steps Table name and field of table is visible in mm46. But problem is Field is not editable that is in display mode only.
Pleae see this snapshot - [error image|https://plus.google.com/photos/114088763388693559922/albums/5704938582830478801]
Please help me by telling what i missed and am i adding right attributes for entries in MASSOBJ AND OMSR?
Thanks.
Waiting for expert's comments.
Reagards
Rahul
Please do not use words like 'urgent'
Edited by: Rob Burbank on Feb 3, 2012 11:31 AMHi Rahul,
Wellcome to SDN. Perhaps you know it, and although it's for older releases, perhaps it could help you. Please, see SAP Note 381942 - Mass changes for logistics data in the article master.
I hope this helps you
Regards
Eduardo -
Customized table could not maintain in PRD
Hi all,
I have created a table ZTABCUST with table maintenance as below.
Delivery Class : C (Customizing table, maintenance only by cust., not SAP import)
Data Browser/Table View Maint. : X Display/Maintenance Allowed
Table Maintenance Dialog
Authorization Group : &NC& (w/o auth. group)
Authorization object : S_TABU_DIS
Function Group : ZGAA004
Package : ZSD
Maintenance type : one step
Maint.Sceen No : Overview screen : 1
Dialog Data transport Details
Recording routine : Standard recording routine
Compare Flag : Automatically Adjustable
I have transported this into Production.
But when i try to update my customized table in PRD using SM30/SM31, the system show message
"Client 300 has status 'not modifiable' ".
and I couldnt update my customized table.
How and what should I do in order to make my customized table to be modifiable in Production?
I need this to be solved urgently.Points rewarded.Please do the following.
goto"Delivery and maintaince" tab. Then make the Data browser/Table view maint. as
X Display/ Maintenance allowed. then activate it . then create the table maintenance generator again.. -
I am trying to make a custom table header. I have seen some examples on the web such as
<mx:DataGridColumn width="150" dataField="SalePrice"
headerRenderer="myComponents.RendererDGHeader"/>
where that class is a Box
I also tried to inline it as such:
<mx:DataGridColumn draggable="false" editable="true" headerText="Source RNC" headerStyleName="tableHeader" dataField="sourceRNC">
<mx:headerRenderer>
<fx:Component>
<mx:DataGridItemRenderer>
<s:Group/>
</mx:DataGridItemRenderer>
</fx:Component>
</mx:headerRenderer>
</mx:DataGridColumn>
In both these cases I get the following:
VGroup declaration must be contained within the <Declerations>
tag since it does not implement mx.core.IUIComponent
Now clearly it does. Is this a bug or am I doing something
wrong. My goal is for the table's header to have a combo
box and a text field below the header's name to put filter
options on the column(like hide values <5) etc
Thanks, I know I have been posting a lot of questions latelyBy using s:MXDataGridItemRenderer, your renderer is now using Spark, and in Spark, clipping is not available by default. You have to set clipAndEnableScrollbars=true on the layout. Headers are asked for height if variableRowHeight=true, but not width. The width is determined by the DG columns.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui
Maybe you are looking for
-
Connecting to Printer via Bluetooth, documents print gibberish
Howdy, I have a Canon Pixma iP100 and have recently installed the bluetooth accessory so that I could print wirelessly from my computer and iPhone via bluetooth. However, it won't work! I have sent documents to the printer from my computer and the do
-
Hello. I'm a boy from the Netherland and I've a problem I did request a new Ipod from APPLE Ipod NANO 1 Gen. I received a box and something to send it with UPS. Then i have a problem. THe name of the adres is an ANOTHER person and not my Adres. What
-
Delete from dba_objects
My database version is Oracle 10.1.0.2.0. I logon as a ABC schema and by mistake I ran @catproc.script. Now its created so many unwanted objects under that Schema (abc). Now I wanted to delete all unwanted objects from abc schema. Most of the unwante
-
Hi, I'm having a problem viewing .MOV videos on my MacBook Pro, all I get is audio. I have downloaded the MPEG-2 codec for Quicktime, but this doesn't help. The videos are from my JVC hard drive camcorder. When I plug the same camcorder into my Mac P
-
How to Find the Frame by Fillcolor
Hi All, How to find the Frame by its fillcolor? I tried the following method but it doesn't work. app.findTextPreferences.fillColor = app.swatches.item("Red"); And app.findTextPreferences.fillColor = app.activeDocument.swatches.item("Red"); Thanks in