Roles for SAPUSER in SAPR3---Urgent pls help
Hi,
Since my Roles for SAPUSER is blank
http://www.flickr.com/photos/10351754@N08/858043167/
I have to create Role
Now I am in SAP R3 and what are all the Roles I have to Create in SAP R3 for SAPUSER?
pls let me know
thanks
dushanth
hi,
You can assign the relevant roles to the user you have basing on the requirements. It is not necessary that each and every user should by default have roles except for service and system users. So no tension..
Reward if helpful,
Sarath.
Similar Messages
-
Why i have been billed six times for the same item? Pls help how to refund..
Did you change your card details on your account a number of times when trying to purchase the item, and five of them are temporary store holding charges : http://support.apple.com/kb/HT3702 ?
If they are all 'proper' charges then try the 'report a problem' link to contact iTunes Support : http://reportaproblem.apple.com
If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption -
Hello Everyone,
We all know whenever we try to connect to a PC which is not on network, we get UnKnownHostException etc..... by which we can detect that the corresponding PC is not an network(intranet/internet)
But when i send a msg from my PC to my PC, it works fine even if the network is down. I hv provided my PC's IP address instead of using localhost or 127.0.0.1 which reduces the possibility that the msg will not be traversed thru the network.
Any IDEA how this works.
Is There any possible way by which i can detect that my PC is not on network or the PC to which i'm trying to connect is not on network .......
Pls help me out, its really urgent as to be implemented in my Project
Thanks In Advance
Sahil ShaikhHello Surtee
I have developed a Messeging Service for the eCRM Apllication my company is developing and we r in the final stage of debugging.
Now whenever a user sends a msg to a PC which is not on network, the messaging service automatically sends an Offline mssg to that PC. But know i want ot distinguish wheather the PC to which i'm sending the msg is not on network or am I not on network based on this i need to perform diff. actions, hence i wanted to know that how can i detect .......
Pls see if u canhelp me out ......
Thanks
Sahil Shaikh -
Very Urgent Pls help : Change of payload type to user-defined types
Hello Experts
I was using sys.xml_type as payload type in my queue table creation.
consider xml message
<order>
<id>1</id>
<load rerer="mq" erere='gg" > </load>
</order>
This i inserted into queue table using enqueue process.
this is done.
BUT NOW My manager wants to change the payload type.
he created a type
create or replace type systype as object (msg varchar2(4000));
Now payload type of queue table is changed to
PayloadType==>aq.systype.
Pls help me how can i insert xml messages into this queue table.
This is very urgent. Pls help me
SI've just read this thread three times and I have absolutely no idea what you are doing, in what version, and what you are asking for help with.
Do you want to change the message type? If you do you MUST drop the queue and start over again from the beginning.
Do you want to enqueue messages?
Post your DDL and other relevant information or you are on your own. We can not guess at your issue. -
Sec. Edu Cess not Flowing in MIGO - Urgent Pls help
Dear Friends
We have created a IMPORT PO,
Invoice verification is done with all necessary cess and duties which flown.
with the MIRO document and year, when we do MIGO, i am able to see duty, cess but secondary edu.cess is not flowing.
I tried to enter it manually also, but it is not accepting (field is open).
I have checked the settings.
The similar kind of PO, before it had been done, MIRO done, MIGO also done with proper flow of all values. But for this particular PO only problem existing.
Only difference between the two PO is problematic PO is with account assignment category Q.
Pls treat this urgent and help me in solving the same friends.
regards
PanneerFor Imports, condition type for SECess is <b>J1CV,</b> you have to maintain this condition type in Excise Defaults of CIN Customization.
Note - You cannot use any other condition type for SECess for Imports other than J1CV.
Cheers..
Santosh.D
<i>Reward Points if Helpfull</i> -
Its urgent pls help me .
how can i call a portal from webdynpro application
my requirment is
i was created webdynpro application.
in that i was created one view . in that i was created one button (go).
if i click that button i want move some other portal.
how can i acchive pls help me.
its urgent.
pls send any example programe
Message was edited by:
madipadiga nagaraju
Message was edited by:
madipadiga nagarajuhi,
there is no direct tcode for going to webdynpro component/interfaces in ecc 6.0.
but u have se58 in ecc 5.0,as webdynpro convertor.u give ur program name and click web dynpro convertor button then it takes u to se80 .but this wda(webdynpro abap) component comes as in application tree hierarchy .
i can say in wda component refers a class .if u select webdynpro component/interface,it ask u to create a class or interface.
after that it automatically generate component controller(it is also a class),
interface view and windows.all these 3 are classes.for every window one interface view will be created.ie.. window is internal visible where as interface view is external visible.
u create view and embed these views in windows.by going to the window layout,right click on the window name and click embed view.u can enbed as many view as u wish.in order to navigate from one view to other view ,click "create navigation" by right clicking the view plugs.
by default windows and view have inbound plugs.this is literally a event of that class.
if u want to navigate from view1 to view2 ,create outbound plug for view1,the click outbound plug of view1 and right click the click create navigation the select inbound plug of view2.
then create a application .this is simillar of creating an object.
click on this object and test .this will open in browser.
for deploying u have use "sap webdynpro iview". -
Hi guys (very urgent pls help me out)
i have an doubt that iam using JBoss AS, my scienraio is
inital when start my Application Server it will connects to mysql DB datasource, i will retrieve some values those are DB Names like oracle,sql server,db2 etc in my JSP page iam placed at combo box upto this i am very much successful but now my problem is after gettinh those values in html select box.
if user selects Oracle and in the same screen user can enter connection config details and after submitting the request. At runtime App Server want to connect for that particular Database.
for ex Oracle and its connection parameters then it want to connect that particular Database without restarting the server.
so mysql is internal DB and Oracle is external db. how to manage this scienraio
please anyone knows solution, pls help me out......
regards
Yadavhi
the message is very clear that the sold to party ur refering is not from the same sales area. if u have the customer already then extend the same to the said sales area, by common division and distribution channel
<b>reward points</b>
Regards -
Download ALV to EXcel- Urgent pls help me
Please help me in this...
I have an ALV report around 120 column. The report is displayed perfectly on screen. But when I use the Export option to download as an excel file, some data is missing in SAP No field
For example
My report output is like this
sap No Name Jobdes. Dept
00021 AAA clerk1 FI
00022 BBB clerk1 FI
00023 CCC clerk1 FI
00024 DDD clerk1 FI
00025 EEE clerk1 FI
00026 FFF clerk1 FI
Excel output is
sap No Name Jobdes. Dept
00021 AAA clerk1 FI
Blank BBB clerk1 FI
Blank CCC clerk1 FI
Blank DDD clerk1 FI
00025 EEE clerk1 FI
Blank FFF clerk1 FI
Pls help meHi Kumar,
Pls try the below Function Modules to download the data to excel.
ALSM_EXCEL_TO_INTERNAL_TABLE
KCD_EXCEL_OLE_TO_INT_CONVERT Uploads data directly from Excel sheet
RH_START_EXCEL_WITH_DATA Starts Excel with contents of an internal table
or the below links also might help you.
For uploading Excel to Internal Table??????
Data from Excel sheet to my internal table
Check the following link:
http://www.sap-img.com/abap/upload-direct-excel.htm
or even the below code might be helpful.
Multiple excel sheets generation in a workbook
CREATE OBJECT EXCEL 'EXCEL.SHEET'.
GET PROPERTY OF EXCEL 'Application' = APPLICATION.
SET PROPERTY OF APPLICATION 'Visible' = 1.
CALL METHOD OF APPLICATION 'Workbooks' = BOOKS.
CALL METHOD OF BOOKS 'Add' = BOOK.
CALL METHOD OF BOOK 'WORKSHEETS' = SHEET.
CALL METHOD OF SHEET 'ADD'.
Fill all the sheets with relavant data
PERFORM SHEET1 TABLES ITAB1.
PERFORM SHEET2 TABLES ITAB2.
PERFORM SHEET3 TABLES ITAB3.
PERFORM SHEET4 TABLES ITAB4.
Quit the excel after use
CALL METHOD OF EXCEL 'QUIT'.
FREE OBJECT: COLUMN,SHEET,BOOK,BOOKS,APPLICATION,EXCEL. "NO FLUSH.
CLEAR V_SHEET.
FORM FILL_CELL USING ROW COL VAL.
CALL METHOD OF SHEET 'cells' = CELL NO FLUSH
EXPORTING #1 = ROW #2 = COL.
SET PROPERTY OF CELL 'value' = VAL.
FREE OBJECT CELL NO FLUSH.
ENDFORM. " FILL_CELL
FORM SHEET1 TABLES ITAB1 STRUCTURE ITAB1.
V_SHEET = Sheet Name.
V_NO = V_NO + 1.
CALL METHOD OF BOOK 'worksheets' = SHEET NO FLUSH EXPORTING #1 = V_NO.
SET PROPERTY OF SHEET 'Name' = V_SHEET NO FLUSH.
PERFORM FILL_SHEET1 TABLES ITAB1 USING V_NO V_SHEET.
CALL METHOD OF SHEET 'Columns' = COLUMN.
FREE OBJECT SHEET.
CALL METHOD OF COLUMN 'Autofit'.
FREE OBJECT COLUMN.
ENDFORM.
Repeat above procedure for all sheets you want to add
FORM FILL_SHEET1
TABLES ITAB1 STRUCTURE ITAB1
USING V_NO V_SHEET.
ROW = 1.
PERFORM FILL_CELL USING ROW 1 'Column1 Name'.
PERFORM FILL_CELL USING ROW 2 'Column2 Name'.
PERFORM FILL_CELL USING ROW 3 'Column3 Name'.
ROW = ROW + 1.
LOOP AT ITAB1.
PERFORM FILL_CELL USING ROW 1 ITAB1-Column1.
PERFORM FILL_CELL USING ROW 2 ITAB1-Column2.
PERFORM FILL_CELL USING ROW 3 ITAB1-Column3.
ROW = ROW + 1.
ENDLOOP.
ENDFORM.
Repeat above procedure for all sheets you want to add
Try this also
TYPE-POOLS: truxs.
DATA: it_raw TYPE truxs_t_text_data.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
Upload Excel file
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = it_raw
i_filename = p_file
TABLES
i_tab_converted_data = i_XCEL[]
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Pls reward if useful.
THanks,
Sirisha -
Navigation Problem in JSF - Urgent, pls help
hi,
I have a problem while navigating into a popup using a custom commandLink which opens the popup.The problem is that when i close the popup and return to the parent JSF and click any button or link in the parent, the page navigates to the page that was shown in the popup. This is my custom component:
<hl:helplink id="alternateIdHelpLink" rendered="true" actionListener="#{helpBean.handleEvent}" value="Help" action="helpNeeded" target="NewWin" onclick="javascript:openPopup();"></hl:helplink>I have specified the navigation 'helpNeeded' inside the faces-config file which navigates to the page that is shown in the popup. So the problem is that i am unable to navigate to any other page after i open the popup(even after closing it).Can anyone pls find a solution for this problem.
thanks and regards
soorejkumarThanks Sergey.Smirnov for the code..but its not working :-(...
This is my javascript for opening the popup in my help.js file:
function openPopup() {
var windowDefn = "width=800, height=400, location=no, menubar=no, status=no, toolbar=no, scrollbars=no, resizable=yes";
win=window.open('',"NewWin", windowDefn);
}On clicking the Custom Command Link the popup is opened. But then when i return back to the parent and click any other link or button the contents inside the popup is being displayed.
<hl:helplink id="alternateIdHelpLink" rendered="true" value="Help" onclick="openPopup()" action="#{helpBean.execute}" target="NewWin" actionListener="#{helpBean.handleEvent}" ></hl:helplink>I tried to hard code the path of the jsf file into the popup but that gave an error that 'Page Cannot be Displayed'.
I tried to get the path of the JSF using the contectPath as follows:
var path= <%= renderResponse.encodeURL(renderRequest.getContextPath() + "/pages/epsHelp.jsp" %>;
window.open('"+path+"','helpPopup','height=200,width=400,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes');",null);When i viewed the source of the parent page the javascript was showing the correct context path ie "/help/pages/myjsf.jsp". What might be the issue.Can you please help..
Thanks
soorejkumar -
Download data to Excel- very urgent pls help
Hi Experts
Following is my coding. i need to download and save the it_material table as Excel file.
pls help me out
REPORT zvio1001 LINE-SIZE 190
LINE-COUNT 55
MESSAGE-ID zz
NO STANDARD PAGE HEADING.
TABLES: mara,marce,makt,marc,mvke,zmpkg,t005t,cdhdr.
DATA : BEGIN OF it_mara OCCURS 0,
mandt LIKE mara-mandt, "Client
matnr LIKE mara-matnr,
meins LIKE mara-meins,
laeda LIKE mara-laeda,
aenam LIKE mara-aenam,
END OF it_mara.
DATA : BEGIN OF it_marc OCCURS 0,
matnr LIKE marc-matnr,
werks LIKE marc-werks,
END OF it_marc.
DATA : BEGIN OF it_makt OCCURS 0,
matnr LIKE makt-matnr,
maktx LIKE makt-maktx,
END OF it_makt.
DATA : BEGIN OF it_zmpkg OCCURS 0,
matnr LIKE makt-matnr,
zppqt LIKE zmpkg-zppqt,
zspqt LIKE zmpkg-zspqt,
zpmqt_3 LIKE zmpkg-zpmqt_3,
END OF it_zmpkg .
DATA : BEGIN OF it_material OCCURS 0,
mandt LIKE mara-mandt, "Client
werks LIKE marc-werks,
matnr LIKE marc-matnr,
maktx LIKE makt-maktx,
meins LIKE mara-meins,
zppqt LIKE zmpkg-zppqt,
zspqt LIKE zmpkg-zspqt,
zpmqt_3 LIKE zmpkg-zpmqt_3,
laeda LIKE mara-laeda,
aenam LIKE mara-aenam,
date LIKE sy-datum,
time LIKE sy-uzeit,
user LIKE sy-uname,
END OF it_material.
P a r a m e t e r s *
Start of tabbed screens
SELECTION-SCREEN BEGIN OF TABBED BLOCK list FOR 20 LINES.
SELECTION-SCREEN TAB (30) gc_gen USER-COMMAND gen_tab
DEFAULT SCREEN 1001.
SELECTION-SCREEN TAB (30) gc_view USER-COMMAND view_tab
DEFAULT SCREEN 1002.
SELECTION-SCREEN TAB (30) gc_outp USER-COMMAND outp_tab
DEFAULT SCREEN 1003.
SELECTION-SCREEN END OF BLOCK list.
SELECTION-SCREEN BEGIN OF SCREEN 1001 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK box01 WITH FRAME TITLE text-401.
PARAMETERS : p_werks LIKE marc-werks OBLIGATORY.
PARAMETERS : p_vkorg LIKE mvke-vkorg OBLIGATORY.
SELECT-OPTIONS : s_matnr FOR mara-matnr.
SELECT-OPTIONS : s_mtart FOR mara-mtart.
SELECT-OPTIONS : s_mmsta FOR marc-mmsta. "A01
SELECT-OPTIONS : s_dispo FOR marc-dispo.
SELECT-OPTIONS : s_beskz FOR marc-beskz.
SELECT-OPTIONS : s_lgpro FOR marc-lgpro.
SELECT-OPTIONS : s_lgfsb FOR marc-lgfsb.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-014.
PARAMETERS : p_repall RADIOBUTTON GROUP sel2 DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-011.
PARAMETERS : p_change RADIOBUTTON GROUP sel2.
SELECTION-SCREEN COMMENT 36(1) text-013.
PARAMETERS : p_chgdat LIKE sy-datum DEFAULT sy-datum.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-010.
PARAMETERS : p_excdel AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK box01.
SELECTION-SCREEN END OF SCREEN 1001.
View Selection Screen
SELECTION-SCREEN BEGIN OF SCREEN 1002 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK box05 WITH FRAME TITLE text-403.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(77) text-109.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-021.
PARAMETERS: p_sales AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN COMMENT 38(20) text-022.
PARAMETERS: p_mrp AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-023.
PARAMETERS: p_store AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN COMMENT 38(20) text-024.
PARAMETERS: p_accnt AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-025.
PARAMETERS: p_cost AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN COMMENT 38(20) text-026.
PARAMETERS: p_purch AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK box05.
SELECTION-SCREEN END OF SCREEN 1002.
SELECTION-SCREEN BEGIN OF SCREEN 1003 AS SUBSCREEN.
extract format selection
SELECTION-SCREEN BEGIN OF BLOCK box04 WITH FRAME TITLE text-402.
PARAMETERS : p_vari LIKE ltdxt-variant OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-009.
PARAMETERS: p_report RADIOBUTTON GROUP sel1 DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-016.
PARAMETERS : p_repcoo RADIOBUTTON GROUP sel1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-017.
PARAMETERS : p_reppak RADIOBUTTON GROUP sel1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-008.
PARAMETERS: p_extun RADIOBUTTON GROUP sel1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-007.
PARAMETERS: p_extpc RADIOBUTTON GROUP sel1.
SELECTION-SCREEN END OF LINE.
PARAMETERS: p_pcfile LIKE rlgrap-filename
DEFAULT 'c:\#ups\CLIENTIDCCYYMMDDHHMMSS.ITM'.
DEFAULT 'd:\P0121205MMM_YYYYMMDD HHMMSS.XLS'.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(40) text-015.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK box04.
SELECTION-SCREEN END OF SCREEN 1003.
F i e l d S y m b o l s *
FIELD-SYMBOLS: <f>.
D a t a *
common include for file layouts
INCLUDE zvin1010.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'P_PCFILE'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
I N I T I A L I Z A T I O N *
INITIALIZATION.
gc_gen = text-401.
gc_outp = text-402.
gc_view = text-403.
SET up the file directory depending on the system id.
GET PARAMETER ID 'WRK' FIELD p_werks.
GET PARAMETER ID 'VKO' FIELD p_vkorg.
CLEAR s_mtart.
s_mtart-sign = 'E'.
s_mtart-option = 'EQ'.
s_mtart-low = 'ROH'.
s_mtart-high = ''.
APPEND s_mtart.
CLEAR s_mtart.
s_mtart-sign = 'E'.
s_mtart-option = 'EQ'.
s_mtart-low = 'MFPK'.
s_mtart-high = ''.
APPEND s_mtart.
CLEAR s_mtart.
s_mtart-sign = 'E'.
s_mtart-option = 'EQ'.
s_mtart-low = 'VERP'.
s_mtart-high = ''.
APPEND s_mtart.
START-OF-SELECTION.
check that the download is active
PERFORM get_data.
*& Form GET_DATA
text
--> p1 text
<-- p2 text
FORM get_data .
SELECT mandt matnr meins laeda aenam
FROM mara
INTO TABLE it_mara
WHERE matnr IN s_matnr.
IF NOT it_mara[] IS INITIAL.
SELECT matnr werks
FROM marc
INTO TABLE it_marc
FOR ALL ENTRIES IN it_mara
WHERE matnr = it_mara-matnr
AND werks = p_werks.
SELECT matnr maktx
FROM makt
INTO TABLE it_makt
FOR ALL ENTRIES IN it_marc
WHERE matnr = it_marc-matnr
AND spras = 'E'.
SELECT matnr zppqt zspqt zpmqt_3
INTO TABLE it_zmpkg
FROM zmpkg
FOR ALL ENTRIES IN it_marc
WHERE matnr = it_marc-matnr
AND werks = p_werks.
ENDIF.
LOOP AT it_mara.
READ TABLE it_marc WITH KEY matnr = it_mara-matnr.
IF sy-subrc EQ 0.
READ TABLE it_makt WITH KEY matnr = it_mara-matnr.
IF sy-subrc EQ 0.
READ TABLE it_zmpkg WITH KEY matnr = it_mara-matnr.
IF sy-subrc EQ 0.
it_material-mandt = it_mara-mandt.
it_material-matnr = it_mara-matnr.
it_material-maktx = it_makt-maktx.
it_material-meins = it_mara-meins.
it_material-laeda = it_mara-laeda.
it_material-aenam = it_mara-aenam.
it_material-werks = it_marc-werks.
it_material-zppqt = it_zmpkg-zppqt.
it_material-zspqt = it_zmpkg-zspqt.
it_material-zpmqt_3 = it_zmpkg-zpmqt_3.
it_material-date = sy-datum.
it_material-time = sy-uzeit.
it_material-user = sy-uname.
APPEND it_material.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " GET_DATAHi Kumar,
After building your it_material internal table, try using GUIO_DOWNLOAD to load the data into an excel sheet.
check this sample code.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = SELECT_FILE " Filename
FILETYPE = 'ASC'
APPEND = ' '
TABLES
DATA_TAB = ITAB_STR_1
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
EXIT.
ENDIF.
Hope this is helpful to you. If you need further information, revert back.
Reward all the helpful answers.
Regards
Nagaraj T -
Select statement- very urgent pls help
hi
i want to extract following fields into one internal table.
anyone pls help me to do this?
mara-mandt, mara-matnr, mara-meins, mara-laeda, mara-aenam, marc-werks, makt-maktx, sy-datum, sy-uzeit, sy-uname
Thanks
KumarHi Kumar K,
TABLES: MARA, MARC, MAKT.
SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.
PARAMETERS : P_WERKS LIKE MARC-WERKS OBLIGATORY.
DATA : BEGIN OF WA_FINAL,
MANDT LIKE MARA-MANDT,
MATNR LIKE MARA-MATNR,
MEINS LIKE MARA-MEINS,
LAEDA LIKE MARA-LAEDA,
AENAM LIKE MARA-AENAM,
WERKS LIKE MARC-WERKS,
MAKTX LIKE MAKT-MAKTX,
DATE TYPE SY-DATUM,
TIME TYPE SY-UZEIT,
UNAME TYPE SY-UNAME,
END OF WA_FINAL,
BEGIN OF WA_MARA,
MANDT LIKE MARA-MANDT,
MATNR LIKE MARA-MATNR,
MEINS LIKE MARA-MEINS,
LAEDA LIKE MARA-LAEDA,
AENAM LIKE MARA-AENAM,
END OF WA_MARA,
BEGIN OF WA_MAKT,
MATNR LIKE MAKT-MATNR,
MAKTX LIKE MAKT-MAKTX,
END OF WA_MAKT,
BEGIN OF WA_MARC,
MATNR LIKE MARC-MATNR,
WERKS LIKE MARC-WERKS,
END OF WA_MARC.
DATA : IT_MARA LIKE STANDARD TABLE OF WA_MARA WITH HEADER LINE,
IT_FINAL LIKE STANDARD TABLE OF WA_FINAL WITH HEADER LINE,
IT_MAKT LIKE STANDARD TABLE OF WA_MAKT WITH HEADER LINE,
IT_MARC LIKE STANDARD TABLE OF WA_MARC WITH HEADER LINE.
SELECT MANDT
MATNR
MEINS
LAEDA
AENAM
FROM MARA
INTO TABLE IT_MARA
WHERE MATNR IN S_MATNR.
IF IT_MARA[] IS NOT INITIAL.
SELECT MATNR
WERKS
FROM MARC
INTO TABLE IT_MARC
FOR ALL ENTRIES IN IT_MARA
WHERE MATNR = IT_MARA-MATNR
AND WERKS = P_WERKS.
ENDIF.
IF IT_MARA[] IS NOT INITIAL.
SELECT MATNR
MAKTX
FROM MAKT
INTO TABLE IT_MAKT
FOR ALL ENTRIES IN IT_MARA
WHERE MATNR = IT_MARA-MATNR.
ENDIF.
LOOP AT IT_MARA.
IT_FINAL-MANDT = IT_MARA-MANDT.
IT_FINAL-MATNR = IT_MARA-MATNR.
IT_FINAL-MEINS = IT_MARA-MEINS.
IT_FINAL-LAEDA = IT_MARA-LAEDA.
IT_FINAL-AENAM = IT_MARA-AENAM.
READ TABLE IT_MARC WITH KEY MATNR = IT_MARA-MATNR.
IF SY-SUBRC = 0.
IT_FINAL-WERKS = IT_MARC-WERKS.
ENDIF.
READ TABLE IT_MAKT WITH KEY MATNR = IT_MARA-MATNR.
IF SY-SUBRC = 0.
IT_FINAL-MAKTX = IT_MAKT-MAKTX.
ENDIF.
IT_FINAL-DATE = SY-DATUM.
IT_FINAL-TIME = SY-UZEIT.
IT_FINAL-UNAME = SY-UNAME.
APPEND IT_FINAL.
CLEAR : IT_FINAL, IT_MARA , IT_MAKT, IT_MARC.
ENDLOOP.
now IT_FINAL table contains the final data which you want...
Hope it will solve your problem
Reward points if useful...
Thanks & Regards
ilesh 24x7 -
Very URGENT: PLS HELP:canno resolve symbol session.setAttrribute
hi everbody,
i'm new at this and have got a presentation after 1 day!....pls help
when i compile the servlet i get :
cannot resolve symbol
metod: setAttribute (java.lang.String,java.lang.String)
location: interface(javax.servlet.http.HttpSession)
the servlet that gets te error when comiled is:
* Authenticate.java
// this places all user variables in session
//to access use session.getAttribute
//dispatcher stuff
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import java.sql.*;
import java.io.*;
import java.util.*;
* @author Gudiya
* @version
public class Authenticate extends HttpServlet {
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, java.io.IOException {
HttpSession session = request.getSession(true);
Connection con=null;
String sessionid;
String deptcode;
String desig;
String add1;
String add2;
String contname;
PrintWriter out = response.getWriter();
try
response.setContentType("text/html");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:SACFA","","");
System.out.println("connection established");
catch(ClassNotFoundException e){
System.out.println("database driver not found");
System.out.println(e.toString());
catch(Exception e){System.out.println(e.toString());
// ServletContext context=getServletContext();
String username=request.getParameter("username");
String password=request.getParameter("password");
try{
PreparedStatement stmt=con.prepareStatement("SELECT * FROM AUTHENTICATION,mb_add where AUTHENTICATION.NAME=? AND AUTHENTICATION.PASSWORD=? AND mb_add.DEPT_NAME=?");
stmt.setString(1,username);
stmt.setString(2,password);
stmt.setString(3,username);
ResultSet rs=stmt.executeQuery();
boolean rowfound=false;
rowfound=rs.next();
if (rowfound==true)
sessionid=session.getId();
System.out.println(sessionid);
//context.setAttribute("userid",sessionid);
// session.setAttribute("user",username);
rs.beforeFirst();
while (rs.next())
deptcode=rs.getString("DEPT_CODE");
desig=rs.getString("DESIGNATION");
add1=rs.getString("ADDRESS1");
add2=rs.getString("ADDRESS2");
contname=rs.getString("NAME");
session.setAttribute("dept_code",deptcode);
session.setAttribute("designation",desig);
session.setAttribute("address1",add1);
session.setAttribute("address2",add2);
session.setAttribute("cont_name",contname);
//context.getRequestDispatcher(request.getParameter("dispatcho")).forward(request,response);
} out.println("<html>");
out.println("<head>");
out.println("<title>Successful Login Screen</title>");
out.println("</head>");
out.println("<body bgcolor='ORANGE'>");
out.println("<script language='Javascript'>");
out.println("<!--function send_onclick(mydispatcho) {var dispatcho;if(mydispatcho=='Noc'){ dispatcho='/Noc1';}if(mydispatcho=='Ce'){ dispatcho='/Ce1';} if(mydispatcho=='Bye'){ dispatcho='/Bye1';}}-->");
out.println("</script>");
out.println("WELCOME MEMBERS FROM "+ username);
//print decorative html statements here
out.println(" SELECT NY ONE ACTION:-");
out.println("<form Action="+"\"servlet/noc\""+" method =post>");//call for your noc servlet
//print decorative html statements here
out.println("<INPUT TYPE=submit VALUE='GENERATE NOC' NAME='NOC' language='javascript'>");
out.println("</form>");
//print decorative html statements here
out.println("<form Action="+"\"servlet/comments\""+" method =post>");//call for your comment servlet
out.println("<INPUT TYPE=submit VALUE='ENTER/ MODIFY COMMENTS' NAME='COMMENTS' language='javascript' >");
out.println("</form>");
//print decorative html statements here
out.println("<form Action="+"\"servlet/bye\""+" method = post>");
out.println("<INPUT TYPE=submit VALUE=EXIT NAME=EXIT language='javascript' >"); //place javascript fucction for exiting window
out.println("</form>");
out.println("</body>");
out.println("</html>");
con.close();
} catch( SQLException e){ }
out.close();}
NOTE: I'M USING JDK1.3 and jsdk2.0
pls help me....
Thank u all,
ashnaHTTP Status 404 - /mywork/servlet/Authenticate
hi dheeraj,
thank u so much the servlet comiled!!!
now i have a new problem....the Tomcat server cannot find its class file. i have placed the class file in C:\Program Files\Apache Group\Tomcat 4.1\webapps\mywork\WEB-INF\classes.
the error it shows is as follows:
type Status report
message /mywork/servlet/Authenticate
description The requested resource (/mywork/servlet/Authenticate) is not available.
Apache Tomcat/4.1.18-LE-jdk14
PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11 -
Error in Dictionary DC deployment (URGENT Pls help)
Hi experts,
I am getting following error while deploying the Dictionary DC.
I made changes in one database table (changing field length, added new columns).
It got builtr successfully but deployment is giving errror, hence aborted.
This is the trace m getting:-
Pls pls help as soon as possible...
May 5, 2008 4:38:28 PM Info: Starting: Update: Selected development component 'BshopDic'/'asianpaints.com'/'J2E_BODYSHOP_D'/'20080505171925' updates currently deployed development component 'BshopDic'/'asianpaints.com'/'J2E_BODYSHOP_D'/'20080505170547'.
May 5, 2008 4:38:40 PM Info: <!LOGHEADERSTART/>
May 5, 2008 4:38:40 PM Info: <!HELPManual modification of the header may cause parsing problem!/>
May 5, 2008 4:38:40 PM Info: <!LOGGINGVERSIONhttp://1.5.3.7186 - 630/>
May 5, 2008 4:38:40 PM Info: <!NAME[/usr/sap/J2E/JC00/SDM/program/log/jddilog20080505163828.log]/>
May 5, 2008 4:38:40 PM Info: <!PATTERNhttp://jddilog20080505163828.log/>
May 5, 2008 4:38:40 PM Info: <!FORMATTERhttp://com.sap.dictionary.database.dbs.DbTraceFormatter(%s %m %-30l %24d)/>
May 5, 2008 4:38:40 PM Info: <!ENCODINGISO8859_1/>
May 5, 2008 4:38:40 PM Info: <!LOGHEADEREND/>
May 5, 2008 4:38:40 PM Info: 16:38:28 2008-05-05 dbs-Info: <<<<<<<<<<<<<< Table Deployment >>>>>>>>>>>>>
May 5, 2008 4:38:40 PM Info: 16:38:28 2008-05-05 dbs-Info:
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: <<< Analyze table BC_DDDBRTH >>>
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: predefined action is: >>>null<<<
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: No action required for table
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: <<< Analyze table BC_DDDBTABLERT >>>
May 5, 2008 4:38:40 PM Info: 1
6:38:29 2008-05-05 dbs-Info: predefined action is: >>>null<<<
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: No action required for table
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: <<< Analyze table BC_DDDBRTH >>>
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: predefined action is: >>>null<<<
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: No action required for table
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: <<< Analyze table BC_DDDBRTX >>>
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: predefined action is: >>>null<<<
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: No action required for table
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: >>> Analyze tables from archive in database ORACLE
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: Next archive object : dbtables/BIT_AUTONUMBER.gdbtable
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: <<< Analyze table BIT_AUTONUMBER >>>
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: predefined action is: >>>null<<<
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: Action: CONVERT
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: Table has to be converted
May 5, 2008 4:38:40 PM Info:
May 5, 2008 4:38:40 PM Info: E R R O R ******* (DbModificationManager)
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Error: Table BIT_AUTONUMBER: Conversion currently not possible
May 5, 2008 4:38:40 PM Info:
May 5, 2008 4:38:40 PM Info: E R R O R ******* (DbModificationManager)
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Error: Table BIT_AUTONUMBER: Conversion currently not possible
May 5, 2008 4:38:40 PM Info: 16:38:29 2008-05-05 dbs-Info: Next archive object : dbtables/BIT_BRAND.gdbtableHi,
It looks like the conversion of datatype is making issues.
Either existing values are not complaint with the size changes you made.
To resolve this either you remove the existing records and deploy.
Take a backup of records and reimport later with default values to the newly added cols if they are not null.
Regards
Ayyapparaj -
Reconfiguring JCo (Urgent Pls Help ASAP)
Dear all,
My back-end CRM system is getting migrated. So IP, username, password, client will get change.
Now I have currently imported 8-10 RFC models from this existing CRM system. I have one JCo configured for the same.
So if i change the existing JCo's settings (IP, username, password, Client etc) from Wed Dynpro Content Administrator for new system, then will those model work? Or I have to re-import the models again???
Pls help me asap as I have to convey estimated system downtime to business.
Thank you in advance.
Regards,
AmeySo if i change the existing JCo's settings (IP, username, password, Client etc) from Wed Dynpro Content Administrator for new system, then will those model work? Or I have to re-import the models again???
Yes. we can change JCo settings to point a different system
if signature of RFC are same in both CRM instance, there is no need of re-import.
Best Regards,
nikhil -
UnsatisfiedLinkError Problem.(Urgent)Pls Help!!
Hi,
I just want to run a swing under win98 OS platform and an error message appeared :
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\jdk1.4\jre\bin\awt.dll: An attempt was made to load a program with an incorrect format
I have changed different version of JDK including 1.3.1 and 1.4beta, but the problem still exists.
Is that any special setting need for running interface as I can run the java program in no trouble at all if there is no any interface.
Another thing when i double click the java plug-in, there is an error message: "Could not found the main class. The Program would exit. ". How come?
Pls Help and many thx.Post you code.
Maybe you are looking for
-
Setting Cursor - For a window and application wide
Hi, Can somebody please help with a cursor problem ? I am not able to set the busy cursor for a frame when the application is doing some work. I have tried many methods of doing this (some of them from these forums...) but still I am not able to make
-
Different "From" names in Mail
All my mail is forwarded and funneled thruogh gmail, and then to my Mac Mail client. I have configured all my email addresses in the account tab by separating them with a comma. Great. Now I can send mail from all my email addresses... except, they w
-
Why is there no appstore in Serbia?
Recently, 2 mayor Serbian carriers have started selling iPhone 6 phones. But, there is one problem... None of these people can "legally" use their iPhones! Why is there no appstore, or itunes in Serbia? You have a crowd of hundreds of thousands of pe
-
A question related to analytic query
Supposed I have a table with three columns: class, name, and score and something like below: class Name score c1 n1 76 c1 n2 92 c1 n3 37 c1 n4 50 c1 n5 87 c2 n6 97 c2 n7 85 c2 n8 61 c2 n9 88 c3 n10 85 I want to have the summary report based on the pe
-
Why are there 2 iTunes Match switches in iOS 8.1?
Hi there... is there any sense in having two switches to turn iTunes Match on/off in iOS 8.1??? One is under Settings/Music and the other Settings/iTunes & App Store The problem is that once i turn one of the switches on and then off again (when I le