Combining "conditional display" conditions

Hello,
Using APEX2.2 i would like to combine two conditions for the display of a region from page0.
First condition : the region should be one of the pages x1,..xn
Second condition: the page should not be in printer friendly mode
I can imagine that combining these conditions may only be from the use of API to these basic functions.
Any pointer to these API because i have not been able until now to collect this specific information ?
Daniel

Daniel,
This can be done with a standard condition of PL/SQL Expression type, like:
:APP_PAGE_ID in (1) and :PRINTER_FRIENDLY = 'YES';
Hope this helps,
Anthony.

Similar Messages

  • Reg: Combining two display lists into one list

    Dear All,
    i want to combine two display lists into one display list. Please give the idea for this one issue.
    *****************dispaly list 1 starting here*********************
    *&      Form  F_006_DISPLAY_LIST
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM F_006_DISPLAY_LIST.
    *  TABLES : LFA1 .
      DATA : V_DEBIT_TOTAL TYPE P DECIMALS 2 ,
             V_CREDIT_TOTAL TYPE P DECIMALS 2 ,
             V_CLOSE_BAL TYPE P DECIMALS 2 .
      DATA : V_CNT TYPE I .
      SORT ITAB_OPG BY LIFNR.
      LOOP AT ITAB_OPG.
        NEW-PAGE.
    * Displaying Vendor Name
        SELECT SINGLE NAME1 FROM LFA1 INTO LFA1-NAME1 WHERE
                                                 LIFNR EQ ITAB_OPG-LIFNR .
        FORMAT COLOR COL_POSITIVE INTENSIFIED ON.
        WRITE:/2 'Vendor Code:' ,
                 ITAB_OPG-LIFNR  ,
              40 LFA1-NAME1 .
        CLEAR : LFA1 .
        WRITE :/(190) SY-ULINE .
    * Displaying Opening Balance
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON .
        READ TABLE ITAB_OPG WITH KEY LIFNR = ITAB_OPG-LIFNR .
        IF ITAB_OPG-BAL LE 0 .
          WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
                  171(18) ITAB_OPG-BAL .
        ELSE.
          WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
                  151(18) ITAB_OPG-BAL .
        ENDIF.
        WRITE :/(190) SY-ULINE .
    * Displaying Line Items
        LOOP AT ITAB_DISPLAY WHERE LIFNR EQ ITAB_OPG-LIFNR.
          V_CNT = SY-TABIX MOD 2.
          IF V_CNT EQ 0.
            FORMAT COLOR COL_NORMAL INTENSIFIED ON.
          ELSE.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          ENDIF.
    * Selecting Bank Name and Cheque Number
          SELECT SINGLE CHECT HBKID INTO (PAYR-CHECT , PAYR-HBKID)
                               FROM PAYR WHERE
                        ZBUKR EQ P_BUKRS AND
                        VBLNR EQ ITAB_DISPLAY-BELNR AND
                        LIFNR EQ ITAB_DISPLAY-LIFNR .
          SELECT SINGLE BANKS BANKL INTO (T012-BANKS , T012-BANKL) FROM
                 T012 WHERE BUKRS EQ P_BUKRS AND
                            HBKID EQ PAYR-HBKID.
          SELECT SINGLE BANKA INTO BNKA-BANKA FROM BNKA WHERE
                            BANKS EQ T012-BANKS AND
                            BANKL EQ T012-BANKL .
          WRITE :/2 ITAB_DISPLAY-BUDAT ,
                 14 ITAB_DISPLAY-BELNR ,
                 26 ITAB_DISPLAY-BLDAT ,
                 40 ITAB_DISPLAY-XBLNR ,
                 58(16) PAYR-CHECT ,
                 75 BNKA-BANKA ,
                105(40) ITAB_DISPLAY-SGTXT ,
                146(4) ITAB_DISPLAY-BLART .
    * Determinig Debit or Credit
          IF ITAB_DISPLAY-SHKZG EQ 'S'.
            V_DEBIT_TOTAL = V_DEBIT_TOTAL + ITAB_DISPLAY-DMBTR.
            WRITE:151(18)  ITAB_DISPLAY-DMBTR ,
                  171(18)  SPACE .
          ELSEIF ITAB_DISPLAY-SHKZG EQ 'H'.
            V_CREDIT_TOTAL = V_CREDIT_TOTAL + ITAB_DISPLAY-DMBTR.
            WRITE:151(18) SPACE ,
                  171(18)  ITAB_DISPLAY-DMBTR .
          ENDIF.
          CLEAR : T012 , BNKA , PAYR .
        ENDLOOP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/(190) SY-ULINE.
    * Displaying Debit and Credit Totals
        WRITE:/125 TEXT-001 ,
           151(18) V_DEBIT_TOTAL ,
           171(18) V_CREDIT_TOTAL .
        WRITE:/(190) SY-ULINE.
    * Displaying the Closing Balance
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        V_CLOSE_BAL = ITAB_OPG-BAL + V_DEBIT_TOTAL - V_CREDIT_TOTAL .
        IF V_CLOSE_BAL GT 0.
          WRITE:/122 TEXT-002 ,
             151(18) V_CLOSE_BAL NO-SIGN.  " D00K909674
        ELSEIF V_CLOSE_BAL LE 0.
          WRITE:/122 TEXT-002 ,
             171(18) V_CLOSE_BAL NO-SIGN.  " D00K909674
        ENDIF.
        CLEAR : V_CLOSE_BAL.
      ENDLOOP.
    ENDFORM.                               " F_006_DISPLAY_LIST
    *****************dispaly list 1 ending here*********************
    *****************dispaly list 2 starting here*********************
    *&      Form  F_006_DISPLAY_LIST1
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM F_006_DISPLAY_LIST1 .
    TABLES : KNA1 .
      DATA : V_DEBIT_TOTAL1 TYPE P DECIMALS 2 ,
             V_CREDIT_TOTAL1 TYPE P DECIMALS 2 ,
             V_CLOSE_BAL1 TYPE P DECIMALS 2 .
      DATA : V_CNT1 TYPE I .
      SORT ITAB_OPG1 BY KUNNR.
      LOOP AT ITAB_OPG1.
        NEW-PAGE.
    * Displaying Vendor Name
        SELECT SINGLE NAME1 FROM KNA1 INTO KNA1-NAME1 WHERE
                                                 KUNNR EQ ITAB_OPG1-KUNNR .
        FORMAT COLOR COL_POSITIVE INTENSIFIED ON.
        WRITE:/2 'Customer Code:' ,
                 ITAB_OPG1-KUNNR  ,
              40 KNA1-NAME1 .
        CLEAR : KNA1 .
        WRITE :/(190) SY-ULINE .
    * Displaying Opening Balance
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON .
        READ TABLE ITAB_OPG1 WITH KEY KUNNR = ITAB_OPG1-KUNNR .
        IF ITAB_OPG1-BAL1 LE 0 .
          WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
                  171(18) ITAB_OPG1-BAL1 .
        ELSE.
          WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
                  151(18) ITAB_OPG1-BAL1 .
        ENDIF.
        WRITE :/(190) SY-ULINE .
    * Displaying Line Items
        LOOP AT ITAB_DISPLAY1 WHERE KUNNR EQ ITAB_OPG1-KUNNR.
          V_CNT1 = SY-TABIX MOD 2.
          IF V_CNT1 EQ 0.
            FORMAT COLOR COL_NORMAL INTENSIFIED ON.
          ELSE.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          ENDIF.
    * Selecting Bank Name and Cheque Number
          SELECT SINGLE CHECT HBKID INTO (PAYR-CHECT , PAYR-HBKID)
                               FROM PAYR WHERE
                        ZBUKR EQ P_BUKRS AND
                        VBLNR EQ ITAB_DISPLAY1-BELNR AND
                        KUNNR EQ ITAB_DISPLAY1-KUNNR .
          SELECT SINGLE BANKS BANKL INTO (T012-BANKS , T012-BANKL) FROM
                 T012 WHERE BUKRS EQ P_BUKRS AND
                            HBKID EQ PAYR-HBKID.
          SELECT SINGLE BANKA INTO BNKA-BANKA FROM BNKA WHERE
                            BANKS EQ T012-BANKS AND
                            BANKL EQ T012-BANKL .
          WRITE :/2 ITAB_DISPLAY1-BUDAT ,
                 14 ITAB_DISPLAY1-BELNR ,
                 26 ITAB_DISPLAY1-BLDAT ,
                 40 ITAB_DISPLAY1-XBLNR ,
                 58(16) PAYR-CHECT ,
                 75 BNKA-BANKA ,
                105(40) ITAB_DISPLAY1-SGTXT ,
                146(4) ITAB_DISPLAY1-BLART .
    * Determinig Debit or Credit
          IF ITAB_DISPLAY1-SHKZG EQ 'S'.
            V_DEBIT_TOTAL1 = V_DEBIT_TOTAL1 + ITAB_DISPLAY1-DMBTR.
            WRITE:151(18)  ITAB_DISPLAY1-DMBTR ,
                  171(18)  SPACE .
          ELSEIF ITAB_DISPLAY1-SHKZG EQ 'H'.
            V_CREDIT_TOTAL1 = V_CREDIT_TOTAL1 + ITAB_DISPLAY1-DMBTR.
            WRITE:151(18) SPACE ,
                  171(18)  ITAB_DISPLAY1-DMBTR .
          ENDIF.
          CLEAR : T012 , BNKA , PAYR .
        ENDLOOP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/(190) SY-ULINE.
    * Displaying Debit and Credit Totals
        WRITE:/125 TEXT-001 ,
           151(18) V_DEBIT_TOTAL1,
           171(18) V_CREDIT_TOTAL1 .
        WRITE:/(190) SY-ULINE.
    * Displaying the Closing Balance
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        V_CLOSE_BAL1 = ITAB_OPG1-BAL1 + V_DEBIT_TOTAL1 - V_CREDIT_TOTAL1 .
        IF V_CLOSE_BAL1 GT 0.
          WRITE:/122 TEXT-002 ,
             151(18) V_CLOSE_BAL1 NO-SIGN.  " D00K909674
        ELSEIF V_CLOSE_BAL1 LE 0.
          WRITE:/122 TEXT-002 ,
             171(18) V_CLOSE_BAL1 NO-SIGN.  " D00K909674
        ENDIF.
        CLEAR : V_CLOSE_BAL1.
      ENDLOOP.
    ENDFORM.                    " F_006_DISPLAY_LIST1
    *****************dispaly list 2 ending here*********************
    Thanks,
    Sankar M

    Hi,
    Can you post it as two halves ?
    Regards,
    Swarna Munukoti

  • Combining Conditions with two DataSources

    Hello All,
    The following Code is to Set two condition to load my data, but my problem is that they are not combining. Is there a way to put two DataSources to a Condition? Or is there a way to Combined them?
    '//Activates Query
    '// getting the data sources from the form
    Set oDBDataSource = Form.DataSources.DBDataSources.Item("RDR1")
    Set oDBDataSource2 = Form.DataSources.DBDataSources.Item("ORDR")
    '// Query the DB Data source
    '// create a new conditions collection
        Set pConds = New Conditions
        Set pConds2 = New Conditions
    '// (CardCode = inputted Cust No) 
        Set pCond2 = pConds2.Add()
        pCond2.BracketOpenNum = 1
        pCond2.Alias = "CardCode" 'FIELD NAME
        pCond2.Operation = co_EQUAL
        pCond2.CondVal = CCode
        pCond2.BracketCloseNum = 1
    '// Execute the query with the conditions collections
        oDBDataSource2.Query (pConds2)
    '// where clause
    '// (LineStatus = 'O')  //O = Open order//
        Set pCond = pConds.Add()
        pCond.BracketOpenNum = 1
        pCond.Alias = "LineStatus" 'FIELD NAME
        pCond.Operation = co_EQUAL
        pCond.CondVal = "O"
        pCond.BracketCloseNum = 1
    '// Execute the query with the conditions collections
        oDBDataSource.Query pConds
    '// set the user data source data
        For i = 0 To oDBDataSource.Size - 1
            oDBDataSource.Offset = i
            oMatrix.AddRow
        Next i

    Hi Laura,
    I think the discussion in this thread will give you the answer:
    JIONs-Query as MatrixDataSourse
    Regards,
    Frank

  • Combining Conditional Actions in Advanced Actions

    I have created a Jeopardy game in Captivate.  There are 16 questions.  I have set an Advanced Action so that
    when all 16 questions are clicked on the user will go to "final Jeopardy".  What I can't figure out is to add that after 5 questions are clicked on for the user to go a different slide before they go back to the gameboard.  Can you add two conditional statements in one advanced action?

    Hello,
    You can combine as much decisions as you want in an Advanced Conditional action. Although the default number is 3, you can add as many as you want. Perhaps this video tutorial could help you:
    Customized feedback
    In my blog you can find quite a lot of examples of condtional actions with multiple decisions as well:
    lilybiri's posterous
    Lilybiri

  • Combining Multiple Display Values in a LOV

    Using Application Express 3.1.0.00.32
    I am attempting to create a dynamic LOV that will select an employees name from a table. The first, last and middle initial are in separate columns in the table. Since I am new to this I tried the following code when attempting to create the LOV:
    select
    last_name d, first_name d, middle_initial d, emple_no r
    from
    schema.table
    order by
    last_name
    Doing so created the following error:
    +1 error has occurred+
    * LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.
    I was unable to find a solution to this specific problem while searching.
    What I am wishing to create is to have the LOV display the employees last name, first name and middle init sorting by last name by saving the employee's id in the table.

    select
    last_name || ', ' ||first_name || ' ' || middle_initial d, emple_no r
    from
    schema.table

  • Reg:Combining two display list into one

    *&      Form  F_006_DISPLAY_LIST
          text
    -->  p1        text
    <--  p2        text
    FORM F_006_DISPLAY_LIST.
    TABLES : LFA1 .
      DATA : V_DEBIT_TOTAL TYPE P DECIMALS 2 ,
             V_CREDIT_TOTAL TYPE P DECIMALS 2 ,
             V_CLOSE_BAL TYPE P DECIMALS 2 .
      DATA : V_CNT TYPE I .
      SORT ITAB_OPG BY LIFNR.
      LOOP AT ITAB_OPG.
        NEW-PAGE.
    Displaying Vendor Name
        SELECT SINGLE NAME1 FROM LFA1 INTO LFA1-NAME1 WHERE
                                                 LIFNR EQ ITAB_OPG-LIFNR .
        FORMAT COLOR COL_POSITIVE INTENSIFIED ON.
        WRITE:/2 'Vendor Code:' ,
                 ITAB_OPG-LIFNR  ,
              40 LFA1-NAME1 .
        CLEAR : LFA1 .
        WRITE :/(190) SY-ULINE .
    Displaying Opening Balance
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON .
        READ TABLE ITAB_OPG WITH KEY LIFNR = ITAB_OPG-LIFNR .
        IF ITAB_OPG-BAL LE 0 .
          WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
                  171(18) ITAB_OPG-BAL .
        ELSE.
          WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
                  151(18) ITAB_OPG-BAL .
        ENDIF.
        WRITE :/(190) SY-ULINE .
    Displaying Line Items
        LOOP AT ITAB_DISPLAY WHERE LIFNR EQ ITAB_OPG-LIFNR.
          V_CNT = SY-TABIX MOD 2.
          IF V_CNT EQ 0.
            FORMAT COLOR COL_NORMAL INTENSIFIED ON.
          ELSE.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          ENDIF.
    Selecting Bank Name and Cheque Number
          SELECT SINGLE CHECT HBKID INTO (PAYR-CHECT , PAYR-HBKID)
                               FROM PAYR WHERE
                        ZBUKR EQ P_BUKRS AND
                        VBLNR EQ ITAB_DISPLAY-BELNR AND
                        LIFNR EQ ITAB_DISPLAY-LIFNR .
          SELECT SINGLE BANKS BANKL INTO (T012-BANKS , T012-BANKL) FROM
                 T012 WHERE BUKRS EQ P_BUKRS AND
                            HBKID EQ PAYR-HBKID.
          SELECT SINGLE BANKA INTO BNKA-BANKA FROM BNKA WHERE
                            BANKS EQ T012-BANKS AND
                            BANKL EQ T012-BANKL .
          WRITE :/2 ITAB_DISPLAY-BUDAT ,
                 14 ITAB_DISPLAY-BELNR ,
                 26 ITAB_DISPLAY-BLDAT ,
                 40 ITAB_DISPLAY-XBLNR ,
                 58(16) PAYR-CHECT ,
                 75 BNKA-BANKA ,
                105(40) ITAB_DISPLAY-SGTXT ,
                146(4) ITAB_DISPLAY-BLART .
    Determinig Debit or Credit
          IF ITAB_DISPLAY-SHKZG EQ 'S'.
            V_DEBIT_TOTAL = V_DEBIT_TOTAL + ITAB_DISPLAY-DMBTR.
            WRITE:151(18)  ITAB_DISPLAY-DMBTR ,
                  171(18)  SPACE .
          ELSEIF ITAB_DISPLAY-SHKZG EQ 'H'.
            V_CREDIT_TOTAL = V_CREDIT_TOTAL + ITAB_DISPLAY-DMBTR.
            WRITE:151(18) SPACE ,
                  171(18)  ITAB_DISPLAY-DMBTR .
          ENDIF.
          CLEAR : T012 , BNKA , PAYR .
        ENDLOOP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/(190) SY-ULINE.
    Displaying Debit and Credit Totals
        WRITE:/125 TEXT-001 ,
           151(18) V_DEBIT_TOTAL ,
           171(18) V_CREDIT_TOTAL .
        WRITE:/(190) SY-ULINE.
    Displaying the Closing Balance
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        V_CLOSE_BAL = ITAB_OPG-BAL + V_DEBIT_TOTAL - V_CREDIT_TOTAL .
        IF V_CLOSE_BAL GT 0.
          WRITE:/122 TEXT-002 ,
             151(18) V_CLOSE_BAL NO-SIGN.  " D00K909674
        ELSEIF V_CLOSE_BAL LE 0.
          WRITE:/122 TEXT-002 ,
             171(18) V_CLOSE_BAL NO-SIGN.  " D00K909674
        ENDIF.
        CLEAR : V_CLOSE_BAL.
      ENDLOOP.
    ENDFORM.                               " F_006_DISPLAY_LIST
    *&      Form  F_006_DISPLAY_LIST1
          text
    -->  p1        text
    <--  p2        text
    FORM F_006_DISPLAY_LIST1 .
    TABLES : KNA1 .
      DATA : V_DEBIT_TOTAL1 TYPE P DECIMALS 2 ,
             V_CREDIT_TOTAL1 TYPE P DECIMALS 2 ,
             V_CLOSE_BAL1 TYPE P DECIMALS 2 .
      DATA : V_CNT1 TYPE I .
      SORT ITAB_OPG1 BY KUNNR.
      LOOP AT ITAB_OPG1.
        NEW-PAGE.
    Displaying Vendor Name
        SELECT SINGLE NAME1 FROM KNA1 INTO KNA1-NAME1 WHERE
                                                 KUNNR EQ ITAB_OPG1-KUNNR .
        FORMAT COLOR COL_POSITIVE INTENSIFIED ON.
        WRITE:/2 'Customer Code:' ,
                 ITAB_OPG1-KUNNR  ,
              40 KNA1-NAME1 .
        CLEAR : KNA1 .
        WRITE :/(190) SY-ULINE .
    Displaying Opening Balance
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON .
        READ TABLE ITAB_OPG1 WITH KEY KUNNR = ITAB_OPG1-KUNNR .
        IF ITAB_OPG1-BAL1 LE 0 .
          WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
                  171(18) ITAB_OPG1-BAL1 .
        ELSE.
          WRITE :/2 'Opening Balance for Period' , (4) S_MONAT-LOW , ':' ,
                  151(18) ITAB_OPG1-BAL1 .
        ENDIF.
        WRITE :/(190) SY-ULINE .
    Displaying Line Items
        LOOP AT ITAB_DISPLAY1 WHERE KUNNR EQ ITAB_OPG1-KUNNR.
          V_CNT1 = SY-TABIX MOD 2.
          IF V_CNT1 EQ 0.
            FORMAT COLOR COL_NORMAL INTENSIFIED ON.
          ELSE.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          ENDIF.
    Selecting Bank Name and Cheque Number
          SELECT SINGLE CHECT HBKID INTO (PAYR-CHECT , PAYR-HBKID)
                               FROM PAYR WHERE
                        ZBUKR EQ P_BUKRS AND
                        VBLNR EQ ITAB_DISPLAY1-BELNR AND
                        KUNNR EQ ITAB_DISPLAY1-KUNNR .
          SELECT SINGLE BANKS BANKL INTO (T012-BANKS , T012-BANKL) FROM
                 T012 WHERE BUKRS EQ P_BUKRS AND
                            HBKID EQ PAYR-HBKID.
          SELECT SINGLE BANKA INTO BNKA-BANKA FROM BNKA WHERE
                            BANKS EQ T012-BANKS AND
                            BANKL EQ T012-BANKL .
          WRITE :/2 ITAB_DISPLAY1-BUDAT ,
                 14 ITAB_DISPLAY1-BELNR ,
                 26 ITAB_DISPLAY1-BLDAT ,
                 40 ITAB_DISPLAY1-XBLNR ,
                 58(16) PAYR-CHECT ,
                 75 BNKA-BANKA ,
                105(40) ITAB_DISPLAY1-SGTXT ,
                146(4) ITAB_DISPLAY1-BLART .
    Determinig Debit or Credit
          IF ITAB_DISPLAY1-SHKZG EQ 'S'.
            V_DEBIT_TOTAL1 = V_DEBIT_TOTAL1 + ITAB_DISPLAY1-DMBTR.
            WRITE:151(18)  ITAB_DISPLAY1-DMBTR ,
                  171(18)  SPACE .
          ELSEIF ITAB_DISPLAY1-SHKZG EQ 'H'.
            V_CREDIT_TOTAL1 = V_CREDIT_TOTAL1 + ITAB_DISPLAY1-DMBTR.
            WRITE:151(18) SPACE ,
                  171(18)  ITAB_DISPLAY1-DMBTR .
          ENDIF.
          CLEAR : T012 , BNKA , PAYR .
        ENDLOOP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/(190) SY-ULINE.
    Displaying Debit and Credit Totals
        WRITE:/125 TEXT-001 ,
           151(18) V_DEBIT_TOTAL1,
           171(18) V_CREDIT_TOTAL1 .
        WRITE:/(190) SY-ULINE.
    Displaying the Closing Balance
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        V_CLOSE_BAL1 = ITAB_OPG1-BAL1 + V_DEBIT_TOTAL1 - V_CREDIT_TOTAL1 .
        IF V_CLOSE_BAL1 GT 0.
          WRITE:/122 TEXT-002 ,
             151(18) V_CLOSE_BAL1 NO-SIGN.  " D00K909674
        ELSEIF V_CLOSE_BAL1 LE 0.
          WRITE:/122 TEXT-002 ,
             171(18) V_CLOSE_BAL1 NO-SIGN.  " D00K909674
        ENDIF.
        CLEAR : V_CLOSE_BAL1.
      ENDLOOP.
    ENDFORM.                    " F_006_DISPLAY_LIST1

    Sankar:
    You're supposed to post questions and not just code...that's is not even formatted by the way...
    Greetings,
    Blag.

  • Condition is not working

    Hi ALL..
    Please give me your suggestions why this problem occurs.
    In the condition,when I keep the Charecteristic Assignment as "All Charecteristics in Drilldown independently" then I am getting only result row.
    But when I used "Individual Chars and Char Comb" and marked the Char which are in the rows The condition works, but again when we drildown with any of the free characterisitics or remove any characteristics in the row the Condition gets deactivated itself and the irrelavant records are also displayed in the report output.
    Please let us know whats d cause behind this..
    Thanks in advance,
    Kalpana

    Hi Kalpana
    That's the only problem with 'Conditions'
    when you are adding the conditions 'Ijndividual Char. and Combinations...' it is not applicable to the Chars. in free char area. The conditions doesnt apply to them. So obviously you will get incorrect results.
    Solution : You need to have a report only for 'Conditions' purpose and with all the desired chars. Do not allow the business users to drill down with the Free char. In fact, there should be no Free char. Yes, it sounds stupid but that's how it is !!!
    As for 'All char.....' option it gets applied to all chars and only the satisfying combination gets displayed. The fact that you are getting only result rows means only result row satisfies all the conditions.
    You could go through the documentation on 'Conditions' which clearly explains this fundas..
    Cheers
    Umesh

  • Condition NAVS appearing twice

    Dear All,
    For particular material and vendor combination Condition NAVS is appearing twice in condition tab.
    I have removed info record from PO then it got corrected but i am not able to know what was the reason for NAVS coming twice...
    Also after saving PO info record again is displaying and this time NAVS is not displaying twice...!
    What could b the reason?
    Naren..

    Looks like you are in the post mortem mode. Let me try to help you with your investigation.
    In the same PO conditions tab, try maintaining NAVS manually, so you will now have to NAVS conditions. This gets updated in the order history and the info record.
    Now try creating another PO with the same vendor / material combination, NAVS will appear twice.
    Someone in the past might have manually entered NAVS once again, resulting in this problem. You can stop this by ensuring that duplicate entries are not allowed (ikn the condition type configuration).
    Regards,
    Aroop

  • Regarding Condition record in CRM using field MATKL (Material Group)

    Hi All
    Currently we are working in SAP CRM 5.2 and it has been connected with backend ECC 6.0.
    This scenario is about Pricing which has been maintained in ECC and inturn flows to CRM with few filters in place.
    There are few customized Condition Tables in ECC with combination of Sales org./ material group for which discount has been maintained.  A proper condition record is also available for this Condition table and it has been assigned to a access sequence and inturn assigned to a condition type.
    All these procedures, condition types, access sequence has flown from ECC to CRM.  And all the condition tables are active in IMG (Basic Functions / Pricing / Define Settings for Pricing / Create Condition Tables)
    When i check in
    (SAP menu / Master Data / Prices and Conditions / SAPCND/GCM - Maintain Conditions )
    Application - CRM,
    Maintenance group - PRODDISCOU,
    Maintenance context - GCM
    Here for the above mentioned combination when i select the Key Combination (Condition Table) and enter the customized table number (Sales org. / Material Group) iam getting a dump which says the following.
    Error analysis
    Short text of error message:
    Implementation of Method ATTRIBUTE_CONVERSION for BAdI /SAPCND/ROLLNAME for filter MATKL is missing
    Program............. "/SAPCND/CL_MNT_COND_MAINT_UI==CP"
    Screen.............. "/SAPCND/SAPLCOND_MAINTAIN 0100"
    Screen line......... 8
    Information on where terminated
    Termination occurred in the ABAP Program "/SAPCND/CL_MNT_COND_MAINT_UI==CP" -
    in "ON_FCODE_SELECT".
    The main program was "/SAPCND/GENERAL_COND_MAINT ".
    In the source code you have the termination point in line 622
    of the (Include) program "/SAPCND/CL_MNT_COND_MAINT_UI==CM005".
    Please let me know the solution, Request you to do the needful aSAP.
    Regards
    *Ramesh*

    Hi Ramesh,
    Have you checked the following note?
    Note 441083 - Transferring conditions for material group MATKL to CRM
    Kind regards,
    Johan Wigert

  • Condition issue in BI Bex Designer Report...

    Hi
    In BI Bex Designer while writing the condition, may times I observed that If my condition doesn't work having its Characteristic Assignment is set to "All Characteristics in the Drill-down Independently" which is default, but if I set the option to "Individual Chars and Char Combinations" & check all the fields, it works.
    But most of the time default nature works unlike above. Just wanted to find out: what is the rule?
    May someone help me in this issue.
    Thanks...

    To my knowledge when you select All Characteristics in the Drill-down Independently, condition works with respect to the characteristics which are currently drilled down in your report.
    But when you select Individual Chars and Char Combinations, condition works on the characteristics which are currently drilled down in your report and also the characteristics that are available in free charactritics.
    So I think All Characteristics in the Drill-down Independently and Individual Chars and Char Combinations and selecting all the characteristic checboxes are not the same. All Characteristics in the Drill-down Independently and Individual Chars and Char Combinations and selecting the characteristics which are in your rows are the same.

  • Duplicate condition types in processing rebates

    Hi,
    I have created two rebate agreements in the system right now.
    Whenever i run a sales cycle the condition type BO01 is used twice instead of once which results in giving discount twice for the same order.
    Is there any way to avoid duplication of condition types.
    How to solve this issue, pl help..

    Hi
    You have maintained two rebate arrangemnts here and sytem is determining accordingly.
    Thats the reason you need to ensure the combination being used in the condition type.
    If both the records are valid i am not seeing an issue here.
    If your issue is same condition type. then you need to maintain different condition types for different combinations,.
    For example: Key Combination -> Condition type
    Customer/ Material - B001
    Customer/ Sales area - B002
    Maintain two condition types for both combinations instead of maintaining it is the same.
    So they get determined accordigly.
    Thanks & Regards
    Kishore

  • Condition record getting deleted

    Hello,
    We have an issue with pricing condition ZPRO (basic price ).
    Our users created a sales order, let's say on 16.12.10 and the basic price ZPRO is determined based on the conditon record. Now on 17.12.10 , users are doing a re-determination of pricing for whatever reasons and to their surpirse, the condition type ZPRO is not appearing again in sales order. On checking the condition record for ZPRO, the same does not exist. They are not aware on how the condition record for ZPRO is getting deleted.
    They created again condition record for ZPRO and then re-determines pricing in sales order and then the ZPRO appears again in sales order.
    Now the above scenario (condtion getting deleted ) is happening for some more sales order !!
    We need to analyse why the condition record for ZPRO is getting deleted and how ?
    Can someone suggest how to check the same and why the above is happening ?
    regds
    Pamela

    hi Pam,
    please follow the given instructions:
    i guess that means condition record is being deleted by some body.
    because after deleting acondition record it will activate the deletion indicator checkbox & after a sales order is created the next movement it will say condition record does not exist.
    because thie condition records are dependent on validity periods.
    suppose the user is trying to create two condition records with in the same validity period one after the other.
    it will create only one and it will throw an POP UP message for the second one in this combination condition record existslie that with pretty good explanation.
    to find the user - goto VA02 - ENVIRONMENT - CHANGES if the relevant condition record is delted then it will show the name and date of record deletion
    hope this clears your issue.

  • Made condition not work in VL10G background

    Hi, Experts.
    My customer required that
    when sales orders combine to a delivery by using VL10G,
    they want to use header text to combination condition.
    So I made the routine(VOFM) and added to our delivery type(VTLA).
    In VL01 , condition works well.
    In VL10G "dialog" , well too.
    But VL10G "background" , it did'nt work.
    I set the break point to the routine, it didn't stop.
    Please tell me what to do.
    Best regards.
    and sorry to my English skill is poor...

    Call transactions with bdc tables in Sales Orders execute the user exit code!  I've never seen user exit code excluded, unless by program code.  What do you mean by "stop" in background.  Of course, you can't make it stop there in background.
    Post relevant code and we'll see what we can tell you.  What does the code do?

  • Excise rates not reflecting in PO based on values entered in newly created condition table in TAXINN.

    Dear SAP Gurus,
    I have created a new condition table using t.code m/03 by taking a copy of existing standard condition table. I have assigned the newly created condition table to access sequence. After assignment of condition table i have entered the relevant excise rates in excise condition types using the newly created key combination through t.code FV12. When i enter the Tax Code in PO, excise duty rates are not reflecting in PO. When i am entering the excise rates in any other standard key combination, excise rates are reflecting in PO.
    Following are the fields in newly created key combination (Condition Table)
    1) Country
    2) Plant
    3) Control Code
    4) Tax Code
    Kindly help me in resolving the issue.
    Regards,
    Vinay

    HI,
    Check whether you have maintained the rates for the new tax code in FV11 also whether you have assigned the tax code to the company code ?
    Compare the tax code which is working in PO with the one which is not & find out if there is any difference.
    If you want to post the tax values to the new G/L in OB40 then maintain the same settings for the tax code which is working in PO.
    Thanks & Regards,

  • Problem with group filter display

    I have used a record and group filter  to display some data item. The data item has been displayed in content field of right side.
    However, it display the data item in group field of left side which only suit to the condition by record filter. So, some data items of left side are not suit to group filter.
    How can I get the data item which will suit to combine condition of record and group filter. Thanks!

    The Group Tree (left) will ALWAYS show all groups, not just those selected using the Group Selection. Keep in mind that Group Selection does not actually pull records for the criteria it only suppresses groups that don't meet the criteria.
    NOTE:  The same is true if you're using SUM for any values.  It will sum ALL the values - not just those in the groups being shown in the report.  Use Running Totals for this so that you will only sum those groups that are visible in the report.
    Again, either use or don't use the group tree but one can not specify which groups are shown in the group tree.  It will ALWAYS display all groups of data pulled into the report.
    Another option may be to utilize a stored procedure to pull ONLY the groups you want then report off the stored procedure.

