How to handle the extended vo in the extended controller

Hi,
I want to know how to handle the extended vo attributes in the extended controller.
I extended CompetenceElementsVO as 'CompetenceElementsEx' with 2 transient attributes called col1 and col2.
Here i want to pass value according based on some condition. for this i want to know how to handle these attributes.
I tried by using the extended vo name in the controller, if i use means then it is throwing error after the extended controller is implemented.
Same time if i try to refer this attributes from the original vo definition, jdev itself showing error.
please tell me how to handle this?
Thanks in advance,
SAN

Hi San,
You have to extend the controller where your region is associated with,
And in that controller you get the AM(if there is more than one AM and your VO is associated with a child AM, first you have to get your required AM) and then
get the ViewObject(standard).
Then you should be able to get your newly added attributes.
Please find the below sample code to get the AM handle and VO from there, update the code according to your requirement,
     Get all the VOs under the Root AM
     writeLog(pageContext, "Room AM"+ pageContext.getRootApplicationModule());
String[] rootViewNames = pageContext.getRootApplicationModule().getViewObjectNames();
/* writeLog(pageContext," Length of the VOs from Rootm AM "+rootViewNames.length);
for (int j =0 ;j<rootViewNames.length ;j++ )
writeLog(pageContext,j +" Value "+rootViewNames[j]);
     // Get requested AM from Root am
public OAApplicationModule getRequestedAM(OAPageContext pageContext, String requestedAMName)
writeLog(pageContext,"Requested AM called to check the AM "+requestedAMName );
String amName = "";
String objectivesAMName = requestedAMName;//"ObjectivesAM";
String nestedAMArray[] = pageContext.getRootApplicationModule().getApplicationModuleNames();
pageContext.writeDiagnostics(this,"Root AM=>"+pageContext.getRootApplicationModule().getName() + " Child AMs=>"+ nestedAMArray.length,1);
OAApplicationModule currentAM = null;
currentAM = (OAApplicationModule)pageContext.getRootApplicationModule();
for(int i = 0; i < nestedAMArray.length; i++)
amName = nestedAMArray;
pageContext.writeDiagnostics(this,"Nested AM Name=>"+amName + "and amName.indexOf(objectivesAMName) "+amName.indexOf(objectivesAMName),1);
currentAM = (OAApplicationModule)pageContext.getRootApplicationModule().findApplicationModule(amName);
                    //Get the view names
               String[] viewNames = currentAM.getViewObjectNames();
for (int i =0 ;i<viewNames.length ;i++ )
writeLog(pageContext,i +" Value "+viewNames[i]);
if(!(amName.indexOf(objectivesAMName)==-1))
pageContext.writeDiagnostics(this,"Found Handle to My Nested AM " + amName ,1);
break;
return currentAM;
Get the VO from the AM
OAViewObject objAssessmentVO = (OAViewObject)yourAM.findViewObject("yourVO");
Thanks.
With Regards,
Kali.
OSSi.

Similar Messages

  • How to handle vendor discounts based on the qty / value procured.

    Hello
           How to handle vendor discounts based on the qty / value procured.
    a.       Scenario: you have entered into a contract with vendor that you will buy goods worth Rs 10000/- and if you buy goods worth more than 100000 the vendor says he will give a discount of Rs 5000/- @ the end of the year.  
    i)                    How to handle this sceneriou2019s with SAu2019s
    ii)                   What does STD SAP offer.
    Regards
    Sapman man

    Hi,
    For the discucount condition type, you have to maintain scales.
    Take Condition type -  Discount Value ( RB00)
    Discount Value ( RB00) - Means Fixed discount. For this condition type, you have to maintain Scale basis as Value scale 'B' in the condition type customization.
    Transcation : M/06
    Select your condition type RB00 and click on the details icon.
    In the Scales block, you have to maintain and save.Calculation type = Fixed amount
    Scale basis = Value scale 'B'
    For this condition type, you have to maintain scales in the inforecord.
    Transcation : ME12
    Select this condition type, click on the Scales icon. There you have to maintain like
    From : 10,0000            Rate: 5000.
    It means, if the document value is reached 10,0000 then discount is 5000rs. If the value islessthen the 10,0000 then no discount.
    Regards
    KRK

  • How to handle Scrollbar's event in the Form Block !

    I want to create three Block like
    Block : X-axis , Source From View
    Block : Y-axis , Source From View
    Block : Cell , Source From Stored Procedure.
    The relation is (X-axis , Cell) , (Y-axis ,Cell).
    Then , if i scroll X-axis or Y-axis Scrollbar , then Cell will change !
    Problem : If X-axis Cursor record does not change , the Cell's Data will not refresh.
    Can tell me how to handle the scrollbar's event , Thank.

    Thank you.
    The Cell's behavior is a matrix , the relation will execute when X,Y record is changed !
    if you move the scrollbar , will chanage block's data , but the cursor record does not change another!.
    If i use JaveBean to handle it , possible ?
    Using Form 6i .

  • How to handle event from subVI in the main VI?

    Hello,
    I'm doing some measurement. During the measurement I want the user to see some activity dialog - that's easy to do. Before the measurement starts I dynamically run VI (EX_Progress.vi) that shows some activity and then I do the measurement (in my example simulated by random number generation) . After the measurement is done (or error occurs) I can dynamically abort the activity indicator. But on the other hand I want to give to the user chance to abort the measurement manually via the activity dialog by STOP button. There are some ways how to do it via global variable and check every iteration in the main VI it's state but isn't there some better way? Would be nice to run event in the main VI when the user pushes the STOP button in the Progress VI. Is it possible to achieve this using register events? I tried but don't really now how I'm not familiar with this technique.
    Thanks in advance
    Message Edited by ceties on 11-26-2007 01:34 PM
    LV 2011, Win7
    Attachments:
    Ex.zip ‏374 KB

    OK, here's an example using User Events. It doesn't directly have the main VI listen for the Button press event in the subVI. Instead, it has the main VI listen for a custom User Event that the subVI fires every time there's a button press. You could theoretically directly listen to the button press directly from the Main VI, but you would have to somehow get that control's reference to the main VI. That would require storing a copy of it in a global or some such method. This method I will show here is very common and is definitely worth learning.
    For more info on User Events, refer to the LabVIEW help. You can learn more by clicking any of the User Event VIs and selecting Help from the shortcut menu.
    (I didn't set the subVIs front panel to open automatically, so you'll have to do that yourself to see anything from this demo...)
    Message Edited by Jarrod S. on 11-26-2007 02:51 PM
    Jarrod S.
    National Instruments
    Attachments:
    Example.zip ‏25 KB

  • How to handle such code: ? super ? extends Type

    Hi I faced of a problem which I don't handle:
    SortedSet<? extends Integer> set = new TreeSet<>();
    Comparator<? super ? extends Integer> c = set.comparator();//how to handle such code?
    ...Best Regards
    Andrej

    Integer is a final class, it can not be extended. So, you could as well write:
    SortedSet<Integer> set = new TreeSet<Integer>();
    Comparator<? super Integer> c = set.comparator();
    c.compare(new Integer(5), new Integer(5));On the other hand, If you were thinking of a set allowing different kinds of numbers, this is what you might be looking for.
    SortedSet<? super Number> set = new TreeSet<Number>();
    Comparator<? super Number> c = set.comparator();
    c.compare(new Integer(5), new Long(5));Why it must be "super" instead of "extends" is explained by [PECS rule|http://stackoverflow.com/questions/2723397/java-generics-what-is-pecs].

  • How to handle Multiple date formats for the same date field in SQL*Loader

    Dear All,
    I got a requirement where I need to get data from a text file and insert the same into oracle table.
    I am using SQL*Loader to populate the data from the text file into my table.
    The file has one field where I am expecting date date data in multiple formats, like dd/mon/yyyy, yyyy/dd/mon, yyyy/mon/dd, ,mm/dd/yyyy, mon/dd/yyyy.
    While using SQL*Loader, I can see Loading is failing for records where we have formats like yyyy/dd/mon, yyyy/mon/dd, mon/dd/yyyy.
    Is there any way in SQL*Loader where we can mention all these date formats so that this date data should go smoothly into the underlying date column in the table.
    Appreciate your response on this.
    Thanks,
    Madhu K.

    The point being made was, are you sure that you can uniquely identify a date format from the value you receieve? Are you sure that the data stored is only of a particular limited set of formats?
    e.g. if you had a value of '07/08/03' how do you know what format that is?
    It could be...
    7th August 2003 (thus assuming it's DD/MM/RR format)
    or
    8th July 2003 (thus assuming it's MM/DD/RR format)
    or
    3rd August 2007 (thus assuming it's RR/MM/DD format)
    or
    8th March 2007 (thus assuming it's RR/DD/MM format)
    or even more obscurely...
    3rd July 2008 (MM/RR/DD)
    or
    7th March 2008 (DD/RR/MM)
    Do you have any information to tell you what formats are valid that would allow you to be specific and know what date format is meant?
    This is a classic example of why dates should be stored on the database using DATE datatype and not VARCHAR2. It can lead to corruption of data, especially if the date can be entered in any format a user wishes.

  • How to handle leap year date in the query ?

    Dear Exparts,
    Hope you are fine.
    Here is my banner,
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - ProdI have a date field name birth_date where i store date of birth. I need to pick date of birth in a given range. For example
    BIRTH_DATE
    01-FEB-1980
    12-FEB-1984
    29-FEB-1992
    01-MAR-1986
    01-APR-1986
    22-APR-1988
    01-MAR-1992My searching parameter is
    brith_date between 01/02/13 and 01/04/13I want the record
    01-FEB-1980
    12-FEB-1984
    29-FEB-1992
    01-MAR-1986
    01-APR-1986Here is the script
    create table
    CREATE TABLE DATE_OF_BIRTH
      BIRTH_DATE DATE
    );data insert
    insert into DATE_OF_BIRTH
    values(to_date('01-FEB-1980','DD-MON-RRRR'));
    insert into DATE_OF_BIRTH
    values(to_date('12-FEB-1984','DD-MON-RRRR'));
    insert into DATE_OF_BIRTH
    values(to_date('29-FEB-1992','DD-MON-RRRR'));
    insert into DATE_OF_BIRTH
    values(to_date('01-MAR-1986','DD-MON-RRRR'));
    insert into DATE_OF_BIRTH
    values(to_date('01-APR-1986','DD-MON-RRRR'));Thanks in advance... (thanks to Frank Kulash)
    ask2Learn
    Edited by: Asked to Learn on Feb 24, 2013 7:40 PM

    Hi,
    Asked to Learn wrote:
    Dear Exparts,
    Hope you are fine.
    Here is my banner,
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - ProdI have a date field name birth_date where i store date of birth. I need to pick date of birth in a given range. For example
    BIRTH_DATE
    01-FEB-1980
    12-FEB-1984
    29-FEB-1992
    01-MAR-1986
    01-APR-1986
    22-APR-1988
    01-MAR-1992My searching parameter is
    brith_date between 01/02/13 and 01/04/13I want the record
    01-FEB-1980
    12-FEB-1984
    29-FEB-1992
    01-MAR-1986
    01-APR-1986Here is the script
    create table
    CREATE TABLE DATE_OF_BIRTH
    BIRTH_DATE DATE
    );data insert
    insert into DATE_OF_BIRTH
    values('01-FEB-1980');
    insert into DATE_OF_BIRTH
    values('12-FEB-1984');
    insert into DATE_OF_BIRTH
    values('29-FEB-1992');
    insert into DATE_OF_BIRTH
    values('01-MAR-1986');
    insert into DATE_OF_BIRTH
    values('01-APR-1986');
    You defined the column as a DATE, which is correct, but you're trying to insert VARCHAR2 values, such as '01-FEB-1980' into that column.
    Use TO_DATE to convert a VARCHAR2 into a DATE:
    insert into DATE_OF_BIRTH (birth_date)
    values ( TO_DATE ('01-FEB-1980', 'DD-MON'YYYY'));or use DATE literals:
    insert into DATE_OF_BIRTH (birth_date)
    values ( DATE '1980-02-01);The same goes for queries.

  • Duplication issue related to photo stream, Moments, and how iPhoto handles images coming in from the stream.

    Pre-iOS 8 deleting photos from the stream was easy & comprehensive while within the 1000 pic/30 day window. Deletions affected ALL DEVICES, including the iPhoto Library. It just worked. This was controlled from the Cameral Roll.
    Now that the Camera Roll is back, the function described above wasn’t restored. Streamed images are copied to the Library and do not get removed as before when deletions happen from the Camera Roll or from the Streamed album.
    In iOS Moments LOADS of duplicate pairs appear as a result. One of each pair has a trash can and the other doesn’t. The trash can one informs the user that the photo will be deleted from the stream and all devices, but it does not delete the image from the Library on the Mac.
    Can we get the pre-iOS8 image management from Cameral Roll back without having to re-delete images from iPhoto Library on the Mac. Otherwise what’s the point of the photo stream?
    Mac Pro w/10.9.5
    iPhone 6 w/ iOS 8.1
    iPhoto 9.5.1 w/ 8052 images
    Using photo stream, but NOT iCloud betas

    Anything you save to the camera roll automatically gets put into the photo stream. You do not need to import and export to the computer as ckuan said. I have saved from email and the web and when they get saved they go into the photo stream automatically.

  • How to handle the quotes('') in the procedure?

    Hi all,
    I have been struggling with an issue in the procedure. Let us go to the functionality of the preocedure.
    I am passing a parameter that has text like
    ' INDIA,BANGALORE,"INOX,BLR","THILAK NAGAR,JAYA NAGAR "4TH 'T' BLOCK,BANGALORE",560030'
    Here, INDIA = country field
    BANGALORE = city field
    INOX,BLR = Theatre field
    THILAK NAGAR,JAYA NAGAR "4TH 'T' BLOCK,BANGALORE = address field
    560030 = pin field
    I want to load these fields into the table thru procedure. Here the issue is if any field value come with quotes(") inside the quotes like above address field. Since , please guide me how to handle that quotes while identifying the field value for either or address field or some other one.
    Table structure:
    country varchar2(100 char)
    city varchar2(100 char)
    theatre varchar2(100 char)
    address varchar2(2000 char)
    pin NUMBER
    Procedure Code:
    create or replace
    PROCEDURE prc_rollout_upload( p_text VARCHAR2 )
    AS
    v_quote_ind NUMBER := 0;
    v_first_pos NUMBER := 0;
    v_end_pos NUMBER := 0;
    v_text_data varchar2(32767 CHAR) := p_text;
    v_text_data1 varchar2(32767 CHAR);
    v_text_arr_ind NUMBER := 0;
    v_quote_pos NUMBER := 0;
    v_comma_pos NUMBER := 0;
    type text_rec IS RECORD(country VARCHAR2(20 CHAR),
    CITY VARCHAR2(1000 CHAR),
    exhibitor VARCHAR2(1000 CHAR),
    address VARCHAR2(10000 CHAR),
    PIN varchar2(6)
    type v_text_tab is table of text_rec;
    v_text_array v_text_tab := v_text_tab();
    BEGIN
    -- Fetch the values from the string to a PL/SQL table
    v_text_data1 := v_text_data;
    v_text_arr_ind := v_text_arr_ind + 1;
    v_text_array.extend(v_text_arr_ind);
    -- Country
    IF (INSTR(v_text_data1, CHR(34)) > 0 )
    THEN
    v_quote_ind := INSTR(v_text_data1, CHR(34));
    v_first_pos := INSTR(v_text_data1, CHR(34));
    v_end_pos := INSTR(v_text_data1, CHR(34),1,2);
    v_text_array(v_text_arr_ind).country := SUBSTR(v_text_data1,v_first_pos+1,v_end_pos-2);
    --DBMS_OUTPUT.PUT_LiNE(v_text_array(v_text_arr_ind).country);
    v_text_data1 := SUBSTR(v_text_data1,v_end_pos+2);
    --DBMS_OUTPUT.PUT_LiNE(v_text_data1);
    END IF;
    IF ( v_quote_ind = 0 ) THEN
    v_text_array(v_text_arr_ind).country := SUBSTR(v_text_data1,1,INSTR(v_text_data1,CHR(44))-1);
    --DBMS_OUTPUT.PUT_LiNE(v_text_array(v_text_arr_ind).country);
    v_text_data1 := SUBSTR(v_text_data1,INSTR(v_text_data1,CHR(44))+1);
    -- DBMS_OUTPUT.PUT_LiNE(v_text_data1);
    v_first_pos := 0;
    v_end_pos := 0;
    v_quote_ind := 0;
    END IF;
    -- City
    v_quote_pos := INSTR(v_text_data1,CHR(34));
    v_comma_pos := INSTR(v_text_data1,CHR(44));
    IF ( v_quote_pos < v_comma_pos )
    THEN
    v_quote_ind := INSTR(v_text_data1, CHR(34));
    v_first_pos := INSTR(v_text_data1, CHR(34));
    v_end_pos := INSTR(v_text_data1, CHR(34),1,2);
    v_text_array(v_text_arr_ind).city := SUBSTR(v_text_data1,v_first_pos+1,v_end_pos-2);
    --DBMS_OUTPUT.PUT_LiNE(v_text_array(v_text_arr_ind).city);
    v_text_data1 := SUBSTR(v_text_data1,v_end_pos+2);
    --DBMS_OUTPUT.PUT_LiNE(v_text_data1);
    v_quote_pos := 0;
    v_comma_pos := 0;
    END IF;
    IF ( v_quote_pos > v_comma_pos ) THEN
    v_text_array(v_text_arr_ind).city := SUBSTR(v_text_data1,1,INSTR(v_text_data1,CHR(44))-1);
    -- DBMS_OUTPUT.PUT_LiNE(v_text_array(v_text_arr_ind).city);
    v_text_data1 := SUBSTR(v_text_data1,INSTR(v_text_data1,CHR(44))+1);
    --DBMS_OUTPUT.PUT_LiNE(v_text_data1);
    v_first_pos := 0;
    v_end_pos := 0;
    v_quote_ind := 0;
    v_quote_pos := 0;
    v_comma_pos := 0;
    END IF;
    -- Exhibitor
    v_quote_pos := INSTR(v_text_data1,CHR(34));
    v_comma_pos := INSTR(v_text_data1,CHR(44));
    IF ( v_quote_pos < v_comma_pos )
    THEN
    v_first_pos := INSTR(v_text_data1, CHR(34));
    v_end_pos := INSTR(v_text_data1, CHR(34),1,2);
    v_text_array(v_text_arr_ind).exhibitor := SUBSTR(v_text_data1,v_first_pos+1,v_end_pos-2);
    --DBMS_OUTPUT.PUT_LiNE(v_text_array(v_text_arr_ind).exhibitor);
    v_text_data1 := SUBSTR(v_text_data1,v_end_pos+2);
    --DBMS_OUTPUT.PUT_LiNE(v_text_data1);
    v_quote_pos := 0;
    v_comma_pos := 0;
    END IF;
    IF ( v_quote_pos > v_comma_pos ) THEN
    v_text_array(v_text_arr_ind).exhibitor := SUBSTR(v_text_data1,1,INSTR(v_text_data1,CHR(44))-1);
    --DBMS_OUTPUT.PUT_LiNE(v_text_array(v_text_arr_ind).exhibitor);
    v_text_data1 := SUBSTR(v_text_data1,INSTR(v_text_data1,CHR(44))+1);
    -- DBMS_OUTPUT.PUT_LiNE(v_text_data1);
    v_first_pos := 0;
    v_end_pos := 0;
    v_quote_pos := 0;
    v_comma_pos := 0;
    END IF;
    --Address
    v_quote_pos := INSTR(v_text_data1,CHR(34));
    v_comma_pos := INSTR(v_text_data1,CHR(44));
    IF ( v_quote_pos < v_comma_pos )
    THEN
    v_first_pos := INSTR(v_text_data1, CHR(34));
    v_end_pos := INSTR(v_text_data1, CHR(34),1,2);
    v_text_array(v_text_arr_ind).address := SUBSTR(v_text_data1,v_first_pos+1,v_end_pos-2);
    --DBMS_OUTPUT.PUT_LiNE(v_text_array(v_text_arr_ind).address);
    v_text_data1 := SUBSTR(v_text_data1,v_end_pos+2);
    --DBMS_OUTPUT.PUT_LiNE(v_text_data1);
    v_quote_pos := 0;
    v_comma_pos := 0;
    END IF;
    IF ( v_quote_pos > v_comma_pos ) THEN
    v_text_array(v_text_arr_ind).address := SUBSTR(v_text_data1,1,INSTR(v_text_data1,CHR(44))-1);
    --DBMS_OUTPUT.PUT_LiNE(v_text_array(v_text_arr_ind).address);
    v_text_data1 := SUBSTR(v_text_data1,INSTR(v_text_data1,CHR(44))+1);
    -- DBMS_OUTPUT.PUT_LiNE(v_text_data1);
    v_first_pos :=0;
    v_end_pos := 0;
    v_quote_pos := 0;
    v_comma_pos := 0;
    END IF;
    --PIN
    v_quote_pos := INSTR(v_text_data1,CHR(34));
    v_comma_pos := INSTR(v_text_data1,CHR(44));
    IF ( v_quote_pos < v_comma_pos )
    THEN
    v_first_pos := INSTR(v_text_data1, CHR(34));
    v_end_pos := INSTR(v_text_data1, CHR(34),1,2);
    v_text_array(v_text_arr_ind).pin := SUBSTR(v_text_data1,v_first_pos+1,v_end_pos-2);
    --DBMS_OUTPUT.PUT_LiNE(v_text_array(v_text_arr_ind).pin);
    v_text_data1 := 0;
    --DBMS_OUTPUT.PUT_LiNE(v_text_data1);
    v_quote_pos := 0;
    v_comma_pos := 0;
    END IF;
    IF ( v_comma_pos IS NULL OR v_quote_pos > v_comma_pos ) THEN
    v_text_array(v_text_arr_ind).pin := v_text_data1;
    --DBMS_OUTPUT.PUT_LiNE(v_text_array(v_text_arr_ind).pin);
    v_text_data1 := 0;
    --DBMS_OUTPUT.PUT_LiNE(v_text_data1);
    v_first_pos := 0;
    v_end_pos := 0;
    v_quote_pos := 0;
    v_comma_pos := 0;
    END IF;
    EXCEPTION
    WHEN others then
    DBMS_OUTPUT.PUT_LiNE(SUBSTR(SQLERRM,1,200));
    END prc_rollout_upload;
    Oracle version :
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    Your help would be highly appreciated !!!
    Regards,
    Vissu.....

    To start with Try this:
    SQL> ed
    Wrote file afiedt.buf
      1    declare
      2   v_var VARCHAR2(10000) := 'INDIA,BANGALORE,"INOX,BLR","THILAK NAGAR,JAYA NAGAR ';
      3    v_delim VARCHAR2(1) := ',';
      4    v_enclose VARCHAR2(1) := '"';
      5    v_val VARCHAR2(1000) := NULL;
      6    begin
      7    v_var := v_var||'"4TH T BLOCK,BANGALORE",500365'||',';
      8    FOR I IN 1..5 LOOP
      9    v_val :=  CASE WHEN SUBSTR(v_Var,1,1) <> '"' THEN
    10              SUBSTR(v_Var,1,INSTR(v_Var,',',1,1)-1)
    11              ELSE
    12              SUBSTR(v_Var,2,INSTR(v_Var,'",',1,1) - INSTR(v_Var,'"',1,1) - 1)
    13              END;
    14    v_Var :=  CASE WHEN SUBSTR(v_Var,1,1) <> '"' THEN
    15              SUBSTR(v_Var,INSTR(v_Var,',',1,1) + 1)
    16              ELSE
    17              SUBSTR(v_Var,INSTR(v_Var,'",',1,1) + 2)
    18              END;
    19    dbms_output.put_line(v_Val);
    20    END LOOP;
    21*  end;
    SQL> /
    INDIA
    BANGALORE
    INOX,BLR
    THILAK NAGAR,JAYA NAGAR "4TH T BLOCK,BANGALORE
    500365
    PL/SQL procedure successfully completed.
    SQL>

  • How to handle Dynamic Fiscal calendar

    Hi FolksWe have designed our cubes in such a way that the time dimension is actually split into 2 time dimensions "Fiscal Year" and "Fiscal Time". The "Fiscal Time" changes every four years, in that, it has an extra week. So usually the Month February has 4 Weeks WK01, WK02, WK03, WK04, but this year it has an exta week WK05 and usually WK05 falls under March. So we are not sure how to handle this, other than combining the both dimensions, which has a huge impact on our historical data. And also we think the current design is more elegant, if we do not have this problem. Is there any way we can manage this with out comibing the both time dimensions.1. Fiscal Year FY01 FY02 FY032. FY Time Q1 AUG Q1 Wk01 Sep Oct Q2 Q3 Feb Q3 Wk01 Q3 Wk02 Q3 Wk03 Q3 Wk04

    Hi Nilesh,
    Views will be vary based on the Material Type what u are selectiing , so u have to focus on this settings.
    Regards
    Peram

  • How to handle Custom field added in BP : Role Bill Account

    Hi Friends,
    I am working on an interface which creates Bill Account role for a BP but the problem is there are about 15 Custom fields added to standard BP transaction in BA role.
    As I am using BAPI_BUPA_FS_CREATE_FROM_DATA2 for creating the BP and
    BAPI_BUPA_CENTRAL_CHANGE for changing the BP role Bill Account?
    Can anyone tell me how to handle those custom fields in the existing BAPIs or there is some other way of doing it?
    Thanks in advance,
    Pradeep
    Note : Helpful answers will be rewarded.

    Hi,
    I have seen these BAPIs but are they used with normal BAPIs for BP creation and change.
    For example : I create the BP using BAPI_BUPA_FS_CREATE_FROM_DATA2 and for the Custom fields I should use these BAPIs as suggested by you alongwith the create BAPI.
    And will it work for Changing the BP also.
    Kindly clarify.
    Regards,
    Pradeep

  • How to handle an invisible character in a string?

    Hi,
    I have an interesting situation-
    select bac_person_id, length(bac_person_id) from bkmap_personid_stg where BAC_PERSON_ID like '%27136317%'
    The result is -
    BAC_PERSON_ID|LENGTH(BAC_PERSON_ID)
    27136317|     9
    I don't know what is the invisible character here?
    It is certainly not a blank character as trim is not working -
    select * from bkmap_personid_stg where trim(BAC_PERSON_ID) = '27136317'
    no records!!
    But substr does give me the resullt -
    select * from bkmap_personid_stg where substr(BAC_PERSON_ID,1,8) = '27136317'
    How can I know which is the last character? and How to handle it?

    girija_pathak wrote:
    How can I know which is the last character? and How to handle it?You use the DUMP() function in SQL in order to see the actual content of the column.
    E.g.
    select DUMP(bac_person_id) from bkmap_personid_stg where bac_person_id like '%27136317%'
    The decimal character values will be displayed - enabling you to see where and what control characters characters exist in the string value for that column.

  • How to handle varchar(4000) field in reporting?

    Hello,
    I am having a Oracle database, the data in tables of which is being stored from a web application. One of the fields of a table is having varchar(4000) datatype.
    The data in this field is text which may contain carriage returns also.
    I have to create report of this table. How to display this data properly in a report?
    I tried few things:
    Accessed the table using SQL Developer and pasted the query output in Excel.
    As the text contains carriage returns, it is being spread into one or more rows.
    How to handle this? What is the proper way to create report for such data?
    Please help.
    -Sameer

    You the following to remove the carriage returns
    SQL> select 'a'||chr(10)||'line2
    2
    SQL> select 'line 1'||chr(10)||'line 2' from dual ;
    'LINE1'||CHR(
    line 1
    line 2
    SQL> select replace('line 1'||chr(10)||'line 2',chr(10),'') from dual ;
    REPLACE('LIN
    line 1line 2
    If this is not the soln , can you paste some sample data

  • How to handle http 302 response in OEG

    how to handle http 302 response.
    The URL has moved <a href="https://............................
    I am using "Connect to URL" and "Reflect message" filters and I am getting http 302 response. In the http esponse body/content I have the "The URL has moved <a href="https://............................"
    How to connect to this url.
    Thank you very much for your help.

    hi
    I took your advise on the second approach and added new filter to catch 302 response and read the new URL from Location. Here is the flow.
    Connect to URL --> Is HTTP CODe =302 --> Retrieve Location from Http Header- Rewrite URL - Dynamic Router - Connection
    I am getting a new error as below. I verified the certificates using the below open ssl comands and added them to the certificate store in OEG. The error comes from the Redirect URL which is cs12.salesforce.com
    C:\Program Files\GnuWin32\bin>openssl s_client -connect test.salesforce.com:443 -showcerts
    and
    C:\Program Files\GnuWin32\bin>openssl s_client -connect cs12.salesforce.com:443 -showcerts
    thank you for your time and help.
    ERROR 06/May/2012:00:22:23.125 [14e0] nested fault: SSL protocol error
    error:140CF086:SSL routines:SSL_VERIFY_CERT_CHAIN:certificate verify fai
    led
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate veri
    fy failed:
    java.lang.RuntimeException: SSL protocol error
    error:140CF086:SSL routines:SSL_VERIFY_CERT_CHAIN:certificate verify fai
    led
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate veri
    fy failed
    at com.vordel.dwe.ConnectionCache.getConnection(Native Method)
    at com.vordel.circuit.net.ConnectionProcessor$State.tryTransaction(Conne
    ctionProcessor.java:482)
    at com.vordel.circuit.net.ConnectionProcessor.invoke(ConnectionProcessor
    .java:650)
    at com.vordel.circuit.InvocationEngine.invokeFilter(InvocationEngine.jav
    a:154)
    at com.vordel.circuit.InvocationEngine.invokeCircuit(InvocationEngine.ja
    va:43)
    at com.vordel.circuit.InvocationEngine.processMessage(InvocationEngine.j
    ava:229)
    at com.vordel.circuit.SyntheticCircuitChainProcessor.invoke(SyntheticCir
    cuitChainProcessor.java:36)
    at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:290)
    at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:131)

  • How to handle a return statement from a login webservice call

    Hi all,
    I am new to this iPhone apps. I am trying to wirte a webservice call in which I am comparing my username and password details in webservice and getting an boolean statement as a response. By using that response i should display valid or invalid statement on the screen.
    Now i am able to get the response from the webservice, but i am unable to handle that boolean variable present in the xml statement.
    Can any one please suggest me how to handle that boolean value from the xml statement?
    Thanks
    SRI.

    Since you are a registered developer you would be far better off posting this in the developers site, this forum is for users of apps.

  • How to handle bdc ?

    hai all! While creating a Vendor (XK01) i want to insert house number & email address.. but in recording this fields are not displaying..how to handle this?

    While doing the recorrding,
    in the initia screen of XK01, we have a check box called 'Use central sddress management', check that and you will get all the required fields in the next screen
    Thanks,
    Raj

Maybe you are looking for

  • URGENT HELP NEEDED!!! (Almost a matter of life and death)

    Well, it's more of a matter of failing a course or not... Anyway, my Java professor gave us some labs to do. I know Java front and back, at least, whatever version I learned a few years back. This is my first tenure with the Scanner object, and it's

  • Internet sharing no longer works after 10.5.3 upgrade

    I'm aware that a number of people seem to be having wireless networking problems after upgrading to 10.5.3. I apologise if this has been covered somewhere else, but after trawling the forum I haven't been able to find any posts which deal with my spe

  • Oracle  9.2.0.3 thin with wls 8.1

    Hi Folks, A quick question: we are using wls 8.1 sp2 with oracle 9.2.0.3. I know that 9.2.0.3 has some problems (leaks for example)and I see that wls 8.1 sp3 will be coming out with 10g driver. When will SP3 be GA? can I use 10g driver with oracle 9.

  • How to use this function in crm5.2 -   /CEM/ENT_IMPORT_DATAFROMEXCEL

    i am having a problem regarding how to use this function to import values from an excel sheet. in call funtion what to specify at place of ct_ent_action = ? CALL FUNCTION '/CEM/ENT_IMPORT_DATAFROMEXCEL'   CHANGING     CT_ENT_ACTION       = EXCEPTIONS

  • Installs but doesn't work

    I have a PC running XP with 32-bit Photoshop CS5 installed.  The 32-bit pixelbender installation was fine.  However, when I open an image in Photoshop and select Filter > Pixel Bender > Pixel Bender Gallery... I get the message "Error: The operation