Field Validation on Custom Obj. 4:  Value of one field making other Req.

Hello All,
I have been working on a field validation problem for a while. I have a custom Picklist on CO4. This picklist has two values YES and NO (a checkbox does not meet requirements). What I need to do is If Picklist='YES' then FieldA, FieldB, and FieldC are Required else they are not required. FieldA = Text (short), FieldB = Date, and FieldC = Currency. I've tried numerous ways to validate on Fields A, B, and C with statements like IIf(Picklist=LookupValue(Picklist,"YES"),FieldA<>NULL,FieldA) or IIf(FieldValue(Picklist)="YES",FieldA<>NULL,FieldA) etc... these were just my latest attempts at this point I'm jsut trying random things to try to get it working. I am probably using incorrect syntax (even though it passes the sytax checker). If anyone has any suggestion let me know. Also if I haven't made clear what it is I'm attempting to do let me know and I'll try to clarify.
Thanks,
Z

Hi,
if I understand correctly, you want this functionality:
If Picklist = NO => it doesn't matter what values are contained in Field A, B and C.
If Picklist = YES => Field A is not null and Field B is not null and Field C is not null
To trigger the validation when the picklist value changes then you have to configure the Field Validation for the Picklist:
[<Picklist>]=LookupValue("Picklist","NO") OR ( Len([<Field_A>])>0 AND Len([<Field_B>])>0 AND Len([<Field_C>])>0 )
You have to put the validation also on Field_A and Field_B and Field_C, because in case of an update of , let's say, Field_B, you should prevent that Field_B is blanked.
If someone updates only Field_B and he doesn't change the value of the Picklist, the validation expression put on the Picklist is not evaluated.
Simona

