Explain how to use standard LSMW for MM01
Can anyone explain how to use standard LSMW for MM01 Tcode.pls explain briefly.
Hi
Create a project using 0020 as method.
Max
Similar Messages
-
How to use standard APIs for customized services
Hello,
I try to use IUserMappingService which has some hard coded paths to services (user mapping service). However sys admin customized the services location and it's impossible to use standard SAP libraries. For example, the standard library has a path: "com/sapportals/portal/prt/service/usermapping", but a customized path is "com/sap/portal/pdk/srv/usermapping". When I run this iView, I am getting a message: Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/prt/service/usermapping/IUserMappingService
Please advise.
Thanks,
YanI guess i know what the problem is. How have you given a reference to the UM service in the portalapps.xml file ??
I think you would have given the reference as "UserMapping". Now the PRT will look for this particular service and in the portalapps.xml of this service the ClassName would be defined as com.sapportals.portal.prt.service.UserMapping, which the PRT is not able to find.
You can try giving the FQN in the service reference, but i doubt it will work because the PRT will still look for the above class name at the predefined location.
Regards, Akhilesh -
How to use standard Infostructures for SIS Reports
Now I see many available standard info structures in the infostructures list.Is there any way we can use the standard ones in the repoirts without the need to create infostructures??
or there any other alternative???Sam, actually SNavaneetha has already answered your question correctly. You don't need to create any new info structures and may use the standard ones. You just need to configure the update according to the business requirements. But since you keep asking about configuring "the reports" I think you might be a bit confused. For the standard info structures we only need to configure the update. Each info structure already has its own report (you'll find them on the SAP menu). If you run MCSI transaction, you won't find any standard info structures on the list because this transaction is for the custom ones.
You might want to read the documentation, it's not that long and I think the steps are explained rather well:
http://help.sap.com/saphelp_470/helpdata/en/8c/fd5878a94711d1890a0000e8322f70/frameset.htm
From "my" document you'll only neeed these steps:
Assign Update Group at Item/Header Level (p.12)
Maintain and Assign Statistics Groups (p.13) - no need to create any new groups, use standard 1 and 2
Then make sure the update is activated in transaction OMO1. Note that the info structures will start to fill in only after you do the configuration. If you need to populate the data from the existing documents, follow the instructions starting on p.32. -
Hi..how we enter standard text for smartform using include text
hi
guru
..how we enter standard text for smartform using include text..
i know only using so10 we write text..
in smartform it asking text-object
text-id,
so what values we should give to get textHi,
Do u want to print Standard Text or the Texts that are maintained at the Transaction level.
If it is standard text , then u use text id as ST or if it is Texts that are maintained at the Transaction level then u have to go to that specific transaction and check for that text , then go to text editor ,in the goto menu u have header data where u get the Text id , text name.... , use them in ur smartform in the INCLUDE text.
Further u have the option of text modules in smartforms which act as standard texts, so if u r going for creation of standard texts then its better to use text modules.
Regards,
Shafivullah Mohammad -
A small logical problem in LSMW for MM01...
I need to create a LSMW for MM01 transaction, wherein I have to check the initial four
digits of the material as 'ORCL'. If initial four digits of the
incoming material are 'ORCL', then create this material as it is.
Else replace these four digits with 'SAPM' (for sap material) while
creating this material.
This will differentiate between materials coming from Oracle and non
oracle system.
I know that I need to create a new rule in the step 5 of LSMW: "Maintain Field Mapping and Conversion Rules", under the ABAP heading.
But, how should the rule proceed??
Pls help me out!!!awesome! thnks a lot naimesh.... you are tooo goood!
Can you please help me again...??
Now, I need to replace the records which are not 'ORCLXXX' with SAPXXX format. For example, say a record has the material number as ORCL007. This will pass on and created as ORCL007. If a record has the material number as MMMM007, this should be converted to SAPM007.
Should I use fieldsymbols for this, or just replace the strings??
This will be the last, I promise.... -
Pls explain how to add standard text in sapscript & smartforms
Dear friends,
pls explain how to implement standard text into sap script and smartforms.
in how many we can do.
and what is diff between include text & text modules in smartforms.
how we can translate into multiple languages.
Regards
Jagadeeshwar.Bhi,
for the include text goto tcode so10.
for changing the smartform and scripts use there methods..
1. goto se63>translation->abap objects->other long texts->FS Forms and Styles---> for scripts use Forms
for smartforsm use SAPSmart form
for styles use Styles
2. goto se71->utilities->original language.---> source lang
(for scripts) target lang
to include the include text created in the tcode so10 in the smartforms go to general attributes of the text element--text type> include text...
regards,
venkat.
Edited by: venkat appikonda on Mar 22, 2008 11:56 AM -
Hi Any body Knows How to use CAT Tool for Up Loading?
Hi
If any body knows how to use CAT Tool for up loading transactions, explain the steps.
Our requirement is, we want to up load transactions like Oppor , Quotation,Order etc...we want to up load these transcations from Local system to CRM Server
how to do this? Let me know the steps.
Regards
VenkatIf you have 10,000 or less, CATT is a reasonable method, but I would suspect that you have far more than that if you're needing to load transactions.
LSMW is probably a better way to go if you have more than 10k, but I am not familiar with LSMW -
How to use same actions for differ pop-up
Hi gurus,
I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
Plz sugges me.
<b>Points will be sured.</b>
Sanket sethiHi,
Take one integer value attribute in the context of view
when you r performing action on POP1 set it's value to 1
when you r performing action on POP2 set it's value to 2
create one method which receives integer argument, say diaplay(int a)
In the action call display(wdContext.currentContextElement().get<intvariable>()) by passing the value in the context attribute
in display() method, Check the value of integer variable..
if it is 1 then perform action related to POP1
if it is 2 then perform action related to POP2
Regards
LakshmiNarayana -
How to use same actions for differ pop-up buttons
Hi gurus,
I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
Plz sugges me.
<b>Points will be sured.</b>
Sanket sethiHi ,
u can use the method SUBSCRIBE_TO_BUTTON_EVENT of the IF_WD_WINDOW interface ... to handle the event fired by the popup .....used this method after creating the popup window ...
regards
Yash -
How to Use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA
Hi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendarHi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendar -
How to use standard texts in smartforms
Hi Friends,
How to use standard texts in smartforms, ie in scripts we are using standard texts using tr so10.
thanks in advance,
regards,
sharma.For long text
method1
Create TEXT node- general attributes change text type to include text
then you can input text name/text object/text id/language
method2
create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
then use LOOP or TABLE node to display it
For TEXT module(For foreign language)
Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
then enter smartform Create TEXT node- general attributes change text type to text module
input the text module name which created by above
btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10 -
How to use standard function keys as custom keys
how to use standard function keys as custom keys.
i have encountered that problem while developing a screen, there i'm supposed to use standard function key F2 ( which actually meant for choose) for clearing the screen fields where the cursor is present and f1 for saving data that entered in screen fields, etc...
kindly help me out.Hi ,
Solution to use SAP reserve function keys F1 .. F4 (mostly this requirement comes up for RF screens) can be acheived by assigning your new Function code using the Menu path Utilities --> F key Consistency in the Menu Painter (SE41) . Once you assign your cutom function code to the standard Fn keys the only remaining step is to make sure that you set a curson on any of the field on sceen by using the Key Word "SET CURSOR" .
If you dont use the key word SET CURSOR in the PBO of the screen then you might not see any response for F4.
Thanks -
How to use standard SAP stylesheets in WAD
Hello ,
I created a new Web template.
Assigned a data provider, inserted a table.
In order to view i include a Analaysis box in one of the cell of Table.
Now i need to change the colours of result rows.
How to use Standard Stylesheets provided by SAP.
Where this stylesheets will be located
Under which properties.
How to use those.
How to edit those and save as we wanted.
An y step by step documents, please send it to [email protected]
I want to include Information button in Template, so when executing if user click this button he/she should know,
What are provided variables and if they chosen some specific variable restriction to see the result,
Also by default this information should get print.
In standard sap portal, this button is located on upper right corner.
Please advise.Thanks Rusty,
Thats exactly right,
I included a naviagtion block and it worked well
But while printing the query on Web template, It only prints the data that is coming in Analysis block.
Similarly while running the query thru BEX to Portal,
Navigation block is on left, but while printing it prints exactly every data in Information tab.
Information is the button located on upper right corner.
If you click, it will give you information such as , which restrictions u did, which extra filters you added everything.
And while printing it prints this information too.
I want to do the same designing for my custom Web template.
How can i do that.
I already added navigation block, so it will be easy for users to drag and drop Chars and KFs in rows and columns as well as filter if they needed.
I hope you are trying to understand.
Also for using stylesheets can you suggest.
So that i can make changes to row and columns.
I am unable to locate stylesheet in any of the properties. -
How to use standard workflows in my company?
Hi Experts,
I want to know how do i use standard workflows for my company. I have searched forum, but coudn't find proper answer. I have seen some standard workflow numbers(eg.WS12300111). But when i search for them it wont works. It will pop up "Choose Workflow Template" window. When i select the module there it opens up the empty folders.
What is the meaning of this?
Can i know what do i need to do for overcome this problem?
Thanks,
Rashika.Hello rashika ,
To differentiate between standard and custom workflows .
All custom workflows would have first three digits lying betwee 900-999 ( called prefix number range )
The number range 90000000 - 99999999 is reserved for customer developmen t and the range 00000000 - 89999999 is reserved for SAP.
Or to know precisely what exactly is the number range of custom workflows in your system , check through tcode OOW4.
To help with your search in HR workflow , I am providing some -
HR -OM
WS01000014 Execute Designated Personnel Action
WS01000038 Consolidate Headcount Planning
WS01000039 Generate Headcount Planning
WS01000040 Create Vacancy for Position
WS01000041 Delimit Vacancy for Position
WS01000043 Error in processing a vacancy
WS01000077 Execute Designated Personnel Action
WS01200136 Message New Employee in Department
HR-PA
WS00400077 Absence approval (asynchr. unlock)
WS00400078 Handling of unapproved absence
WS00400095 Display approved absence
WS00400220 Preparations for start of work
WS00400221 Choose letter
WS00400222 Approve absence (sychr.unlock)
WS01000015 ESS Plausibility check change of address
WS01000036 ESS activities after hiring
WS01200175 Entry due to country reassignment
WS20000003 Pay increase approval with SAP forms
WS20000015 Approve absence
WS20000017 Determine basic pay items
WS20000018 Resubmit postponed pay increase
WS20000057 Find and Lock Employee
HR-TM
WS01000109 Cancel leave request
WS01200003 Find and Lock Employee
WS04200009 ESS Leave Request
WS12300111 General Workflow for Documents
WS12400004 ESS Leave Request Without Approval
WS12400005 Cancel absence
WS12400007 Cancel Absence Without Approval Step
WS20000081 Leave Request with HTML
HR-PY
WS01000090 W-2 form reprint
HR-BN
WS01000001 Initial enrollment Benefits
WS01000002 Create offer and inform employee
WS01000003 Create adj. reason because of event
WS01000009 Check if the employee is locked
Thanks,
sahiba -
How to use standard tags in JSP
Hi all,
Just wanted to know how to use standard tags of endeca in JSP ... say for example to display Dimension Name using standard tags.
Thanks
--Sami was just checking whether we can use endeca TAG'S ( typo mistake in my earlier post not the JSTL standard library )....in my JSP
We cannot use endeca TAG ...as they are for different purpose.
Sameer
Maybe you are looking for
-
Domain redirect and Internet Explorer behavior with cookies
Hi team, I'd like to ask if the following behavior is "normal" or if there are some possible or better workarounds. 1. My application uses HTMLDB internal authentication (via login page). Session management therefore is based on cookies. 2. I registe
-
How can i fix (the maximum number of free accounts have been activated on this iphone)
how can i fix (the maximum number of free accounts have been activated on this iphone)? please help to me.it`s for iphone 4S.
-
Migrating library to new Mac?
I want to migrate my exisiting Aperture library (referenced) with its adjustments,etc from my mini to my new iMac. Whats the best way to do this?
-
Hi Abappers, I need books for sap-internal audit, plz suggest me the books on all sap-modules(MM,SD,PP,QM,FICO,PM). Regards, simba.
-
Hi. My Mother, who is getting on, complains all the time about not being able to contact most services as her phone line and phone were installed in the 60's, and has never been updated, so whoever she contacts if the phone response is Press 1 or 2 f