Maybe you are looking for

  • Error while trying to add a Model

    I am getting the following error while try to add a new Model. java.sql.SQLException: ORA-00001: unique constraint (SNPW.PK_MODEL) violate. I am using 10.1.3.4.4 version of ODI. Can any help me to solve the issue.

  • Selection screen for logical database PNP..

    hi all, I am having a requirement to produce a HR Report where i need to use logical database PNP. Now the issue is i need to supress some of the elements of standard selection screen of PNP and add a couple of fields of mine. i have been looking all

  • About  lunix and tomcat  identity of the conversion

    我在大型机 lunix系统下 开了个有一定权限的账户 在账户下 有 tomcat 6.0 并且部署了WEB项目 主要是功能是 通过网络可以直接投递任务到大型机 并且执行返回任务结果。 但是当注册普通用户投递的任务 在lunix下进程里面都是以我的 USER 来跑的(这个USER后 命令是java ), 而且查看任务情况 qstat 也是用我的用户名 不知道tomcat或是jboss能不能 转换下权限 把名字改成 每次登陆投递任务的人的名字 I lunix mainframe systems to

  • Reporting a problem

    Hey guys, I brought IronMan and its very poor quality. Its stops and starts throughout the whole movie. I thought maybe it could be my mac so i tried another movie that i brought and had no trouble at all with it. When i got my receipt from apple it

  • CRM Technical for Tech beginner (Basically ABAP)

    Dear All I am a beginner in CRM Technical domain. Though I have 7 years exp in ABAP and would be pursuing CRM Technical now. I would like to know from you the links and documents for CRM Technical side Amol