Similar Messages

  • How to retrieve value of one column to other in Apex using Javascript

    Hi all,
    Can any one help me in solving this problem.
    How to send a value from one column to another column using javascript in Apex. I heard that we can use onChange().
    My requirement is,
    I have a column(Varchar2) in form where i need to enter a value and the data need to be sent to another column(Number) when i press apply changes.
    ex: if i enter a value say 1/3 or 1/4 or 1/3*1/6
    the result should be entered in the other column.
    Message was edited by:
    Raman

    Try something like
    html_GetElement('P1_ITEM2').value = eval(html_GetElement('P1_ITEM1').value);

  • How to set value from one view to other view's context node attr b4 save

    HI all,
    My requirement is as below:
    There are two views in component BP_CONT.
    BP_CONT/ContactDetails    IMPL class
    BP_CONT/SalesEmployee   SALESEMPLOYEE    STRUCT.SALESEMPLOYEE
    I want to set value from first view to second view's context node's attribute.
    i get Sales Employee BP number in ContactDetails view, from here i want to set that value in to STRUCT.SALESEMPLOYEE
    of second view in the same component.
    please send me code snippet for doing the same.
    Thanks in advance.
    seema

    Hi Seema
    You can access the fields from different views by either using custom controllers or by using component controllers, in your case you can access the Sales employee BP number from the Component controller.
    first access the component controller  as below in BP_CONT/SalesEmployee  (in do_prepare_output method) or in (specific setter method)
    lv_compcontroller type ref to CL_BP_CONT_BSPWDCOMPONENT_IMPL,
    lv_partner type ref to cl_crm_bol_entity,
    lv_role type string,
    lv_partner_no type string.
    lv_employee TYPE REF TO if_bol_bo_property_access,
    lv_compcontroller  = me->COMP_CONTROLLER.
    lv_partner ?= lv_compcontroller  ->typed_context->-partner->collection_wrapper->get_current( ).
    lv_role = lv_partner->get_property( iv_attr_name = 'BP_ROLE' )
    IF LV_ROLE = 'SALESEMPLOYEE'
      lv_partner_no ?= lv_current->get_property( iv_attr_name = 'BP_NUMBER' ).
    endif.
    now set the value
    lv_employee ?= me->typed_context->salesemployee->collection_wrapper->get_current( )
    CHECK lv_employee IS BOUND.
        lv_employee->set_property( iv_attr_name = 'SALESEMPLOYEE' iv_value =  lv_partner_no  )
    Thanks & Regards
    Raj

  • Apex 4.2  passing value from one item to other page

    I have a page where i accept a starting date and ending date as a parameter
    its source i set it as preference or application item
    Now in the other page I calls a jasper report..
    so it refers the first page.. I am not able to access the start_date which is in other page
    start_date and end_date
    Start_date shows as null
    Am confused over what is preference and application item
    Where will we use preference as a source type.
    Again example
    page 103
    p103_start_issue - preferenec
    p103_end_issue -- preference
    A buttons calls other page
    The other page
    when i call jasper report I Pass the parameter value as :p103_start_issue and :p103_end_issue
    But the actual value is null for those fields..
    How can i acess the actual value..
    Do i need to use application item. ? I tried application item as source type but still the same issue.
    Thanks

    Am confused over what is preference and application item
    Where will we use preference as a source type.A Page item is the most short-lived way to store variables in session state. Page items are routinely (although not always) cleared when entering or leaving a page. They are generally used to store a value that changes most times that you enter a page. Page items are also generally intended for use primarily by code on that page. This is not to say that other pages can not or will not use them, but access from other pages has to be controlled so that they are not trying to reference a page item from a different pages after the cache for that page has been cleared.
    Application items are for data that is longer-lived and/or is intended to be accessed by multiple pages. Application Items are not cleared unless a session end or a specific call to clear them is made.
    Preferences are for data that is intended to be stored and retrieved for specific users across multiple sessions. Log out of an app and back in and the data is still available.
    That said, from your description of the problem, I would guess that the cache on page 103 was cleared and the page item values erased. I suspect that you should be using an application item from what you have posted.

  • Populating values of one table to other in dynamic tables

    Hi Experts ,
    An issues here.
    <lt_data> is a table with different field lenghts.
    <itab> is a table of different field lenghts.
    Here how do i need to excatly put the records of each field into corresponding fileds of itab.
    the two tables are not compatible.
    eg:
    in table <lt_data>
    field1 --> length 6char
    field2 ---> lenght 2  char
    field 3 ---> length 2 char.
    in table <itab>
    field1 --> is of length 10 char.
    so the 3 field values of <lt_data> is sitting in only 1 field of <itab>
    <itab> is a dynamic table created throuth create internal table method.
    <lt_data> is populated from select query.
    both are field symobls having type table reference.
    The following is the piece of code.
      LOOP AT <lt_data> ASSIGNING <itab_wa>.
        ASSIGN COMPONENT sy-index OF STRUCTURE <itab_wa> TO <itab_wa1>.
        w_data-text = <itab_wa1>.
        APPEND w_data TO <itab>.
      ENDLOOP.
    Help is appreciated

    Hi Vadnalav,
    is it correct that you want to combine the contents of the 3 source table fields in one field of the target table?
    FIELD-SYMBOLS:
      <table_source>            TYPE STANDARD TABLE,
      <table_destination>       TYPE STANDARD TABLE,
      <table_line_source>       TYPE any,
      <table_line_destination>  TYPE any,
      <field_source>            TYPE any,
      <field_destination>       TYPE any.
    LOOP AT <table_source> ASSIGNING <table_line_source>.
      APPEND INITIAL LINE TO <table_destination> ASSIGNING <table_line_destination>.
      ASSIGN COMPONENT 1 OF STRUCTURE <table_line_destination> TO <field_destination>.
      DO 3 TIMES.
        ASSIGN COMPONENT sy-index OF STRUCTURE <table_line_source> TO <field_source>.
        CONCATENATE <field_destination> <field_source> INTO <field_destination>.
      ENDDO.
    ENDLOOP.
    Please modify according to your needs.
    Regards,
    Clemens

  • Transfer of values from one recon to other recon account

    Guru's,
    I wanted to change the recon account of a vendor from 8050001 to 8050002.
    Few entries are already posted in the vendor with the recon 8050001. I know that FAGL101 can be used to transfer the values from 8050001 to 8050002.
    In the OBBW I did the configuration like this
    Reconciliation account : 8050001
    Adjustment Account : 9000014(Clearing account)
    Please advise me if I need to do any other settings in Config and also tell me the procedure to run that in FAGL101.
    Thanks in advance and points will defnitely be assigned.
    Deepak

    Hi,
    I dont think you can update members. However, you can definitely send transactional data from one application to another using the DESTINATION_APP statement.
    You have a good example available in BPC 320 on beforerange and afterrange.
    Lets say that there are 5 columns in the report after the EVDRE expansion is done. Then in the beforerange or afterrange, you can use EVRNG function with a range of 5 cells. Lets say that you define EVRNG(J1:N1). In these cells, you can use formulas like EVSUM etc, and these formulas will be taken by the rows in your EVDRE report. If you define afterrange, then you will have additional row at the bottom. If you define beforerange, then you will have additional row at the top.
    Hope this helps.

  • Passing a user-entered value of one variable to other.

    Hi Experts,
    I am writing an exit for a variable 'Ref. Date' which is the FROM value of 'Cal. Week' variable.
    Code works fine when written in CASE I_STEP = 2 of 'Ref. Date' . But errs when "Ready for input" condition is unticked. ('Ref. Date' is used for restriction of a KF).
    CAn u pls tell me. Where exactly the code should be written?

    Ok. Done.

  • How to pass values from one stage to other

    I have two stage (say primary and secondary).The primary stage creates the secondary stage. When the secondary is opened i can access all the members(say bitNo) of 1st stage and try to set some value. But in the 1st stage i find the value not being set. I think it's because 1st is executed before the 2nd. I used showAndWait() in 1st then show() on 2nd then it is throwing exception.
    So i want to use the values set by the 2nd stage in the 1st stage.
    How do i synchronize them ?
    Thanks .
    package test;
    import javafx.application.Application;
    import javafx.event.*;
    import javafx.scene.*;
    import javafx.scene.control.*;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.*;
    import javafx.stage.*;
    public class Test extends Application {
        private int bitNo;
        Stage primaryStage,secondaryStage;   
        TextField textField;   
        double x,y;
        public static void main(String[] args) { launch(args); }
        @Override
        public void start(final Stage primaryStage) {
            this.primaryStage=primaryStage;
            Group rt=new Group();
            Scene sc= new Scene(rt,300,300);
            Button button =new Button("Click Me");
            button.setOnAction(new EventHandler<ActionEvent>() {
                @Override
                public void handle(ActionEvent event) {
                    secondaryStage=new Stage(StageStyle.TRANSPARENT);
                    secondaryStage.initModality(Modality.WINDOW_MODAL);
                    secondaryStage.initOwner(primaryStage);    
                    showSecondaryWindow();
            rt.getChildren().add(button);          
            primaryStage.setScene(sc);
            primaryStage.show();
            //primaryStage.showAndWait();
            System.out.println("Bit no set= "+bitNo);      
    }//start
    public void showSecondaryWindow(){
         Pane root=new Pane();
         root.setStyle("-fx-background-color: rgb(0,50,70);");
         //root.setPrefSize(200,200);
         Scene scene=new Scene(root,200,300);
         Label label=new Label("Data");
         textField=new TextField();
         textField.setUserData("one");
         Button ok=new Button("Ok");
         ok.setDefaultButton(true);
         ok.setOnMouseClicked(new EventHandler<MouseEvent>() {
            @Override
            public void handle(MouseEvent event) {
                System.out.println("New Stage Mouse Clicked");
                bitNo=Integer.parseInt(textField.getText());
                System.out.println("Bit no set by Secondary= "+bitNo);
                primaryStage.getScene().getRoot().setEffect(null);
                secondaryStage.close();
         Button cancel=ButtonBuilder.create().cancelButton(true).text("Cancel").build();
         cancel.setOnMouseClicked(new EventHandler<MouseEvent>() { 
             @Override
             public void handle(MouseEvent event) {
                 System.out.println("New Stage Mouse Clicked");
                 primaryStage.getScene().getRoot().setEffect(null);
                 secondaryStage.close();
         //VBox vBox =new VBox();
         //vBox.getChildren().addAll(label,textField,ok);
         HBox dataFileds=new HBox(10);
         dataFileds.getChildren().addAll(label,textField);
         HBox buttons=new HBox(10);
         buttons.getChildren().addAll(cancel,ok);
         root.getChildren().add(VBoxBuilder.create().children(dataFileds,buttons).spacing(10).build());
         //scene.getStylesheets().add(Test.class.getResource("Modal.css").toExternalForm());
         secondaryStage.setScene(scene);
         //final Node root = secondaryStage.getScene().getRoot();
         root.setOnMousePressed(new EventHandler<MouseEvent>() {
             @Override public void handle(MouseEvent mouseEvent) {
                 // record distance for the drag and drop operation.
                 x = secondaryStage.getX() - mouseEvent.getScreenX();
                 y = secondaryStage.getY() - mouseEvent.getScreenY();
         root.setOnMouseDragged(new EventHandler<MouseEvent>() {
             @Override public void handle(MouseEvent mouseEvent) {
                 secondaryStage.setX(mouseEvent.getScreenX() +x);
                 secondaryStage.setY(mouseEvent.getScreenY() +y);
         //primaryStage.getScene().getRoot().setEffect(new BoxBlur());
         secondaryStage.show();
    }//showSecondaryWindow
    }//class

    You can use showAndWait() on your secondary stage. Then execution is blocked and you'll see the change to your variable:
    package test ;
    import javafx.application.Application;
    import javafx.event.*;
    import javafx.scene.*;
    import javafx.scene.control.*;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.*;
    import javafx.stage.*;
    public class Test extends Application {
      private int bitNo;
      Stage primaryStage, secondaryStage;
      TextField textField;
      double x, y;
      public static void main(String[] args) {
        launch(args);
      @Override
      public void start(final Stage primaryStage) {
        this.primaryStage = primaryStage;
        Group rt = new Group();
        Scene sc = new Scene(rt, 300, 300);
        Button button = new Button("Click Me");
        button.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            secondaryStage = new Stage(StageStyle.TRANSPARENT);
            secondaryStage.initModality(Modality.WINDOW_MODAL);
            secondaryStage.initOwner(primaryStage);
            // This calls showAndWait(), so execution blocks until the window is closed
            showSecondaryWindow();
            // secondary window is now closed, value should be updated:
            System.out.println("Bit no now: " + bitNo);
        rt.getChildren().add(button);
        primaryStage.setScene(sc);
        primaryStage.show();
        // primaryStage.showAndWait();
        System.out.println("Bit no set= " + bitNo);
      }// start
      public void showSecondaryWindow() {
        Pane root = new Pane();
        root.setStyle("-fx-background-color: rgb(0,50,70);");
        // root.setPrefSize(200,200);
        Scene scene = new Scene(root, 200, 300);
        Label label = new Label("Data");
        textField = new TextField();
        textField.setUserData("one");
        Button ok = new Button("Ok");
        ok.setDefaultButton(true);
        ok.setOnMouseClicked(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            System.out.println("New Stage Mouse Clicked");
            bitNo = Integer.parseInt(textField.getText());
            System.out.println("Bit no set by Secondary= " + bitNo);
            primaryStage.getScene().getRoot().setEffect(null);
            secondaryStage.close();
        Button cancel = ButtonBuilder.create().cancelButton(true).text("Cancel")
            .build();
        cancel.setOnMouseClicked(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            System.out.println("New Stage Mouse Clicked");
            primaryStage.getScene().getRoot().setEffect(null);
            secondaryStage.close();
        // VBox vBox =new VBox();
        // vBox.getChildren().addAll(label,textField,ok);
        HBox dataFileds = new HBox(10);
        dataFileds.getChildren().addAll(label, textField);
        HBox buttons = new HBox(10);
        buttons.getChildren().addAll(cancel, ok);
        root.getChildren().add(
            VBoxBuilder.create().children(dataFileds, buttons).spacing(10).build());
        // scene.getStylesheets().add(Test.class.getResource("Modal.css").toExternalForm());
        secondaryStage.setScene(scene);
        // final Node root = secondaryStage.getScene().getRoot();
        root.setOnMousePressed(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent mouseEvent) {
            // record distance for the drag and drop operation.
            x = secondaryStage.getX() - mouseEvent.getScreenX();
            y = secondaryStage.getY() - mouseEvent.getScreenY();
        root.setOnMouseDragged(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent mouseEvent) {
            secondaryStage.setX(mouseEvent.getScreenX() + x);
            secondaryStage.setY(mouseEvent.getScreenY() + y);
        // primaryStage.getScene().getRoot().setEffect(new BoxBlur());
        secondaryStage.showAndWait();
      }// showSecondaryWindow
    }// classYou can also use an IntegerProperty to hold the variable, and listen for changes on it:
    package test ;
    import javafx.application.Application;
    import javafx.beans.property.IntegerProperty;
    import javafx.beans.property.SimpleIntegerProperty;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.event.*;
    import javafx.scene.*;
    import javafx.scene.control.*;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.*;
    import javafx.stage.*;
    public class Test extends Application {
      private IntegerProperty bitNo;
      Stage primaryStage, secondaryStage;
      TextField textField;
      double x, y;
      public static void main(String[] args) {
        launch(args);
      @Override
      public void start(final Stage primaryStage) {
        this.bitNo = new SimpleIntegerProperty();
        bitNo.addListener(new ChangeListener<Number>() {
          @Override
          public void changed(ObservableValue<? extends Number> observable,
              Number oldValue, Number newValue) {
            System.out.printf("bit no changed from %d to %d%n", oldValue, newValue);
        this.primaryStage = primaryStage;
        Group rt = new Group();
        Scene sc = new Scene(rt, 300, 300);
        Button button = new Button("Click Me");
        button.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            secondaryStage = new Stage(StageStyle.TRANSPARENT);
            secondaryStage.initModality(Modality.WINDOW_MODAL);
            secondaryStage.initOwner(primaryStage);
            showSecondaryWindow();
        rt.getChildren().add(button);
        primaryStage.setScene(sc);
        primaryStage.show();
        // primaryStage.showAndWait();
        System.out.println("Bit no set= " + bitNo.get());
      }// start
      public void showSecondaryWindow() {
        Pane root = new Pane();
        root.setStyle("-fx-background-color: rgb(0,50,70);");
        // root.setPrefSize(200,200);
        Scene scene = new Scene(root, 200, 300);
        Label label = new Label("Data");
        textField = new TextField();
        textField.setUserData("one");
        Button ok = new Button("Ok");
        ok.setDefaultButton(true);
        ok.setOnMouseClicked(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            System.out.println("New Stage Mouse Clicked");
            bitNo.set(Integer.parseInt(textField.getText()));
            System.out.println("Bit no set by Secondary= " + bitNo);
            primaryStage.getScene().getRoot().setEffect(null);
            secondaryStage.close();
        Button cancel = ButtonBuilder.create().cancelButton(true).text("Cancel")
            .build();
        cancel.setOnMouseClicked(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            System.out.println("New Stage Mouse Clicked");
            primaryStage.getScene().getRoot().setEffect(null);
            secondaryStage.close();
        // VBox vBox =new VBox();
        // vBox.getChildren().addAll(label,textField,ok);
        HBox dataFileds = new HBox(10);
        dataFileds.getChildren().addAll(label, textField);
        HBox buttons = new HBox(10);
        buttons.getChildren().addAll(cancel, ok);
        root.getChildren().add(
            VBoxBuilder.create().children(dataFileds, buttons).spacing(10).build());
        // scene.getStylesheets().add(Test.class.getResource("Modal.css").toExternalForm());
        secondaryStage.setScene(scene);
        // final Node root = secondaryStage.getScene().getRoot();
        root.setOnMousePressed(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent mouseEvent) {
            // record distance for the drag and drop operation.
            x = secondaryStage.getX() - mouseEvent.getScreenX();
            y = secondaryStage.getY() - mouseEvent.getScreenY();
        root.setOnMouseDragged(new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent mouseEvent) {
            secondaryStage.setX(mouseEvent.getScreenX() + x);
            secondaryStage.setY(mouseEvent.getScreenY() + y);
        // primaryStage.getScene().getRoot().setEffect(new BoxBlur());
        secondaryStage.show();
      }// showSecondaryWindow
    }// class

  • Getting the values from one transaction from other

    Hi,
    I have the following requirement:
    Whenever run from ZAP02 or ZAP07, ZAP20 should consider the plant selected in those transactions and retrieve the appropriate calendar in the Z table.
    if anyone knows, please help me.
    Thanks
    Shiva

    hi,
    try this.
    A simple example of ABAP memory is using the EXPORT/IMPORT statements.
    Here in this program, I get the data, export it to memory,
    clear out the internal table in my progam, then reimport the data into it and write out the data.
    You probably wounldn't do this in a normal program,
    but this is how you can pass data from program a to program b when A Submits program B.
    report zxy_0002 .
    data: it001 type table of t001 with header line.
    select * into table it001 from t001.
    export it001 = it001 to memory id 'ZXY_TEST'.
    clear it001. refresh it001.
    import it001 = it001 from memory id 'ZXY_TEST'.
    loop at it001.
      write:/ it001-bukrs, it001-butxt.
    endloop.
    rgds
    anver
    if hlped mark points

  • Passing prompt value from one report to other using navigation

    I have one dashboard with one prompt (Prompt Name: Date) and a report with date column. This date in the prompt defaults to current date by using server variable ‘CURRENT_DATE’. When a user executes this dashboard the report will be executed for current date. Now I configured navigation on a column (MTD) that will take the user to another report. My Requirement is I have to filter the second report with a condition ‘Date<current date’. In the second report I applied a filter Date<valueof(CURRENT_DATE). To my surprise when I navigate from the first report to second report this filter condition Date<valueof(CURRENT_DATE) is replaced by Date=valueof(CURRENT_DATE). I did not under stand why navigating from the first report replacing the filter condition on the second report. If this is the expected functionality, what is the workaround for this?
    To summarise my user want to see current date data in the first report and all the data less than current date in the second report. I tried with presentation variables. same thing happening with them as well.
    Please let me know if there is any solution for this
    Venkat

    I mean to say,
    fro second report apply filter not as global filters
    To apply as inner fitlers...
    Go to measures fx in answers
    select the code in fx and click on filters options
    and select the date from left pane (selection pane)
    and write CURRENT_DATE by Converting this filter to SQL (the option is something like this)
    see in this way ..
    i didn't get time to work on your issue...
    So please try this and report back..
    Thanks & Regards
    Kishore Guggilla

  • Passing values from one iView to other iViews in the same page

    Hi all,
    I have one entry jsp+htmlb iView  and two other BW iViews( URL based). The entries made in one iView serves as the input for the other two iViews to generate BW reports.
    I know we should use EPCM event API but how do I dynamically change the URL (with application parameters) in the other two iViews?
    Thanks in advance.
    Rgds,
    Janvi

    Hi Janvi,
    look here:
    Permanent change of iView property programmatically
    Yoav.

  • Transfer of values from one application to other

    hi,
    Can i update second plng application members from first application's default.lgf file.
    Can i anyone give simple example on before range & after range options?
    thanks,

    Hi,
    I dont think you can update members. However, you can definitely send transactional data from one application to another using the DESTINATION_APP statement.
    You have a good example available in BPC 320 on beforerange and afterrange.
    Lets say that there are 5 columns in the report after the EVDRE expansion is done. Then in the beforerange or afterrange, you can use EVRNG function with a range of 5 cells. Lets say that you define EVRNG(J1:N1). In these cells, you can use formulas like EVSUM etc, and these formulas will be taken by the rows in your EVDRE report. If you define afterrange, then you will have additional row at the bottom. If you define beforerange, then you will have additional row at the top.
    Hope this helps.

  • Copy value from one ctype to other  ctype

    Hi Experts,
    I am creating a sales order with reference to a contract. I want to copy the rate (KBETR) of condition type ZXXX from contract to condition type ZYYY in sale order. But I am not able to copy it through copy control.
    Can anyone help me?????????
    Regards,
    Kuldeep Dahiya

    Hi Kuldeep Dahiya,
    Copy control only copies one document to other document with same condition types, for your requirement you need to write a routine.
    Instead why not copy ZXXX to ZXXx only in contract and order.This is a standard functionality-if you want to copy ZXXX to ZYYY then you require development in the form of a routine.
    I hope i have understood your query clearly.
    regards,
    US

  • Unable to pass the values from one report to another using navigation links

    Hi All,
    I am facing a strange issue where I have to pass a column value from one report to other.
    I have kept navigation link in the 1st report and 'is prompted' option in the 2nd report
    Issue was , I'm not getting the filtered result in the 2nd report (all the records are being displayed)
    Can anyone advice where I was going wrong
    Thank you,
    AO

    Hi,
    The column which you have given navigation link and 'is prompted' column should same and exist in both the reports.You have to give the guided navigation in the value interaction of the column in the report1.
    mark if helpful/correct.........
    thanks,
    prasanna

  • Error in saving customer information. Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.

    I was trying to create a text alert. I was calling following in jsp
    email.setContactPointPurpose(myLookUpCode); //say XXMY_SMS_SHIP
            PartyManager.createEmail(email, ApiConstant.CONTACT_POINT);
    Getting following exception:
    Error in saving customer information.
    Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.
    Error trace:
    oracle.apps.ibe.customer.CustomerException: Error in saving customer information. at oracle.apps.ibe.tcav2.Email.create(Email.java:187) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Caused by: oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) ... 11 more Error in saving customer information. oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.

    Tried this but it is giving the below error
    APP-FND-01242: Cannot read value from field PER_ASSIGNMENT_ID
    Cause: The field PER_ASSIGNMENT_ID could not be located or read.
    Action: This error is normally the result of an incorrectly-entered field name string in a trigger, or a field name string that does not uniquely specify a field in your form. Correct your trigger logic to precisely specify a valid field.

Maybe you are looking for

  • Error when modifying tabular form

    Hi In Apex 3, I created a tabular form based on the query below: select user_id /* PK */, name, dob from users It works perfectly well; I am able to update the name and dob fields. Then I changed the query to: select user_id /* PK */, name, null dob

  • JMS sender adapter : message type null is unknown, payload cannot be read

    Hello, We are building a scenario Weblogic -> PI through a JMS adapter, but we are getting the following error in the adapter : 2009-09-29 12:09:58     Information     New JMS message with JMS message ID ID:P<450046.1254218997063.0> received. The XI

  • How to conrol the size of Node Manager error logs

    How to control the size of Node manger error.logs in Weblogic 8.1?

  • Cannot load Mac os

    Hi I started boot camp to install windows 7 and the installation failed and it keep restarting with the same problem and I have no idea what the problem with the windows installation is! Now I can't seem to load the Mac OS.  Please help.

  • Insert asterisk(*) for amount field (Very Urgent)

    Hi all, I want to insert asterisk() for amount field REGUD-SWNET(15C) in SAP script. ie suppose amount is 1000.00 rest of the length should be filled by asterisk() infrount of amount. ie ********1000.00 it has display like this. Your help ll be rewar