Facing Problem in getting WSRP folder inside Portal_Home/j2ee folder.
Hi friends,
Currently i am facing problem in getting "WSRP" folder inside Portal_Home/j2ee folder.Let me explain in detail.While installing oracle portal i tried to upgrade from 10.1.2 to 10.1.4.Where mura.bat was executed fine.I got the message that it was successfully executed.Generally after upgrading to 10.1.4 it will show new folder " WSRP" inside Portal_Home/j2ee folder. But this time everything was fine but it is not showing that WSRP folder where remaining folders such as Home,OC4J_Portal,OC4J_Wireless was there.Is there any problem in installation.But when i create provider it is showing WSRP option in drop down list.In my previous installation everything was fine.It was showing WSRP folder.But this time it was not showing .What may be the reason for this??
Thanks in advance.,
Bala S Murugan.,
Hi,
What NWDS are you using.
This may occur due to version problem.
You may trying to deploy the application that it build in NW04s(IDE) and trying to run in NW04 portal.
Can you give me your verisons
Raghu
Similar Messages
-
What is this Import folder inside my iphoto folder?
Hi,
I was looking at the size of my iphoto 6 folder before backup, and found a folder I havn't seen before.
There's an Import folder inside my iphoto folder. Inside this import folder I have a Data, Original and Modified folder. All of them with empty subfolders except the data one, which has one year (2004) and inside all 2004 thumbnails. (iphoto/import/data/2004/**)
This thumbanils are duplicated in my iphoto/data/2004 folder.
Does anyone know why iphoto created this folder and why? And if it can be removed?
I tried renaming it and restarting iphoto and nothing bad happened... :o) (But i want to be sure before I backup)
Imac G5 Mac OS X (10.4.8)
Imac G5 Mac OS X (10.4.8)
Imac G5 Mac OS X (10.4.8)I don't know if this will be much help to you, but this is what I've discovered so far. I wish someone from Apple would explain all this to us.
The Original folder contains the the image files imported into you Library.
If your Advanced preferences were set to Copy Files .. when Adding To Library the copy goes here and is never modified by iPhoto.
Any edits to the image result in another copy of the file, with those edits, in the Modified folder.
And I suspect the Data folder contains your original images in thumbnail size for faster viewing in the main iPhoto window.
What I don't understand is why does my original image of 3KB (90x110) become a file of 39KB in the Data folder. What kind of thumbnail is that ?
Can someone from Apple explain this.
I'm trying to make efficient use of disk space and did not select the Advanced preferences setting of Copy Files .. when Adding To Library, so when I saw this file and its size compared to my original I was surprised. -
I am facing problem to get text file from application sever
Hi This is lokesh.
Actually my requirement is to craete sales orders by getting file from other server.for that i have used shell script to connect that server.Ok i am connecting to that different server(not sap server) successfully.
But my problem is getting text file from application SERVER.
That different server people will send the file name as 'DDHHMMSS' (Days,Hours,Minutes,Seconds).
Just suppose if they will send today means that file name will come as 20103025. and with in half an hour if they again send that file file means that file name as '20110025'.
like that file name is always varies.So how can i read that type of text files from the application server.
and one more thing that is there chance to read morethan one text file from application server.
Pls guide me if u know the solution.PLs this requirement is urgent.
Regards,
LokeshgoudHi..,
<b>Just execute this program ... this is for the files received in JUST 3 MINS...</b>
change it according to your requirement !!
data time type sy-uzeit value '100000'. <i>"<<----start time</i>
data file(8) type c value '20'.
do 180 times. <i>" <<----- for 3 minutes</i>
add sy-index to time.
concatenate file time into file.
write / file.
OPEN DATASET FILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC EQ 0.
PERFORM READ_DATASET.
ENDIF.
file = '20'.
time = '100000'.
ENDDO.
<b>form read_dataset.
read the file here with the file name <b>FILE</b>.
endform.</b>
regards,
sai ramesh -
Facing problem in getting data in different field
hi,
i have made a report in ALV format. n the whole code is this..
TABLES: VBAK,vbap.
type-pools: slis. "ALV Declarations
SELECT-OPTIONS:
s_sales for vbak-kunnr obligatory,
s_date for VBAK-audat obligatory.
*Data Declaration
types: begin of s_sales,
kunnr like vbak-kunnr,
ernam like VBRP-ernam,
audat like VBAK-audat,
aufnr like VBAK-aufnr,
KBMENG like vbap-KWMENG,
matnr like vbap-matnr,
matwa like vbap-matkl,
end of s_sales.
DATA: IT_VBAKUK TYPE STANDARD TABLE OF s_sales INITIAL SIZE 0,
WA_sales TYPE s_sales.
*ALV data declarations.
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid.
*start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform display_alv_report.
*& Form build_fieldcatalog
text
form build_fieldcatalog.
fieldcatalog-fieldname = 'KUNNR'.
fieldcatalog-seltext_m = 'Customer Code'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'ernam'.
fieldcatalog-seltext_m = 'Customer Name'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'stadat'.
fieldcatalog-seltext_m = 'Order Date'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'aufnr'.
fieldcatalog-seltext_m = 'Order No'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'KWMENG'.
fieldcatalog-seltext_m = 'Quantity'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'matnr'.
fieldcatalog-seltext_m = 'Material Code'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'matkl'.
fieldcatalog-seltext_m = 'Material Description'.
fieldcatalog-col_pos = 7.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. "build_fieldcatalog
*& Form build_layout
text
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
endform. "build_layout
*& Form display_alv_report
text
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gd_repid
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
i_save = 'X'
TABLES
t_outtab = IT_VBAKUK
EXCEPTIONS
program_error = 1
others = 2.
if sy-subrc <> 0.
endif.
endform. " DISPLAY_ALV_REPORT
*& Form data_retrieval
text
form data_retrieval.
select vbakkunnr VBakernam VBAkaudat vbakaufnr vbapKWMENG vbapmatnr vbap~matkl
up to 10 rows
from vbak inner join vbap on vbakvbeln = vbapvbeln
into table IT_VBAKUK.
endform. "data_retrieval
When a execute this query it get this result:
Customer code Customer No. Order Date *Order No. * *Quantity * Material code Material Description
0000001390 0000001390 0000001390 0000001390 0000001390 0000001390 0000001390
0000001175 0000001175 0000001175 0000001175 0000001175 0000001175 0000001175
0000001175 0000001175 0000001175 0000001175 0000001175 0000001175 0000001175
0000001175 0000001175 0000001175 0000001175 0000001175 0000001175 0000001175
0000001175 0000001175 0000001175 0000001175 0000001175 0000001175 0000001175
0000001001 0000001001 0000001001 0000001001 0000001001 0000001001 0000001001
0000002200 0000002200 0000002200 0000002200 0000002200 0000002200 0000002200
0000002200 0000002200 0000002200 0000002200 0000002200 0000002200 0000002200
0000002200 0000002200 0000002200 0000002200 0000002200 0000002200 0000002200
0000002200 0000002200 0000002200 0000002200 0000002200 0000002200 0000002200
You can see in all column data is repeating even tough i have given different field name...
Kindly give me solution of this problem.
Thanks n Regards.hi,
i have these field:
*select VBAK~KUNNR VBAK~ERNAM VBAK~AUDAT VBAK~AUFNR VBAP~KWMENG VBAP~MATNR VBAP~MATKL
up to 10 rows
from VBAK inner join VBAP on VBAK~VBELN = VBAP~VBELN
into table IT_VBAKUK.
endform.*
I want to add these field in my parameter by using WHERE clause but don't know how to restrict these field using where clause.
Kindly give me some example related to this.
Regards -
How do I stop itunes from creating a 'Music' folder inside my music folder?
I'm trying to set up my library on a new computer and I'm running into a very BIG problem.
Previously, I had let iTunes manage the directory structure, which in my opine does quite well: Artist / Album / Song. Trying to import the library into the new computer is causing a new folder to appear at the Artist level, called 'Music', and the artist directories are moved under it as they get imported.
This makes no sense to me. The versions of iTunes are the same: 9.0.2 - and this was NOT done whenever I imported a CD. The settings are the same - I like the settings a certain way and I made sure of that. The 'let itunes mange...' is checked on the new computer just like it was on the old. But the new computer is refusing to let the music stay in the same structure as the old one did.
The only real difference I can think of is that I'm trying to import the directory containing the structure, rather than importing them disc by disc, and that I'm trying to import the library from the library directory itself (ie: importing c:\itunes when the library is also sourced at c:\itunes). But I've done this before with previous versions of itunes without this problem occurring. How come the old versions knew how to handle this as expected, but the new one doesn't?
And most importantly - How do I stop it from happening now?Reading through that article - there's two important pieces of information.
1 - It says that you have to select "Upgrade to iTunes Media organization" in order to enable this so-called feature, which is still unchecked on my machine (ie: I didn't do it).
2 - It says that it's enabled by default in iTunes 9.
Kinda conflicting there, it still says it ISN'T enabled on my PC but I apparently have to deal with it anyway. Why bother pretending to give me a choice at all if it's just going to be enabled by default?
I'm gonna go wipe itunes now and start at version 8 - maybe the upgrade path will keep my directories the way I like them instead of itunes lying to me about the new media layout. -
Looking for help in organizing my photos. I would like to organize them so that i can put all of the events for a year into one folder (i would like to keep multiple events under a folder)? Help please?!
Like Larry suggested:
Click to view full size
The top folder could be named 2011. In it could be 12 smart folders each with the following criteria:
Date is in the range" mm/01/yyyy to mm/31/yyyy.
So the 2011 folder would have 12 month smart albums each with the photos for that particular month.
Or you can use the search by date function at the bottom of the window to search by year, month, week or day.
OT -
Problem in getting parameter value from selection screen in web dynpro abap
Hi,
I am facing problem in getting parameter value from selection screen.
Please find my code below:
DATA LT_PAR_ITEM TYPE IF_WD_SELECT_OPTIONS=>TT_SELECTION_SCREEN_ITEM.
FIELD-SYMBOLS:<FS_PAR_ITEM> LIKE LINE OF LT_PAR_ITEM,
<FS_OBJ_USAGE> TYPE REF TO data.
WD_THIS->M_HANDLER->GET_PARAMETER_FIELDS( IMPORTING ET_FIELDS = LT_PAR_ITEM ).
LOOP AT LT_PAR_ITEM ASSIGNING <FS_PAR_ITEM>.
CASE <FS_PAR_ITEM>-M_ID.
WHEN `OBJ_USAGE`.
ASSIGN <FS_PAR_ITEM>-M_VALUE->* TO <FS_OBJ_USAGE>.
[ Here, sy-subrc is 4, <FS_OBJ_USAGE> is not assigning.]
ENDCASE.
ENDLOOP.
So, can any one solve this problem.
Thanks in advance,
RadhikaHi Radhika,
Try using GET_RANGE_TABLE_OF_SEL_FIELD...
Please Refer below code..
DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
DATA: RT_CARRID TYPE REF TO DATA.
DATA: ISFLIGHT TYPE TABLE OF SFLIGHT.
DATA: WSFLIGHT TYPE SFLIGHT.
FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE.
Retrieve the data from the select option
RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
Assign it to a field symbol
ASSIGN RT_CARRID->* TO <FS_CARRID>.
CLEAR ISFLIGHT. REFRESH ISFLIGHT.
SELECT * INTO CORRESPONDING FIELDS OF TABLE ISFLIGHT FROM SFLIGHT
WHERE CARRID IN <FS_CARRID>.
NODE_FLIGHTS = WD_CONTEXT->GET_CHILD_NODE( NAME = `FLIGHTS` ).
NODE_FLIGHTS->BIND_ELEMENTS( ISFLIGHT ).
Thanks,
Regards,
Kiran -
Facing Problem in parsing a string to date
Hi,
I was trying to change a string into date with date format ("EEEE,MMM,d,h:mm") but I always get the year as 1970.
here is my code
String strDate="Saturday,Jan 19 7:31";
String dateFormat3="EEEE,MMM,d,h:mm";
try {
DateFormat myDateFormat = new SimpleDateFormat(dateFormat3);
result1=myDateFormat.parse(strDate);
catch(ParseException pe) {
System.out.println("ERROR: could not parse date in string \"" +
}any solution for it.This is my actual code
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
public class TestingDate {
* @param args
public static void main(String[] args) {
// TODO Auto-generated method stub
String dateFormat="EEEE, MMM d h:mm a";
Date test=new Date(2007,0,19, 19, 31);
System.out.println(" original date is "+test);
String stringResult=DateToString(test,dateFormat);
System.out.println("Date to string is "+stringResult);
Date dateResult=stringToDate(stringResult,dateFormat);
System.out.println(" String to date is "+dateResult);
String stringResult2=DateToString(dateResult,dateFormat);
System.out.println(" Date to string is "+stringResult2);
public static String DateToString(Date test, String dateFormat) {
String result = null;
try {
DateFormat myDateFormat = new SimpleDateFormat(dateFormat);
result = myDateFormat.format(test);
//System.out.println(" reslut date is "+result);
} catch (Exception e) {
System.out.println(" Exception is "+e);
return result;
public static Date stringToDate(String strDate,String dateFormat1){
Date result1=null;
try {
DateFormat myDateFormat = new SimpleDateFormat(dateFormat1);
result1=myDateFormat.parse(strDate);
catch(Exception e){
System.out.println(" exception is "+e);
return result1;
}I am facing problem in getting the actual date. Please suggest the solution. -
Problem in getting the function template object from the repository.
Hi all,
I have created a par file. I have a JCO connection in that. I am facing problems in getting the function template object from the repository. This thing is running successfully when i try to deploy it in Tomcat. But i am facing problems when i try to deploy it in SAP EP 6.0.
Below is statement which is giving error after being deployed to SAP EP6.
This is executing fine when executed in Tomcat Server.
// getting the object of function template
IFunctionTemplate functionTemplate =
aRepository.getFunctionTemplate("YADDNEWUSER");
Note : YADDNEWUSER is the name of the RFC which I am calling from my JAVA Code.
Thanks in advance,
DivijaThis sounds like a bug in the smart upload code. I have used this stuff before, but it's probably an older version, so maybe they broke something. Enumerations aren't usually guaranteed to keep things in any particular order. I would say for now, make a method to take the enumeration and a param name to find the value. And write to the JSPSmart people.
-
Problem in using aggregate functions inside case statement
Hi All,
I am facing problem while using aggregate functions inside case statement.
CASE WHEN PSTYPE='S' THEN MAX(DECODE(POS.PBS,1,ABS(POS.PPRTQ),0)) ELSE SUM(DECODE(POS.PBS,1,ABS(POS.PPRTQ),0)) END,
how can I achieve above requirement ? Con anyone help me.
Thanks and Regards
DGHi All,
Below is my query:
SELECT
CASE WHEN p_reportid IN ('POS_RV_SN','POS_PB') THEN POS.PACCT
ELSE POS.PACCT || '-' || DECODE(POS.SYSTEMCODE,'GMI1','1', 'GMI2','2', 'GMI3','4', 'GMI4','3', '0') ||POS.PFIRM|| NVL(POS.POFFIC,'000') END,
CASE WHEN p_reportid IN ('POS_RV_SN','POS_PB') THEN POS.PACCT||POS.PCUSIP||DECODE(POS.PBS,1,'+',2,'-')
ELSE POS.PFIRM||POS.POFFIC||POS.PACCT||POS.PCUSIP||DECODE(POS.PBS,1,'+',2,'-') END,POS.SYSTEMCODE,CASE WHEN POS.PSTYPE='S' THEN POS.PSYMBL ELSE POS.PFC END,POS.PEXCH||DECODE(POS.PSUBEX,'<NULL>',''),
POS.PCURSY,
CASE WHEN POS.PSBCUS IS NULL THEN SUBSTR(POS.PCTYM,5,2) || SUBSTR(POS.PCTYM,1,4) ELSE POS.PSBCUS || SUBSTR(POS.PCTYM,5,2) || SUBSTR(POS.PCTYM,1,4) END ,
NVL(POS.PSUBTY,'F') ,POS.PSTRIK,*SUM(DECODE(POS.PBS,1,ABS(POS.PPRTQ),0)) ,SUM(DECODE(POS.PBS,2,ABS(POS.PPRTQ),0))* ,
POS.PCLOSE,SUM(POS.PMKVAL) ,
TO_CHAR(CASE WHEN INSTR(POS.PUNDCP,'.') > 0 OR LENGTH(POS.PUNDCP) < 15 THEN POS.PUNDCP ELSE TO_CHAR(TO_NUMBER(POS.PUNDCP) / 100000000) END),
POS.UBS_ID,POS.BBG_EXCHANGE_CODE,POS.BBG_TICKER ,POS.BBG_YELLOW_KEY,POS.PPCNTY,POS.PMULTF,TO_CHAR(POS.BUSINESS_DATE,'YYYYMMDD'),
POS.SOURCE_GMI_LIB,
--DECODE(POS.SYSTEMCODE,'GMI1','euro','GMI2','namr','GMI3','aust','GMI4','asia','POWERBASE','aust','SINACOR','namr',POS.SYSTEMCODE),
DECODE(p_reportid,'RVPOS_SING','euro','RVPOS_AUSTDOM','aust','RVPOS_AUSTEOD','euro','RVPOS_GLBLAPAC','asia','POS_RV_SN','namr','POS_PB','aust',POS.SYSTEMCODE),
POS.RIC,
CASE WHEN PSUBTY = 'S' THEN POS.TYPE ELSE NULL END,
DECODE(POS.UBS_ID,NULL,POS.PCUSP2,POS.ISIN),POS.UNDERLYING_BBG_TICKER,POS.UNDERLYING_BBG_EXCHANGE,POS.PRODUCT_CLASSIFICATION,
CASE WHEN PSUBTY = 'S' THEN POS.PSDSC2 ELSE NULL END,
CASE WHEN PSUBTY = 'S' THEN C.SSDSC3 ELSE NULL END,
NVL(C.SSECID,POS.PCUSIP),
NULL,
POS.PYSTMV,
POS.PMINIT,
POS.PEXPDT,
CASE WHEN POS.PSUBTY='S' THEN SUBSTR(C.ZDATA2,77,1) ELSE NULL END,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
FROM POSITIONS_WRK POS LEFT OUTER JOIN
(SELECT * FROM CDS_PRODUCTS CP INNER JOIN FUTURE_MASTER FM ON
(CP.STRXCH=FM.ZEXCH AND CP.SFC=FM.ZFC AND CP.BUSINESS_DATE = FM.BUSINESS_DATE )) C ON POS.PCUSIP = C.SCUSIP
AND NVL(POS.PCUSP2,'X') = NVL(C.SCUSP2,'X')
WHERE
POS.PEXCH NOT IN ('A1','A2','A3','B1','B3','C2','D1','H1','K1','L1','M1','M3','P1','S1')
AND (POS.PSBCUS IS NOT NULL OR POS.PCTYM IS NOT NULL OR POS.PSTYPE ='S')
AND POS.BUSINESS_DATE = run_date_char
GROUP BY
POS.UBS_ID,POS.SYSTEMCODE,POS.RECIPIENTCODE,POS.BUSINESS_DATE,POS.PACCT,POS.PFIRM,POS.POFFIC,POS.PCUSIP,POS.PBS,CASE WHEN POS.PSTYPE='S' THEN POS.PSYMBL ELSE POS.PFC END,
POS.PEXCH,POS.PSUBEX,POS.PCURSY,
CASE WHEN POS.PSBCUS IS NULL THEN SUBSTR(POS.PCTYM,5,2) || SUBSTR(POS.PCTYM,1,4) ELSE POS.PSBCUS || SUBSTR(POS.PCTYM,5,2) || SUBSTR(POS.PCTYM,1,4) END,
NVL(POS.PSUBTY,'F') ,POS.PSTRIK,POS.PCLOSE,TO_CHAR(CASE WHEN INSTR(POS.PUNDCP,'.') > 0 OR LENGTH(POS.PUNDCP) < 15 THEN POS.PUNDCP ELSE TO_CHAR(TO_NUMBER(POS.PUNDCP) / 100000000) END),
POS.BBG_EXCHANGE_CODE,POS.BBG_TICKER,POS.BBG_YELLOW_KEY,POS.PPCNTY,POS.PMULTF,POS.PSUBTY,POS.SOURCE_GMI_LIB,RIC,
CASE WHEN PSUBTY = 'S' THEN POS.TYPE ELSE NULL END,
DECODE(POS.UBS_ID,NULL,POS.PCUSP2,POS.ISIN),POS.UNDERLYING_BBG_TICKER,POS.UNDERLYING_BBG_EXCHANGE,POS.PRODUCT_CLASSIFICATION,
CASE WHEN PSUBTY = 'S' THEN POS.PSDSC2 ELSE NULL END,
CASE WHEN PSUBTY = 'S' THEN C.SSDSC3 ELSE NULL END,
NVL(C.SSECID,POS.PCUSIP),
POS.PYSTMV,
POS.PMINIT,
POS.PEXPDT,
CASE WHEN PSUBTY = 'S' THEN SUBSTR(C.ZDATA2,77,1) ELSE NULL END;Now, could you plz help me in replacing the bold text in the query with the requirement.
Thanks and Rgds
DG
Edited by: BluShadow on 16-May-2011 09:39
added {noformat}{noformat} tags. Please read: {message:id=9360002} for details on how to post code/data -
Problem in getting Norms for each BOM
Hi Experts,
I am doing a report for stock with subcontractors and I am facing a problem in getting the accurate
Norms (STPO~MENGE) against the BOM (STPO~STLNR) for each EBELN.
My requirement is :
1. Finished Goods - ( MSEG~MATNR) or (EKPO~MATNR) but mseg-matnr is more prefered as my output is based on the mkpf-budat , WHERE BWART IN ('101','102') then
MSEG~EBELN.
IF EKPO-PSTYP ne ' 3 ' delete Finished goods.
Then I take raw materials for finished goods and BOM for each rawmaterials.
2. Raw materials - select (RESBMATNR, RESBSTLNR, RESBSTLKN, RESBSTPOZ) where resb-baugr = mseg-matnr and ebeln = mseg-ebeln.
Now I am facing problem in getting NORMS against each BOM.
3. Norms - * select STPOMENGE where STLNR = RESBSTLNR , IDNRK = RESB~MATNR,
STPOZ = RESB~STPOZ.
But I am not getting the correct Norms for each EBELN, please advice if my logic is wrong or if my
tables are wrong.
Thanks
Karthik.
Edited by: Karthik R on Mar 13, 2009 10:32 AM
Edited by: Karthik R on Mar 13, 2009 10:32 AM
Edited by: Karthik R on Mar 13, 2009 10:33 AMHi Karthik,
You try this one, which I already tried and working fine for me when i developed a custom's enquiry report,
here is a peice of code,
SELECT ABUDAT AXBLNR BMBLNR BZEILE
BBWART BEBELN BMENGE BDMBTR B~KUNNR
INTO CORRESPONDING FIELDS OF TABLE IT_FINAL
FROM MKPF AS A INNER JOIN MSEG AS B ON AMBLNR = BMBLNR AND
AMJAHR = BMJAHR
WHERE A~BUDAT IN S_BUDAT AND
B~MATNR = WA_IMAT-MATNR AND
B~WERKS IN S_WERKS .
IF NOT IT_FINAL IS INITIAL.
SELECT MATNR WERKS STLAN STLNR STLAL
FROM MAST INTO TABLE IT_MAST
WHERE MATNR = WA_IMAT-MATNR AND
WERKS IN S_WERKS AND
STLAN = '1'.
ENDIF.
IF NOT IT_MAST IS INITIAL.
SELECT STLTY STLNR STLAL DATUV BMEIN BMENG
FROM STKO INTO TABLE IT_STKO
FOR ALL ENTRIES IN IT_MAST
WHERE STLNR = IT_MAST-STLNR AND
STLAL = IT_MAST-STLAL AND ( STLTY = 'D' OR STLTY = 'E' OR STLTY = 'K' OR
STLTY = 'M' OR STLTY = 'S' OR STLTY = 'T' OR STLTY = 'P' ).
ENDIF.
IF NOT IT_STKO IS INITIAL.
SELECT STLNR DATUV IDNRK POSNR MEINS MENGE
FROM STPO INTO TABLE IT_STPO
FOR ALL ENTRIES IN IT_STKO
WHERE STLNR = IT_STKO-STLNR AND STLTY = IT_STKO-STLTY.
ENDIF.
IF NOT IT_STPO IS INITIAL.
SELECT MATNR MAKTX
FROM MAKT INTO TABLE IT_MAKT
FOR ALL ENTRIES IN IT_STPO
WHERE MATNR = IT_STPO-IDNRK AND
SPRAS = 'EN'.
ENDIF.
LOOP AT IT_STKO INTO WA_STKO.
" Own Custom Logic, If Item Quantity is 500 KG, how to calculate per KG, Simple divide by the same Qty.
IF WA_STKO-BMEIN = 'KG'.
LOOP AT IT_STPO INTO WA_STPO.
WA_STPO-RATIO = WA_STPO-MENGE / WA_STKO-BMENG.
MODIFY IT_STPO FROM WA_STPO.
CLEAR : WA_STPO.
ENDLOOP.
ENDIF.
CLEAR : WA_STKO.
ENDLOOP.
LOOP AT IT_STPO INTO WA_STPO.
LOOP AT IT_MAKT INTO WA_MAKT.
MOVE-CORRESPONDING WA_MAKT TO WA_STPO.
DELETE TABLE IT_MAKT FROM WA_MAKT.
CLEAR : WA_MAKT.
EXIT.
ENDLOOP.
MODIFY IT_STPO FROM WA_STPO.
CLEAR : WA_STPO.
ENDLOOP.
LOOP AT IT_FINAL1 INTO WA_FINAL1 WHERE BWART = '101' OR BWART = '102'.
MOVE WA_FINAL1-BUDAT TO WA_FINAL2-BUDAT.
MOVE WA_FINAL1-EBELN TO WA_FINAL2-EBELN.
MOVE WA_FINAL1-MENGE TO WA_FINAL2-MENGE.
MOVE WA_FINAL1-DMBTR TO WA_FINAL2-DMBTR.
APPEND WA_FINAL2 TO IT_FINAL2.
CLEAR : WA_FINAL1.
ENDLOOP.
Thanks & Regards,
Dileep .C -
Problem in getting the application login page
Hi Firends,
I am facing problem in getting the application login page.
http://localhost:7777/pls/apex/f?p=102:1
when i am clicking this link it is not directing me to the login page for this application.please let me know what could be the reason behind this.
Thanks in advanceHi Martin, many thanks for replying. Let me know how this could effect in not getting the login page. I have checked in my application,it is by default "No application authorization required " and other option is " must not be a public user " . Should i change it to " must not be a public user from no application authorization required"
please put more light on it. Y i am saying this because it was working fine day b4r yesterday but today i am getting problem in finding the login page of my application aftr providing the url. i am following the SSO authentication scheme and under Home>Application Builder>Application 102>Shared Components>Edit Security Attributes , i have given f?p=&APP_ID.:1:&SESSION. as home link and under Home>Application Builder>Application 100>Page 101>Edit Page Process, this code i have provided
wwv_flow_custom_auth_std.login(
P_UNAME => v('P101_USERNAME'),
P_PASSWORD => :P101_PASSWORD,
P_SESSION_ID => v('APP_SESSION'),
P_FLOW_PAGE => :APP_ID||':1'
as a source code.
i am really stucked into it, and i need to finish is ASAP. Please provide all possible reasons for this problem. -
"iTunes music" folder inside "iTunes"
in iTunes preferences i have /Users/me/Music/iTunes for my iTunes Media folder location
inside this folder i find a folder called "iTunes Music" that contains: duplications from the "iTunes" folder (in the higher level), songs/albums which are exclusively there but not linked from iTunes (when i ask i tunes to "reveal in finder"), and some which ARE linked from iTunes -- so, i cant really understand the logic of it.
something tells me it got to do with the home sharing, because i find there some tracks from other libraries/computers... but all and all, it takes some lots of space on my HD, and i would be happy to know if there's a way to consolidate all of it into one folder and get rid of the duplication.
thanks for the help!Here are typical layouts for the iTunes folders:
If you have upgraded from version 8 (or earlier) to iTunes 9 (or later) at some point, then your media folder (everything inside the red outline) may still be called iTunes Music instead of iTunes Media. The extra Music folder inside the media folder is used if you have allowed iTunes to Upgrade to iTunes Media Organization (iTunes 9) or used File > Library > Organize Library > Reorganize files in the folder "<Media Folder>" (iTunes 10). Depending on your choices for Keep iTunes Media folder organized and Copy files to iTunes Media folder when adding to library plus a little bug in which one build changed the name of the file storing the choice of layout it is quite easy for some of your files to be organized according to one layout and some the other.
Assuming you're happy letting iTunes organize your files the following steps should tidy things up (should it be necessary):
1. Select File > Library > Organize Library... > Tick Reorganize files in the folder "<Media Folder>" and click OK. Skip if this option is greyed out (already upgraded) or you prefer the older layout.
2. Select File > Library > Organize Library... > Tick Consolidate files and click OK. This will bring any files currently organised outside the designated media folder into it. NB This will create duplicate copies of any file that needs to be consolidated, and you will need to manually clean up afterwards. If space is at a premium try Doug Scripts has something that will move files rather than copy them.
3. Select Edit > Preferences > Advanced tab, uncheck Keep iTunes Media folder organized and click OK.
4. Select Edit > Preferences > Advanced tab, check Keep iTunes Media folder organized and click OK. This triggers iTunes into reorganizing everything according to your preferences.
5. (Optional) Close iTunes, rename the folder iTunes Music as iTunes Media then restart iTunes. Check under Edit > Preferences > Advanced tab that the location has automatically updated. If you can't access the media for any reason just undo the folder rename. (Assumes you don't already have a folder called iTunes Media and that iTunes Music is the currently designated media folder.)
PS If you really prefer the older layout, but it is already in the new one then edit the file called .iTunes Preferences.plist in your media folder and change the integer from 1 to 0 before doing step 3.
tt2 -
[SOLVED] Mystic home folder inside home folder.
Hello,
for some time now I observe the repeated creation of a mystic home folder inside my home folder. E.g. if my user name is user, the folder /home/user/home/user/ is created (supposedly at booting time). I use arch linux with gdm and xmonad started from a .xsession file.
Do you have any ideas or suggestions about logs that I could provide?
Thanks,
Fazky
Last edited by fazky (2013-10-10 14:50:48)@SolarBoyMatt: Yes, it appears along with everything else and it is empty (sorry, I forgot to post this ...). I am not convinced that it is created at boot time, but if I delete it, it appears again after I reboot the laptop.
@jasonwryan: No, it is not a symlink. The folder is empty. The only shell initialization file that I changed from the default ones is ~/.bashrc
# ~/.bashrc
PATH=$PATH:/home/dominik/bin/
export PATH
export ALTERNATE_EDITOR=emacs EDITOR=emacsclient VISUAL=emacsclient
# for sudo bash completion
complete -cf sudo
# Bash completion
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
# Bash won't get SIGWINCH if another process is in the foreground.
# Enable checkwinsize so that bash will check the terminal size when
# it regains control. #65623
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
shopt -s checkwinsize
# Enable history appending instead of overwriting. #139609
shopt -s histappend
# Change the window title of X terminals
case ${TERM} in
xterm*|rxvt*|Eterm|aterm|kterm|gnome*|interix)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
esac
use_color=false
# Set colorful PS1 only on colorful terminals.
# dircolors --print-database uses its own built-in database
# instead of using /etc/DIR_COLORS. Try to use the external file
# first to take advantage of user additions. Use internal bash
# globbing instead of external grep binary.
safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM
match_lhs=""
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
[[ -z ${match_lhs} ]] \
&& type -P dircolors >/dev/null \
&& match_lhs=$(dircolors --print-database)
[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true
if ${use_color} ; then
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489
if type -P dircolors >/dev/null ; then
if [[ -f ~/.dir_colors ]] ; then
eval $(dircolors -b ~/.dir_colors)
elif [[ -f /etc/DIR_COLORS ]] ; then
eval $(dircolors -b /etc/DIR_COLORS)
fi
fi
if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
else
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
fi
alias ls='ls --color=auto'
alias grep='grep --colour=auto'
else
if [[ ${EUID} == 0 ]] ; then
# show root@ when we do not have colors
PS1='\u@\h \W \$ '
else
PS1='\u@\h \w \$ '
fi
fi
# Try to keep environment pollution down, EPA loves us.
unset use_color safe_term match_lhs
#add color to man pages
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # end mode
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
export LESS_TERMCAP_so=$'\E[38;5;246m' # begin standout-mode - info box
export LESS_TERMCAP_ue=$'\E[0m' # end underline
export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline
There doesn't seem to be anything suspicious in here.
@drcouzelis: No, the user-dirs file looks fine.
@Trilby: This is my fstab file, there doesn't seem to be an error:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
# /dev/sda4
UUID=6770128b-c26d-4474-b369-68b1802e1222 / ext4 rw,relatime 0 1
# /dev/sda3
UUID=aec81631-a927-40af-8a5d-85ca27e5dc35 /boot ext4 rw,relatime,stripe=4 0 2
# /dev/sda2
UUID=1D04-16EA /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# /dev/sda5
UUID=743ec024-dfe0-4b1f-a10d-7ecaf026bc85 /var ext4 rw,relatime 0 2
# /dev/sda6
UUID=b28a3641-1ae4-4545-8919-aab6c6781057 /home ext4 rw,relatime 0 2
Regarding the journalctl boot log: This is quite an extensive document but I can post it, if you want to. Maybe only some parts of it are interesting?
Thanks for all your suggestions,
Fazky -
Alias to user folder inside user folder?
For some reason I've found I now have an alias (symbolic link?) to my user folder inside my user folder. This seems odd. It was created last November, and I have no idea how or why.
I'm wondering if it can have anything to do with the many anomalies I seem to be experiencing in Mavericks 10.9.5 on an Intel iMac, e.g.:
• The horror of thousands of "com.apple.IconServicesAgent failed to write" messages suddenly starting to show up in Console, with com.apple.IconServicesAgent consuming huge amounts of CPU time and memory, and Finder windows not listing their contents, with a gear in the corner spinning endlessly
• Extremely slow boot-up
• Extremely slow opening of apps such as Safari and Mail
• My main level "Library" and "mach_kernal" having become visible, when they originally were invisible
It seems that my entire system has gotten extremely sluggish, and I have tried everything I know, going through countless threads in this forum, trying "fixes" that don't seem to fix anything about it. I'm desperate, and now am wondering if this odd alias has anything to do with my woes. It's very troubling.
Thanks for any help anyone can give meI do not think having an Alias to your home directory in your home directory will affect your performance issues.
I suggest you post the output from EtreCheck and let the forum analyze it.
<https://discussions.apple.com/docs/DOC-6174>
I suspect something more serious is going on. Adware perhaps.
With respect to a back pointing Alias, since anyone can create an Alias (or a similar, BUT different, Unix symbolic link), the operating system is prepared to deal with loops, and tends to notice when a request to access a file has an infinite loop Alias or symlink in the path that prevents it from actually getting there.
You just double clicking on an Alias, that takes you back up the directory tree, is not an automated process, so you can most likely do that all day long, until you get tired of playing that game.
An applications program that decides to walk a directory tree by opening one directory at a time and not keep track of its history, nor notice that it opened an Alias or symlink is an application program that has a bug in it. There are not many programs that actually do this, and the few that do, have already discovered they need to either NOT follow an Alias or symlink, or know enough to maintain state information that tells them when they have a loop.
Maybe you are looking for
-
Editing photo results in error
Hi, I'm using iPhoto 8.1.2 (424) on a Macbook Aluminum first gen. The last few days I've had trouble editing photos in iPhoto which I cannot fix with a restart or even a reboot. The problem is every time I edit a photo and click done the photo size g
-
Hi, I am new to Oracle and am having some difficulty jumping over from MSSQL. My question is how would one simply do the following: Drop a table if it exists, create it if it doesn't. Then fill the table with a set of data. (All from within a stored
-
Text element missing in the script
We have standard print program, calling a zform and z subroutine. The values are flowing in the outtab itcsy structure. but when flowing thru the form, it gives the error message, text element 625-TX is missing in the Z window. What could be the prob
-
Camcorder being recognized as a device instead of a camera
I am using an HD Canon Vixia HF R400 and I want to capture live footage directly into Final Cut Pro X. However when I try to import the camera, the program doesn't recognize the camera in the cameras section (i.e. where the Facetime camera is labeled
-
We are experiencing an exception when weblogic tries to load a taglib. (that is part of struts) Exception in thread "main" java.lang.OutOfMemoryError at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java(Compiled C