EXIT_SAPLMCS1_002 vs EXIT_SAPLRSAP_002
Hi,
what are the differences between EXIT_SAPLMCS1_002 vs EXIT_SAPLRSAP_002.
i checked SDN and search google, still not get the answer.
Please hlep me
Thanks
Hi Pria
First one Statistics update of Sales Order ---
Second one used in DataSource ( master data) enhancement in for BW
You can also check in SE37 if documentation are available for these 2 function exit.
One thread will give you use of first one
http://wiki.sdn.sap.com/wiki/display/BI/How-toenhanceLO-CockpitDataSourceswithdelta-relevantfields
Similar Messages
-
Syntax error on include of Function Module (user exit) EXIT_SAPLRSAP_002
When I do a syntax check in the a routine within inlude ZXRSAU02 of FM EXIT_SAPLRSAP_002, I get an error. This object has been in production so I must be doing the syntax check incorrectly. The error is 'Field i_t_data is unknown. It is neither in one of the specified tatble nor defined by a 'DATA' statement. This is strange because this field is defined in main body of this user exit. Please advise the correct way to do syntax check.
Thank you.Hi,
The reason for this might be, though it is used in main body- check the main body is not in the routine. Check the field is declared globally, if not try to check the field assigned to what type, & try to re-assign to same one(like your target place where to update the values, continue to Declare& add accordingly.)
- Dileep .C -
Error when activating "EXIT_SAPLRSAP_002" in CMOD
Hi ,
I'm trying to activate EXIT_SAPLRSAP_002 in my COMD, since I want to append a Data source for Master data, First time when I double click on EXIT_SAPLRSAP_002 it takes me to the screen where I see INCLUDE ZXRSAU02 there when I double click I get the follwowing Message in the Bottom tool bar in Yellow, I hit enter but still doesnot go, The below is the error,
"Program Names ZX..are reserved for Includes of exit function groups" Choose a different pgm.
any suggestions would be greatly apprecited.Hi Heera,
That's a warning for the programs starting with ZX. It's there just in case you are creating any Z program (not the exit one) and you name it ZX.... In your case, you are going to create that report just for what it was prepared. You should press enter and it should go. Check if you have development authorizations as well.
Hope this helps.
Regards,
Diego -
EXIT_SAPLRSAP_002 - Error
Hi,
I am trying to write the code in the include ZXRSAU02 of the FM 'EXIT_SAPLRSAP_002'.
When I open the FM, and double click on ZXRSAU02, I am getting the following error :
'Program names ZX... are reserved for includes of exit function groups'.
Can anyone Please help.
Thanks
Ramesh GanjiHi Edwin,
Thanks a Lot.
Appreciate if you have any sample code for ZXRSAU02. Basically, I want to fill the fields BAUJJ & BAUMM which comes from EQUI table.
I have included these fields in the 0EQUIPMENT_ATTR structure.
Thanks
Ramesh Ganji -
Table tab in EXIT_SAPLRSAP_002
Hi all,
In the table tab in the user exit EXIT_SAPLRSAP_002 there is a table defined
i_t_data,but the type is not specified.Now if i want to enhance this exit.
How can i use this table to fill values?
Because this table only returns the data that can be transfered.
Please reply.Its urgent.hi
any suggstion?
Regards -
No key field found for creation of DataSource - Classification Datasource
Hello,
While trying to create a clasiffication datasource based on 0PLANT_ATTR, when i assign a characteristic and push the DataSource button, i get the following message:
No key field found for creation of DataSource
Diagnosis
During generation of a classification or configuration DataSource, only those key fields for the object table (field "Obj.Tabelle") that are already present in the basis DataSource transferred to the extract structure. This is the case when none of the key fields of the object table were found in the structure of the basis DataSource.
System response
A DataSource cannot be created without key fields. The action was cancelled.
Procedure
Check whether you have selected the correct basis DataSource and object table. For more information, please see SAP Note 569849.
Do you know what can be the problem?
Thank you and regardsHi Alberto,
plants are a special case. The key which is used for the classification
of plants (object type BETR) is not the same as the key which is used in
datasource 0PLANT_ATTR.
BETR has key LOCNR (Site). That's a customer related to a plant. The
customer number will be extracted in field LOCNR.
0PLANT_ATTR extracts the plant in its key field WERKS.
Transaction CTBW and the generic extraction program for classifications
don't know the relationship between LOCNR and WERKS. So they cannot map
them.
I do recommend a solution which would add the mapping between
LOCNR and WERKS:
1. Create please the classification datasource as intended, but use
datasource 0RT_LOC_MGR_ATTR as basis datasource. It's the only
datasource of the content where LOCNR is a key field. So
0RT_LOC_MGR_ATTR is used as a dummy here, to allow transaction CTBW to
create the classification datasource. It's not necessary to extract
data with datasource 0RT_LOC_MGR_ATTR.
2. Extend please the extract structure of the created classification
datasource. Add please field WERKS using component type WERKS_D. Make
this field visible.
3. Fill field WERKS in the extractor user exit EXIT_SAPLRSAP_002. WERKS
can be read from table KNA1 by using the customer number extracted to
LOCNR to select on field KNA1-KUNNR.
4. Transaction CTBW_META on the BW system isn't able to append the
characteristics from the classification datasource to infosource
0PLANT, because the keys are different. So create please a new info
source with CTBW_META. This allows CTBW_META to create the info objects
for the characteristics used in the classification datasource.
5. Add please the characteristics used in the classification datasource
to infosource 0PLANT manually. You will find the info object names of
the characteristics by looking up the characteristic datasources which
are assigned to the classification datasource in transaction CTBW. From
these names you can derive the info object names:
1CL_A... -> C_A...
6. Disconnect the infosource which has been created with CTBW_META from
the classification datasource.
7. Connect please the classification datasource to infosource 0PLANT
Use following info object:
info object field
0PLANT WERKS
The info object names for the characteristics are explained in step 5.
8. Add an infopackage to infosource 0PLANT for the classification
datasource.
Now the extraction of classifications of sites should work.
Best regards,
Rolf
P.S. I saw the system messed it up and doesn't display any new and empty lines. Sorry, I hope you still can read it.
Edited by: Rolf Doersam on Mar 26, 2010 6:56 PM -
Hi,
I have enhnaced my LO DS with custom fields. Do I need to write exit to see the fields (not data) in RSA3? I dont want to see the data for the newly added fields, but I would like to see the fields in RSA3 columns?? Please suggest.HI,
for LO we add fields to communication structure as append structure then bring those fields into ur extract structure from comm structure in LBWE , by default for those fields hide and field only check boxes will be checked un select those and activate ur data source then those fields will appear in ur data source.
steps for data source enhancement.
You need to follow these steps
1) goto R/3 SE11 give comm structure name.
2) u will get ur comm structuter then u can see the append structure at the top left click onit
3) enter the NEW field starting with "ZXXXXX"
4) goto LBWE bringe those fields from comm stru to extract struc.
5) Save it
6) Go to Cmod and then create a project
7) the assign components as EXIT_SAPLRSAP_002 (for trasaction data)
8) Go inside the include and write a code to fill the values to ur NEW field from the table u wnat move
9) save the code and activate it
10) Go to RSA3 and test the extractor
11) check ur NEW field is there or not (if u dont find ur field go to rsa6 adn double click ur DS and then see that there is a HIDE mark i schecked or not)
12) if everything looks fine from R3 side
14) then Replicate the data source in BW
15) u will find the new fild in the Trasfer structure
16)assign to the IO which u want to mapp.. adn Activate it
17) Add a new IO in Cube
18) check all ur Update rules to map to fill the new IO from R3
19) The Load the data to Cube
assign points if it helps,
thanks,
pavan. -
How to use ZMATERIAL info object attribute in existing report
Hi all,
Using generic extraction we have created data source related that data source we have created navigational attribute for
info object ZMATERIAL. Data available for ZMATERIAL info objects. Now ZMATERIAL info object related navigational attribute
want to use in existing report.
For eg. Already sales report developed in that 0MATERIAL only using now i required to use ZMATERIAL also in that report
My requirment is ZMATERIAL related navigational attribute want to use in exisiting report, how to do that? kindly guide me.
ThanksGoto CMOD
Enter the projname
select component
click on display
--seelct the Fm EXIT_SAPLRSAP_002
-- double click on include program to insert your code double click on ZXRSAU02
Enter your code below
CASE i_datasource.
Sample code ...
WHEN '0MATERIAL_ATTR'.
LOOP AT i_t_data INTO lt_mara.
l_tabix = sy-tabix.
SELECT SINGLE ZCOMP ZSUPP ZPUBL ZIMPR ZFORM ZSUBJ ZSDET ZAUTH ZREDT ZPUDT ZADAT
INTO (lt_mara-zcomp, lt_mara-zsupp, lt_mara-zpubl,
lt_mara-zimpr, lt_mara-zsubj, lt_mara-zsdet,
lt_mara-zauth, lt_mara-zpudt, lt_mara-zADAT)
FROM mara
WHERE matnr = lt_mara-matnr.
Endloop.
Regards
KP -
REG:USER EXIT FOR DATA SOURCE 0HR_LSO_1
Hi ,
I have to write the enhancement ABAP code for data source 0HR_LSO_1 which is related to module " training and event management "(also known as LMS or LSO) in ECC 6.0 .
So how can I find out appropriate user exit for the same .I have to concentrate on the field "kostl (cost centre)" in that data source .
Please provide some suggestions .
Thanking You ,
Tarun Brijwani .Hi Tarun...
I this might help you.
In the HR System:
1) T-CODE: CMOD
2) Choose an existing project (vg: Z12345)
3) Modify
4) Press Components button
5) Look for the enhance: RSAP0001 (the BW extracting enhancement)
6) The you have one of the following option:
a- If the Data Source is "transaction data": The exit is "EXIT_SAPLRSAP_001"
b- If the Data Source is "master data": The exit is "EXIT_SAPLRSAP_002"
7) double-click in the appropriate one
8) You'll see an INCLUDE sentence. Could be this ZXRSAU01 or this ZXRSAU02 (depending on the previous step). Double-click and you'll be redirected to the SE38
9) some code:
CASE i_datasource
WHEN '0HR_LSO_1'.
LOOP i_t_data INTO my_struct
my_struct-KOSTL "Here you'll must have your Cost Center
...etc...etc...etc
ENDLOOP.
WHEN OTHERS.
ENDCASE
Hope it helps.
gdmon -
User exit for data source 0HR_LSO_1
Hi ,
I have to write the enhancement ABAP code for data source 0HR_LSO_1 which is related to module " training and event management "(also known as LMS or LSO) in ECC 6.0 .
So how can I find out appropriate user exit for the same .I have to concentrate on the field "kostl (cost centre)" in that data source .
Please provide some suggestions .
Thanking You ,
Tarun Brijwani .Hi Tarun...
I this might help you.
In the HR System:
1) T-CODE: CMOD
2) Choose an existing project (vg: Z12345)
3) Modify
4) Press Components button
5) Look for the enhance: RSAP0001 (the BW extracting enhancement)
6) The you have one of the following option:
a- If the Data Source is "transaction data": The exit is "EXIT_SAPLRSAP_001"
b- If the Data Source is "master data": The exit is "EXIT_SAPLRSAP_002"
7) double-click in the appropriate one
8) You'll see an INCLUDE sentence. Could be this ZXRSAU01 or this ZXRSAU02 (depending on the previous step). Double-click and you'll be redirected to the SE38
9) some code:
CASE i_datasource
WHEN '0HR_LSO_1'.
LOOP i_t_data INTO my_struct
my_struct-KOSTL "Here you'll must have your Cost Center
...etc...etc...etc
ENDLOOP.
WHEN OTHERS.
ENDCASE
Hope it helps.
gdmon -
Exit to be used for hr to update master data
Hi,
Can anyone tell me which exit shud be used to update master data in HR module.
My extraction structure is HRMS_BW_IS_ATTENDANCE.
i have to append 'ndays' n to fill this field which exit shud be used.
Thnx,
Regards,
Nishu GuptaHi,
Transaction Data:
EXIT_SAPLRSAP_001
Master Data:
Attribute: EXIT_SAPLRSAP_002
Text: EXIT_SAPLRSAP_003
Hierarchy : EXIT_SAPLRSAP_004
Happy Tony -
Do not Extract from PSA but Access Data Source (for Small Amounts of Data)
Hi Experts,
In the DTP, the above option is available for Full Loads for certain extractors but not for others, particularly, certain HR extractors?
Is there a way to make it available for HR extractors? Is there a setting that needs to be updated in ECC or in BI?
Thank you for your help!Hi,
There is no special setting for this, Please see the detail description:
Data is not extracted from the PSA for the DataSource; it is requested from the data source directly at DTP runtime.
Use
You use this mode for small data sets and full uploads, for example, small sets of master data. With file source systems, note that the file has to be available on the application server.
Dependencies
You do not have to create an InfoPackage in order to extract data from the source.
Data in the data source is accessed in "direct access mode". This has certain consequences, especially if you are extracting data from SAPI systems:
Data is extracted synchronously. This places a particular demand on the main memory, especially in remote systems.
The SAPI extractors may respond differently than during asynchronous load since they receive information by direct access.
SAPI customer enhancements are not processed. Fields that have been added using the append technology of the DataSource remain empty. The exits RSAP0001, exit_saplrsap_001, exit_saplrsap_002, exit_saplrsap_004 do not run.
If errors occur during processing in BI, you have to extract the data again since the PSA is not available as a buffer. This means that deltas are not possible.
In the DTP, the filter only contains fields that the DataSource allows as selection fields. With an intermediary PSA, you can filter in the DTP by any field.
Regards,
Kams -
hi all
In transaction CMOD , I can see lot of Z projects . I need to check only the ones that are affecting BW extractions . How can i see only ones that are somehow affecting BW ?
I need to know all r3 side user exits that are used for BW .
Thanks allHi,
basically this is only the enhancement RSAP0001 which includes the exit for transactional data (EXIT_SAPLRSAP_001), the exit for master data (EXIT_SAPLRSAP_002), the exit for texts (EXIT_SAPLRSAP_003) and the exit for hierarchies (EXIT_SAPLRSAP_004).
Hope this helps!
regards
Siggi
PS: Once you implemented these enhancements you can also migrate them into the newer BADI technic by going to transaction smod. -
How can I get the No. of package and requesting system name in user exit?
Dear all,
Is there anybody knowing how to obtain the extracting package number and requesting system name in the user exit "EXIT_SAPLRSAP_002" ? here is detail on my questions as below:
For package number. If extracting 100,000 records of 0MATERIAL_TEXT , and the package size is 20,000, then there are 10 packages, when executing the user exit, how can I know which package I am extracting on?
For requesting name, when executing the user exit, how can I know the logical system name from which the extraction request is sent?
Thanks.
best regards
PatrickHi Mansi,
Thanks for your quick response.
The background of this requirement is, in the datasource 0material_Plant_Att, we added two fields in the extraction structure, one is variable price, another is previous year's variable price, which need to be obtained by searching data KEKO & CKIS in the user exit, these tables have the huge data volume, in each data package, the user exit needs to be executed once, so the heavy searching needs to be done once, consequently, the total running time of this request including several data packages is very long. In order to improve the performance, we design the following logic:
1. Create the temporary tables YCKIS & YKEKO in R/3.
2. Run BW request in BIW.
3. In R/3, If this is first data package of this request, delete all data in YCKIS & YKEKO, then search the data from CKIS & KEKO ( Average 20 million records), then insert these data into YCKIS & YKEKO ( Average 0.2 million records).
4. In R/3, if this is not first data package of this request, then search the data directly from YCKIS & YKEKO.
You can see in the above, in the step 4, the data searching performance can be improved significantly due to reading data from temporary table, this is why I need to know the No. of data package. In addition, apparently, it can not be done in BIW side since the performance issue is in the user exit rather than in BIW. Also it is very difficult to setup one counter to deliver this since we do not know when to reset the counter. For example,
- Assuming there are 3 data packages.
- 1st day, we schedule one request from BIW, in R/3,
-> At 1st package, counter = 0+1=1
-> At 2nd package, counter =1+1= 2.
-> At 3rd package, counter = 2+1= 3, then reset counter = 0 for next request.
Question 1: How can we know the 3rd package is last one?
Question 2: If during the 2nd package, the extraction job is cancelled exceptionally, the counter value is 2 not 0, then for the next request, the data searching is not correct, right.
Hope the above is clear, and apology this email is too long.
Thanks.
best regards
Patrick -
Hai Gurus
I am having one requirement from the Client.
The requirement is
In LO -
2LIS_02_ITM
when the PSTYP (Item Category In Purchasing Document) = 2 then I should get Net Price from Table EINE.
Can anybody help me to write the code to satisfy the condition.
Awaiting ur Replies
Regards
MahiHey Mahi,
Go thru this PPT.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5.
If you still have queries get back to SDN.
Following are the steps to enhance the Structure.
1. go to RSA6.--- all DS which are already active
2. Select Your Data Source, which you want to enhance.
3. Select display Data Source (Ctr+F2)
4. Double click on the Extract structure.
5. Click on the Append Structure.
6. Add the required fieds starting with ZZ*.
7. Avtivate the Append Structure.
CMOD....
1. Enter the Project name and click on create
2. go to components select the required function module.
EXIT_SAPLRSAP_001 for Transactional DS
EXIT_SAPLRSAP_002 for Master DS
Goto SE37 and enter the Respective Function module (ex . EXIT_SAPLRSAP_001) and click on the include zxxxxx. then write the code to populate the extra fields added to the DS.
please assign points if its helpful to u .
Regards,
BVC
Message was edited by: BVC
Maybe you are looking for
-
Ipod permanantly stuck with apple logo and not responding!
help help I had some problems changing my 3G ipod from a windows formatted ipod to a Mac formatted ipod. i tried reformatting using disk utility on the mac... and it took a really really long time so i disconnected the ipod... and now, the screen sho
-
Hyperlink highlights issue from upgrade to Acrobat 9
Hello I have recently upgraded to Adobe Acrobat 9 Pro Extended. I have a pdf created from ArcGIS and Map2PDF which contains hyperlinks. The hyperlinks work fine but when selecting them they highlight a black rectangle area which contains the hyperlin
-
Can i embed html code into my email signature
I am trying to create a e-mail signature that includes an image as well as html code. I have no idea how to get this done. Help!
-
Problems extracting tar.gz and zip
Hi ^^ So, I'm running Arch and Openbox and I was going to install GTK2 themes when I noticed my tar.gz file wouldn't open - then I remembered I hadn't installed p7zip and so I did - still no luck... I even rebooted the computer, but still no luck...
-
Can the latest version of numbers [mountain lion] import data from filemaker version 12
can the latest version of inumbers [ mountain lion ] import data from the newest version of filemaker 12 ?