Creating Oraganisation Strcture in OM
Dear Experts!
I am new to the SAP HR environment.
Please clarify What should be the date given while creating the org.structure - The date of golive or the company start date?
Thanks
pooja
Hi,
Organizational Structure includes organizational units and sub units. You can use default date i.e. 01.01.1900 to 31.12.9999 insted of company start date or go live date.
For other objects like (S) Position you can maintain the company start date.
Regards
Chandrashekar
Similar Messages
-
How to create dynamic strcture for a interrnal table
first i created one internal table . with five fields . suppose i want add two more fields in internal table.
what is the code for the this . if any one konowREPORT ZTEST05.
PARAMETERS dbtab TYPE tabname DEFAULT 'SPFLI'.
TYPE-POOLS rsds.
DATA tadir_wa TYPE tadir.
DATA selid TYPE rsdynsel-selid.
DATA field_tab TYPE TABLE OF rsdsfields.
DATA table_tab TYPE TABLE OF rsdstabs.
DATA table LIKE LINE OF table_tab.
DATA cond_tab TYPE rsds_twhere.
DATA cond LIKE LINE OF cond_tab.
DATA dref TYPE REF TO data.
DATA alv TYPE REF TO cl_salv_table.
FIELD-SYMBOLS <table> TYPE STANDARD TABLE.
SELECT SINGLE *
FROM tadir
INTO tadir_wa
WHERE pgmid = 'R3TR' AND
object = 'TABL' AND
obj_name = dbtab.
IF sy-subrc <> 0.
MESSAGE 'Database not found' TYPE 'I' DISPLAY LIKE 'E'.
LEAVE PROGRAM.
ENDIF.
table-prim_tab = dbtab.
APPEND table TO table_tab.
CALL FUNCTION 'FREE_SELECTIONS_INIT'
EXPORTING
kind = 'T'
IMPORTING
selection_id = selid
TABLES
tables_tab = table_tab
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE 'Error in initialization' TYPE 'I' DISPLAY LIKE 'E'.
LEAVE PROGRAM.
ENDIF.
CALL FUNCTION 'FREE_SELECTIONS_DIALOG'
EXPORTING
selection_id = selid
title = 'Free Selection'
as_window = ' '
IMPORTING
where_clauses = cond_tab
TABLES
fields_tab = field_tab
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE 'No free selection created' TYPE 'I'.
LEAVE PROGRAM.
ENDIF.
READ TABLE cond_tab WITH KEY tablename = dbtab INTO cond.
IF sy-subrc <> 0.
MESSAGE 'Error in condition' TYPE 'I' DISPLAY LIKE 'E'.
LEAVE PROGRAM.
ENDIF.
CREATE DATA dref TYPE TABLE OF (dbtab).
ASSIGN dref->* TO <table>.
TRY.
SELECT *
FROM (dbtab)
INTO TABLE <table>
WHERE (cond-where_tab).
CATCH cx_sy_dynamic_osql_error.
MESSAGE 'Error in dynamic Open SQL' TYPE 'I' DISPLAY LIKE 'E'.
LEAVE PROGRAM.
ENDTRY.
TRY.
cl_salv_table=>factory(
IMPORTING r_salv_table = alv
CHANGING t_table = <table> ).
alv->display( ).
CATCH cx_salv_msg.
MESSAGE 'Error in ALV display' TYPE 'I' DISPLAY LIKE 'E'.
ENDTRY. -
How to create dynamic strcture and accepting runtime value in work area
Hi,
I am using RFC_READ_TABLE for joining more than table and written select query but into clause work area value is passed but it is short dump is displaying with too few many fields in into clause .work area WA need some casting type conversion which accepts the some run time value and should have some structure for it.how to create dynamic structure?hi
good
go through this and use in your report accordingly.
If you are trying to read some information from SAP and you can't find the right BAPI then RFC_READ_TABLE can do the job for you.
RFC_READ_TABLE is powerful RFC it gives you the access to all tables and views in SAP. I basically used RFC_READ_TABLE for Material Master Search application on the Intranet.
Now you may say there are lots of BAPI for this functionality. You are right but I had to work around the BAPI to get Prices (Moving Average Price) and it just did not work very well. Because of the nature of the application I had to use RFC_READ_TABLE because then I can use powerful SQL expression for searching. RFC_READ_TABLE give you the ability to code the where clause which is quite enough.
I have included part of the code use in asp page to read ENT1027 for Mgroup and M description & number but without object creation. The other part of the code reads MBEW for price & quantity.
Code
lt;%
'#######################Diming the Structures
Call BAPIRFC.DimAs("Rfc_Read_Table", "FIELDS", MaterialSelection_RS)
Call BAPIRFC.DimAs("Rfc_Read_Table", "OPTIONS", Selection_RS)
'########################Search Type########################
' C contanis
' S Start with
' E Ends with
if searchtype = "C" then
FormatedSearch_Keyword = "%" & Search_Keyword & "%"
elseif searchtype = "S" then
FormatedSearch_Keyword = Search_Keyword & "%"
else searchtype = "E" then
FormatedSearch_Keyword = "%" & Search_Keyword
end if
'################# Flaged for deletion Materials #####################
if showdeleted = "No" then
Selection_RS.AddNew Array("TEXT"),Array("LVORM <> 'X' AND")
end if
'############## users can search three material group ################
'############## GROUPS: OFFICESUP TECOMHARD TECOMSOFT ###############
'##USER STILL CAN NAROW THEIR SEARCH BY SELECTING ON OF THREE#########
if MGroup = "ALL" then
Selection_RS.AddNew Array("TEXT"),Array("MATKL IN ('OFFICESUP','TECOMHARD','TECOMSOFT')")
else
Selection_RS.AddNew Array("TEXT"),Array("MATKL = '"& MGroup &"' and ")
end if
'#######################ADDING SEARCH KEYWORD TO STRUCTURE##############
if not Search_Keyword = "" then
Selection_RS.AddNew Array("TEXT"),Array(" MAKTG LIKE '" & FormatedSearch_Keyword & "'")
end if
Selection_RS.Update
'#######################ADD RETURNED FIELDS#########################
MaterialSelection_RS.AddNew array("FIELDNAME","OFFSET","LENGTH","TYPE","FIELDTEXT"),array("MATNR","000000","000000" ,"","")
MaterialSelection_RS.AddNew array("FIELDNAME","OFFSET","LENGTH","TYPE","FIELDTEXT"),array("MATKL","000000","000000" ,"","")
MaterialSelection_RS.AddNew array("FIELDNAME","OFFSET","LENGTH","TYPE","FIELDTEXT"),array("MAKTG","000000","000000" ,"","")
MaterialSelection_RS.Update
call BAPIRFC.Rfc_Read_Table("ENT1027", Material_RS, MaterialSelection_RS, Selection_RS, "~", "", "0", "0")
If Err.Number > 0 then
Response.Write "Error:" & "<BR>"
Response.Write " Err.number...... " & Err.Number & "<BR>"
Response.Write " Err.Description. " & Err.Description & "<BR>"
end if
'###########LOOP THROUGH RECORDSET
if not Material_RS is nothing then
do while not Material_RS.eof
loop
end if
%>
thanks
mrutyun^ -
Problems in the creation of strcture
hi,
Any body can help me when i am creating the strcture i am getting the error RFC system error for destination GTADIR_SERVER. what is this error how can i overcome from this.Try this:
Simply create an RFC connection of the name GTADIR_SERVER pointing to your system.
Call transaction SM59
Select ABAP connections and hit the create button
Enter GTADIR_SERVER as the RFC connection
Put your system name and system number (like your settings in SAP GUI) in Target Host and System Number fields
On tab Logon&Security provide client/user id/password
Hope That Helps
Anirban M. -
Hai there,
My ABAP colleague enhanced datasource with out code.
Issue is fields dont appear in extractor checker.
Give hints to solve this critical issue.Hi Kishan,
how u have enhance the DS? just go to Tcode RSA6 and select ur DS and click on append structure it wil ask for the extract just create a strcture with z. and select the object which u wwant to enhance. after that go to the tcode LBWE and click on deactivate and click on maintanance there u will find the communication strcutre in the rite pannel select ur enhance field and drag it to ur extract structure. And dont select hide in ur extract structutre screen if u want it in BW.
Khaja -
Hi,
I have to upload the data for the tcode QS21 for which there is a proper system available in the system,but i don't know how to use it ? i am new to the LSMW ,can anybody provide me guidelines that how to use it.goto LSMW tcode
goto 1st step
and select 3rd method(BAPI)
Business Object QPMK Master inspection characteristic
Method SAVEREPLICA Replication of QM master
Message Type QPMK Replication of QM master
Basic Type QPMK01 Replication of QM Master
2nd step
create one strcture name
3rd step
create your strcture fileds
4th step
mapping the strcture
5th step
map your strcture fileds to standard strcture
7th setp select your files
8th step assging your files
then follow next steps... -
LSMW direct input method - Equipment BOM
Hi Experts,
We have already written program for equipment BOM master in LSMW direct input method. I do not know about this direct input method.
Here they have maintained 2 source structures and relavant source fields. one for BOM header and other for BOM items. The first field they maintained is LINK in both the source fields. I really do not know what that field is all about. I checked in step specify files and found that they have previously mentioned two files, one for BOM header and other for BOM items. but when I tried to save in this step it gives me error that " No logical path specified". Can anybody tell me what is this error is all about.Please heip me to get out of this problem.
Thanks and best regards,
PraveenHi praveen,
LSMW does not accept two files.
In the step create source strcture
crte one structure with BOM header like with ZBOM_H.
Under that create another structure for item ZBOM_I.
ZBOM_H
ZBOM_I like this structure will will be.
In the step source fields.
crate onne variable with indicatoe header.While creating the variable we have field 'identify field content ' field in pop up screen 'H'.
assign all header files under identifier 'H'.
then under ZBOM_I create identifier with 'I'.
Assign all the item fields to this.
then map the fields.
In the file should be H header fields.
I item fields.
I
I.
Then Header .It should be like this.
in saptechnical u will get the examples go though them once.
Thanks -
Number of line exceeds in source file by 999 then create another IDOC
Hi
I am working on a scernario
There 3 source files and each file should may have more than 999 lines.
I need to create idoc only for 999 lines so when lines exceeds then new idoc should be created.
Can anyone tell me the resolution for the same.
Regards
RiaHello,
Change the FCC configuration.. as described in below.
Record set Strcture : *,999
Record Sets per message as : 1
To eliminate header : Document offset : 1
Try this by putting message protocol as file content convertion.
Thx
Subbu -
How can we create a data source on structures
Hi,
How can we create a data source on structures.
Regs,
abdulAbdul,
Welcome to SDN!
We can't create Datasource using Strcutres. We need to have base tables.
For Function Module Extractors, we will create strctures. We will use these strctures as Extract Structures. But, we will get the data from Base tables only not from Strcutures.
Strctures won't contain data.
all the best.
Regards,
Nagesh Ganisetti. -
Assign the postions to org strcture and maintian the relation ship
If , i have created all the org strcture now want to creat postiopns undre the org unit, and maintain the relationships .
pls help
rgrds
rjHi,
When you're in PPOME;
Select the org unit you want the position to reside.
Click "Create" button. In the window select position.
Enter short name, long name, beginning date and ending date.
Save it.
Regards,
Dilek -
Best way to creat an OBJECT in OM
Hi All,
As i know there are multiple options available to create Objects for OM,
Now what is the best possible way to create number of Objects in OM Out of the following.
PPOCE
PPOC_OLD,
PP01,
PO03,PO10,PO13
Please guide.You need to understand 3 core things to have good understanding of OM..
1) Objects
2) Relationships
3) Attributes
Each element of your org. structure is an Object. It is related with another object and it has certain attributes..
Org. Unit, Position and Person are different examples of objects each of which has its own attributes.. when you link them together it forms your org. strcture..
To depict very basic structure, you can use "Simple Maintenance" option.
You can use "Expert Mode" to define attributes of the objects..
And to do both activities at one place, you can do so through "Org. & Staffing" interface..
So organizational and Staffing interface is in detailed and coprehensive you may use it for better understandings.
The following are the detail transaction you may use .
AREA Mene T-CODES List of Activity
PP70 SAP Easy Access Organizational Management
PP7S SAP Easy Access Organizational Management
Organization and Staffing T-CODES List of Activity
PPOCE Create
PPOME Change
PPOSE Display
General structures
PPSC Create
PPSM Change
PPSS Display
Matrix
PPME Change
PPMS Display
Expert mode
PO10 Organizational unit
PO03 Job
PO13 Position
PO01 Work center
PFCT Task catalog
PP01 General
Simple maintenance
PPOC_OLD - Create
PPOM_OLD - Change
PPOS_OLD - Display
Regaards
Barket Ali Zafar
SAP HCM Consultant
Siemens Pakistan
+92-300-5521524 -
Need to create pop-up box in custom subscree in MM01
Hi,
I have a requirement where i need to include custom sub-screen in one of the tabs in MM01. The custom sub-screen has a button clicking on which should display a pop-up box, where user can enter values like some long text etc and then when user clicks 'Save' in MM01/02 the pop-up text along with other details should get saved into the z tables.
1. Created a custom subscreen and assigned it in SPRO under, Logistics-General -> Material Master -> Configure the material Master-> Define Strcture of Data screens for Each Screen sequence
2. Created a new screen of type 'modal dialog box'. This modal dialog box i want to use as a pop-up when user hits button on the custom subscreen.
Pls. confirm how this can be achieved.
ThanksHai,
1. Create a screen with modal dialog box and set the fn codes for continue, cancel and exit.
2. if sy-ucomm = 'BUTTON'.
call screen 100 starting at 25 05. // This is used to call the modal dialog box.
3.In PAI of screen 100 write this code
if you press on continue in modal dialog box then save the inputs what you are entered in the screen
if sy-ucomm = 'CONTINUE'.
ztable-field = field1.
insert ztable.
endif.
4. if you press on cancel then exit from the screen
if sy-ucomm = 'CANCEL'.
leave to screen 0.
endif.
Edited by: Ravi.Seela on Dec 21, 2011 12:34 PM -
Order quantity not being created from BAPI_SALESORDER_CREATEFROMDAT2
Hi Experts,
I am able to create the sales order but , quantity in the item is blank and ultimately no schedule line item is created even though i am passing the data into BAPI.
I tried some OSS notes and also tried some of the suggestions given in other threads but still not able to solve the issue.
Could sombody give an exact reason or solution for this proble.
Regards,
Praveen.you can pass value X in below strctures
if not ORDER_ITEMS_IN-ITM_NUMBER is initial.
ORDER_ITEMS_INX-ITM_NUMBER = ITM_NUMBER.
endif.
like check your assing values and put the condtion.....
ORDER_ITEMS_INX = ORDER_ITEMS_IN1X
ORDER_SCHEDULES_INX = ORDER_SCHEDULES_IN1X -
Hello All.....
I wan to create a structure dynamically at the run time... Is this possible........ Can you please let me know abou this.....Strcture you mean Dictionary one or Program Structure.
if it is inside the program check this..
REPORT zdynamic.
DATA: struct_type TYPE REF TO cl_abap_structdescr, "Structure
table_type TYPE REF TO cl_abap_tabledescr,"Table type
dataref TYPE REF TO data. "Dynamic data
*-Component Table and Work area
DATA: comp_tab TYPE cl_abap_structdescr=>component_table,
comp_wa LIKE LINE OF comp_tab.
FIELD-SYMBOLS: <t_table> TYPE STANDARD TABLE,
<s_table> TYPE ANY.
comp_wa-name = 'VBELN'.
comp_wa-type ?= cl_abap_datadescr=>describe_by_name( 'CHAR10' ).
APPEND comp_wa TO comp_tab.
*Create Dynamic table using component table
struct_type = cl_abap_structdescr=>create( comp_tab ).
table_type = cl_abap_tabledescr=>create( p_line_type = struct_type ).
*Create Dynamic Internal table and work area
CREATE DATA dataref TYPE HANDLE table_type.
ASSIGN dataref->* TO <t_table>. "Dynamic table
CREATE DATA dataref TYPE HANDLE struct_type.
ASSIGN dataref->* TO <s_table>. "Dyanmic Structure
break-point.
Regards
Vijay babu Dudla -
Error while Creating Presentation variable
Hi,I am new to OBIEE
I am facing this error:
"A numeric value was expected (received "max("Sales Measures".Dollars)").
Error Details
Error Codes: EHWH2A7E"
1.I am using paint rpd.I want to use presentation variable.
2.So i took two column in criteria 1.Region 2. Dollars
3.In Dollars edit formula ,I created presentation variable i.e. @{Doller_presentation}{max("Sales Measures".Dollars)} in the column formula.
4.And In the same column i use filter
Add ->presentation variable->variable exp =Doller_presentation and default =max("Sales Measures".Dollars)
5.I have added this request on dashboard page,but error is coming.
6.Also i have created dashboard prompt,
Set presentation variable to "Doller_presentation"
and in column formula :@{Doller_presentation}{max("Sales Measures".Dollars)}
and took that prompt on the same dashboard page.
so promt with 2 values are coming.1.All choces 2.13087528..may be ths is max value of dollar but on click its showing error as
"Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 42021] The query does not reference any tables. (HY000)
SQL Issued: SELECT 13087529 FROM Paint ORDER BY 1"
I am confuse abt use of presentation variable
Please Help,
Thanks
Kapil
[email protected]
Edited by: user13098263 on May 9, 2010 10:58 PM
Edited by: user13098263 on May 9, 2010 11:01 PM
Edited by: user13098263 on May 9, 2010 11:02 PM
Edited by: user13098263 on May 9, 2010 11:04 PMHi Rachit
You answered my doubt.This one really works . Thanks a lot !
But i have one more doubt i.e if have created the Presentation variable in the dashboard prompt and I want to use it in a report
i.e the scenario is If I have created a new column i.e " Revised Salary " in the Presentation Services and want the values to be entered there dynamically upon end users choice. For ex the end user selecrts value of 1 then the report would display an increament of 500 to all the employees in the " Revised Salary " column and if the end user select value of 2 .. the report would display a decrement of 500 in the " Revised salary column".
I am getting the following error :
========================================================================
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59001] Binary Logical operation is not permitted on VARBINARY, INTEGER operand(s). (HY000)
SQL Issued: SELECT "D0 Time"."T05 Per Name Year" saw_0, "D2 Market"."M04 Region" saw_1, "D4 Product"."P01 Product" saw_2, "D1 Customer"."C1 Cust Name" saw_3, "F1 Revenue"."1-01 Revenue (Sum All)" saw_4, CASE WHEN 0='1' then "F1 Revenue"."1-01 Revenue (Sum All)" +500 else "F1 Revenue"."1-01 Revenue (Sum All)" - 500 end saw_5 FROM "Sample Sales" ORDER BY saw_0, saw_1, saw_2, saw_3
========================================================================
Please NOTE : The column on which I want to do an increament is : "F1 Revenue"."1-01 Revenue (Sum All)"
Thanks
Maybe you are looking for
-
Hello experts, I'm quite new to FDM and Iv'e been trying to write a simple conditional mapping script with no success. for my entity dimension, in most cases, the source is ths same as the target though there are some cases where this does not apply
-
GL Account in Travel Expense infocube
Please can someone help me. What is the infocube I can use to link it with the one of Travel Expense in order to get the GL Account? I need to obtain the GL Accounts for expenses that are affected. Thanks!!
-
Zoom level as bindiing variable
Hi MapViewer folks, Is there an hidden binding variable that defines the zoom level for a geometry theme being rendered ? Like :mvqboxxl, :mvqboxyl, :mvqboxxh, :mvqboxyh when MapViewer is rewriting the SQL query for a given theme. Thanks Karl
-
Adobe reader end user license agreeement
A website wants me to fill out an e-form in pdf format, but says I must agee to the adobe reader end user licence agreement Can't figure out how to do this, as usual, Adobe is not help
-
? replacing french characters (��� ...)
Servlet displaying ? in place of �,�,�,....etc. Ive tried same servlet in tomcat and it works fine. Is there some obvious setting in iplanet that needs to be cofigured? I tried setting international characters under Content Management tab to ISO-8859