R12 - how does iExpenses join to ap_checks_all

Hello,
I have a piece of SQL that returns iExpenses details - mileage etc.
This is fine until I add the check date and then I am returning multiples.
The join I have currently is -
AP.AP_EXPENSE_REPORT_HEADERS_ALL.invoice_num = ap.ap_invoices_all.invoice_num
ap_invoices_all.invoice_id = ap.invoice_payments_all.invoice_id
ap.invoice_payments_all.check_id = ap_checks_all.check_id
Is there something missing/wrong...?
Essentially what the user needs is a report by check date for the expenses.
Thanks
Rachael

R12 does have the ap_expense_report_headers_all.vouchno column. You can join the ap_expense_report_headers_all.vouchno with ap_invoices_all.invoice_id.
Alternatively, you can also use the following join, ap_invoices_all.PRODUCT_TABLE = 'AP_EXPENSE_REPORT_HEADERS_ALL' AND ap_invoices_all.REFERENCE_KEY1 = ap_expense_report_headers_all.report_header_id.
However, I would suggest use the invoice_id and vouchno join.
Thanks,
Sai.

Similar Messages

  • How does one join the CS SDK Prerelease Program?

    How does one join the CS SDK Prerelease Program? We're already on the ID SDK and CS Family Prerelease programs. Who at Adobe can we contact for this?

    Hi,
    please send me a private message.
    Best regards,
    Hallgrimur

  • How does one "join" a community?

    I'm trying to personalize my home page, and to add to my "Places," it says to "Join a community."
    How do I accomplish that?

    I wonder why different terminology is used?
    In my opinion, the "Join" should be changed to "Follow" or the "Follow" should be changed to "Join."
    As it is, it's about as clear as mud.

  • How does one join the dev team?

    Hi,
    I was looking around the wiki and did some keyword searches for dev and developer, and I know the wiki talks about becoming TUs.  A recent thread mentioned several times that the devs were swamped.  Is it silly to ask if it's possible to add more devs?
    Thank you,
    Rob

    Generally it's an invite-only process.  AFAIK, we currently don't have any kind of formal application process - I became a dev because I was noticed as being an energetic TU, IIRC.
    If you want to become a developer, and you feel you have an impressive 'resume', I suppose you could email Aaron and ask to be inducted - worst that could happen would be he says "try to establish yourself in the community first - become a TU" or something like that.

  • How does one perform Cursor joins in DPL?

    How does one navigate the API to do cursor joins? Can one do it and still exploit DPL concepts, or must one keep open a separate low-level BDB Database?

    Hi Jdf,
    Since you said "cursor joins" I assume you are familiar with the base BDB API that provides joins via cursors. In DPL the same functionality is provided by using the EntityJoin class. Instead of cursors, you specify the secondary key values, but the result is the same. An underlying cursor join is performed for you.
    Mark

  • IN R12 -- HOW TO CREATE RECEIPT METHOD IN RECEIVABLES

    IN R12 --> HOW TO CREATE RECEIPT METHOD IN RECEIVABLES
    SET UP
    RECEIPTS-------> RECEIPT CLASSES
    I CREATED NEW RECEIPT CLASS AND NEW RECEIPT METHOD
    WHEN CREATING NEW RECEIPT METHOD
    BANK ACCOUNTS---------->
    I AM ABLE TO SELECT THE DETAILS FOR THE FOLLOWING
    1. OPERATING UNIT
    2. BANK NAME
    3. BRANCH NAME
    4. EFFECTIVE DATES
    5. CASH ACCOUNT
    6. UNAPPLIED RECEIPTS
    7. UNIDENTIFIED RECEIPTS
    8. ON ACCOUNT RECEIPTS
    BUT WHEN COMES TO THE
    UNEARNED DISCOUNTS AND
    EARNED DISCOUNTS I AM UNABLE TO GET LOV FOR THAT
    IN THE SET UP----> SYSTEM OPTIONS ----> MISCELLANEOUS
    I CHECKED THE CHECK BOX TO YES FOR
    ALLOW UNEARNED DISCOUNTS
    PLEASE GIVE SOLUTIONS FOR THIS
    THANKS IN ADVANCE
    PRINCE

    Hi
    Thank You Ketter Ohnes for Reply,
    AR: Setup: Receipts: Receivable Activities
    When i am doing above set up it is giving the following error.
    PLEASE DEFINE A PARTY TAX PROFILE FOR OPERATING UNIT & ORG_ID
    Thanks and Regards
    Prince

  • How does CLOSED_CODE updated in PO_LINES_ARCHIVE_ALL table

    Hi,
      How does CLOSED_CODE column will be updated in PO_LINES_ARCHIVE_ALL table. We have setup "Archive On Approve" for archiving.
      Does below is a valid check to verify the line count between lines table and archive table?
      We are comparing the line count in Lines table and Archive table, and if there is difference in count, then it is assumed to be change in the Lines,
      so then direct the PO Approval Worfkflow for re-approval.
      Kindly suggest if below check is correct or not, especially check on CLOSED_CODE='OPEN'.
      In few cases, the lines in PO_LINES_ALL table has CLOSED_CODE = 'CLOSED' but, PO_LINES_ARCHIVE_ALL table has lines with CLOSED_CODE = 'OPEN' even after PO approval.
      Is this expected behavior? When Does CLOSED_CODE will get updated in archive table?
    SELECT COUNT(*)
             INTO x_lines_count
             FROM po_lines_all
            WHERE closed_code = 'OPEN'
              AND po_header_id = x_po_header_id;
           SELECT COUNT(*)
             INTO x_ar_line_count
             from po_lines_archive_all
          where closed_code = 'OPEN'
            and latest_external_flag = 'Y'
            and po_header_id = x_po_header_id;
    IF x_lines_count <> x_ar_line_count THEN
         RESULT: "Change in PO Lines";
    Regards,
    Ram

    Sathyaseelan wrote:
    Hi All,
    After creating requisition from R12 iProcurement , the column document_type_code in the table PO_REQUISITION_LINES_ALL got updated as BLANKET or CONTRACT.
    Need to know how these values was defaulting in the requisition.
    I am able to see the values soon after added the item to shopping cart.
    Regards,
    SathyaI think whatever the item is in the requistion..It should be associated with the blanket or contract agreement..that the reason why you are seeing that document type code
    HTH
    Mahendra

  • Can you please help me by saying me how can i join two different picture to make it as one picture.??

    Hi Sir/ Madam,
       My name is Rishav and I am facing some problem with my Photoshop CC. Actually I have a question. If you guys could help me out i will be very obliged. The quest in "Can you please help me by saying me how can i join two different picture to make it as one picture.??"

    Maybe you should post over at
    Photoshop for Beginners
    or start with the "Get Started" section of the Help:
    Photoshop Help | Photoshop Help
    And your question
    Can you please help me by saying me how can i join two different picture to make it as one picture.??
    does not seem particularly specific – do you want to simply combine two images as they are, do you want to clip elements from the one and insert them into the other, …?
    Could you post (lores of) the images and explain what you intend to achieve?

  • AIR-CAP3502I-E-K9 does not join preferred controller

    I have an AIR-CAP3502I-E-K9 AP that is configured for two WLAN controllers with preferred order. However the AP does not join the primary controller, but uses the secondary one instead. I have a bunch of these AIR-CAP3502I-E-K9s , majority work fine, but three of them not.
    I have tried commands according to
    https://supportforums.cisco.com/docs/DOC-24917
    In the controller's GUI  the order is properly configured. I also tried to use 'Clear All Config" option on the controller and configured the AP from the scratch, but this did not help.
    Here is what I have
    XXXX#sh capwap client config
    configMagicMark         0xF1E2D3C4
    chkSumV2                30883
    chkSumV1                1073
    swVer                   7.2.111.3
    adminState              ADMIN_ENABLED(1)
    name                    XXXX
    location                YYYY
    group name
    mwarName                ZZZZ1
    mwarIPAddress           192.168.1.1
    mwarName                ZZZZ2
    mwarIPAddress           192.168.1.2
    mwarName
    mwarIPAddress           0.0.0.0
    ssh status              Enabled
    Telnet status           Enabled
    numOfSlots              2
    spamRebootOnAssert      1
    spamStatTimer           180
    randSeed                0xBAC2
    transport               SPAM_TRANSPORT_L3(2)
    transportCfg            SPAM_TRANSPORT_DEFAULT(0)
    initialisation          SPAM_PRODUCTION_DISCOVERY(1)
    ApMode                  Local
    ApSubMode               Not Configured
    AP Rogue Detection Mode Enabled
    OfficeExtend AP         [0] Disabled
    OfficeExtend AP JoinMode[0] Standard
    Discovery Timer         10 secs
    Heart Beat Timer        30 secs
    Led State Enabled       1
    Primed Interval         0
    AP ILP Pre-Standard Switch Support Disabled
    AP Power Injector Disabled
    Infrastructure MFP validation Disabled
    Configured Switch 1 Addr 192.168.1.2
    Configured Switch 2 Addr 192.168.1.1
    non-occupancy channels:
    Ethernet (Duplex/Speed) auto/auto
    *Mar  1 00:14:23.001: %CAPWAP-3-ERRORLOG: Selected MWAR 'ZZZZ2'(index 1).
    *Mar  1 00:14:23.001: %CAPWAP-3-ERRORLOG: Go join a capwap controller
    *Aug 22 12:21:57.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_ip: 192.168.1.2 peer_port: 5246
    *Aug 22 12:21:57.581: %CAPWAP-5-DTLSREQSUCC: DTLS connection created sucessfully peer_ip: 192.168.1.2 peer_port: 5246
    *Aug 22 12:21:57.581: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.2
    My primary one is 192.168.1.1 and secondary is 192.168.1.2, but the AP joins always the secondary one.
    The lines above
    Configured Switch 1 Addr 192.168.1.2
    Configured Switch 2 Addr 192.168.1.1
    seem to be suspicious, I would expect the reverse order, but do not know how the code did it.
    The only guess is that in the very beginning the AP joined 192.168.1.2, and this was the controller I configured the AP initially from. The AP seems to maybe somehow remember this.
    OS version is
    swVer                   7.2.111.3
    Thanks,
    Vlad

    Yes, this is what I am trying all the time - configure the AP to point to the WLCs I want it to join.
    Firstly I did through GUI, did not work.
    Secondly I  used 'Clear All Config" option on the controller and configured the AP from the scratch through GUI, did not work.
    Thirdly I tried through command line on the AP, did not work.
    I used these commands
    XXXX#capwap ap  primary-base ZZZZ1 192.168.1.1
    XXXX#capwap ap  secondary-base ZZZZ2 192.168.1.2
    XXXX#sh capwap client config
    configMagicMark         0xF1E2D3C4
    chkSumV2                30883
    chkSumV1                1072
    swVer                   7.2.111.3
    adminState              ADMIN_ENABLED(1)
    name                    XXXX
    location                YYYY
    group name
    mwarName                ZZZZ1
    mwarIPAddress           192.168.1.1
    mwarName                ZZZZ2
    mwarIPAddress           192.168.1.2
    mwarName
    mwarIPAddress           0.0.0.0
    ssh status              Enabled
    Telnet status           Enabled
    numOfSlots              2
    spamRebootOnAssert      1
    spamStatTimer           180
    randSeed                0xBAC2
    transport               SPAM_TRANSPORT_L3(2)
    transportCfg            SPAM_TRANSPORT_DEFAULT(0)
    initialisation          SPAM_PRODUCTION_DISCOVERY(1)
    ApMode                  Local
    ApSubMode               Not Configured
    AP Rogue Detection Mode Enabled
    OfficeExtend AP         [0] Disabled
    OfficeExtend AP JoinMode[0] Standard
    Discovery Timer         10 secs
    Heart Beat Timer        30 secs
    Led State Enabled       1
    Primed Interval         0
    AP ILP Pre-Standard Switch Support Disabled
    AP Power Injector Disabled
    Infrastructure MFP validation Disabled
    Configured Switch 1 Addr 192.168.1.2
    Configured Switch 2 Addr 192.168.1.1
    non-occupancy channels:
    Ethernet (Duplex/Speed) auto/auto
    XXXX#sh log
    Syslog logging: enabled (1 messages dropped, 8 messages rate-limited,
                    0 flushes, 0 overruns, xml disabled, filtering disabled)
        Console logging: level debugging, 61 messages logged, xml disabled,
                         filtering disabled
        Monitor logging: level debugging, 0 messages logged, xml disabled,
                         filtering disabled
        Buffer logging: level debugging, 67 messages logged, xml disabled,
                        filtering disabled
        Logging Exception size (4096 bytes)
        Count and timestamp logging messages: disabled
        Trap logging: level emergencies, 0 message lines logged
            Logging to 255.255.255.255(global) (udp port 514, audit disabled,  link down), 0 message lines logged, xml disabled,
                   filtering disabled
    Log Buffer (1048576 bytes):
    *Mar  1 00:00:09.424: %SOAP_FIPS-2-SELF_TEST_IOS_SUCCESS: IOS crypto FIPS self test passed
    *Mar  1 00:00:09.434: *** CRASH_LOG = YES
    *Mar  1 00:00:09.434: 64bit PCIE devicesSecurity Core found.
    Base Ethernet MAC address: E0:5F:B9:A8:00:7F
    *Mar  1 00:00:12.482: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:13.731: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 0
    *Mar  1 00:00:13.797: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:16.996: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 1
    *Mar  1 00:00:17.052: %LWAPP-3-CLIENTEVENTLOG: Read and initialized AP event log (contains, 1024 messages)
    *Mar  1 00:00:17.068:  status of voice_diag_test from WLC is false
    *Mar  1 00:00:19.182: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, C3500 Software (AP3G1-K9W8-M), Version 12.4(25e)JA2, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2012 by Cisco Systems, Inc.
    Compiled Fri 14-Sep-12 19:13 by prod_rel_team
    *Mar  1 00:00:19.182: %SNMP-5-COLDSTART: SNMP agent on host XXXX is undergoing a cold start
    *Mar  1 00:13:33.342: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset
    *Mar  1 00:13:33.342: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset
    *Mar  1 00:13:33.493:  status of voice_diag_test from WLC is false
    *Mar  1 00:13:33.632: %SSH-5-ENABLED: SSH 2.0 has been enabledlwapp_crypto_init: MIC Present and Parsed Successfully
    *Mar  1 00:13:33.956: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to up
    *Mar  1 00:13:34.343: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to down
    *Mar  1 00:13:34.343: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
    *Mar  1 00:13:36.029: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to up
    *Mar  1 00:13:41.484: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 192.168.1.21, mask 255.255.255.0, hostname XXXX
    *Mar  1 00:13:51.981: Logging LWAPP message to 255.255.255.255.
    *Mar  1 00:14:01.997: %CAPWAP-3-ERRORLOG: Did not get log server settings from DHCP.
    *Mar  1 00:14:06.099: %CDP_PD-4-POWER_OK: Full power - NEGOTIATED inline power source
    *Mar  1 00:14:07.190: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to up
    *Mar  1 00:14:08.191: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up
    *Mar  1 00:14:08.288: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up
    *Mar  1 00:14:09.289: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to up
    *Mar  1 00:14:11.000: %CAPWAP-3-ERRORLOG: Could Not resolve CISCO-CAPWAP-CONTROLLER
    *Mar  1 00:14:23.001: %CAPWAP-3-ERRORLOG: Selected MWAR 'ZZZZ2'(index 1).
    *Mar  1 00:14:23.001: %CAPWAP-3-ERRORLOG: Go join a capwap controller
    *Aug 23 06:07:13.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_ip: 192.168.1.2 peer_port: 5246
    *Aug 23 06:07:13.578: %CAPWAP-5-DTLSREQSUCC: DTLS connection created sucessfully peer_ip: 192.168.1.2 peer_port: 5246
    *Aug 23 06:07:13.578: %CAPWAP-5-SENDJOIN: sending Join Request to 192.168.1.2
    *Aug 23 06:07:14.025: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to down
    *Aug 23 06:07:14.091: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset
    *Aug 23 06:07:14.094: %CAPWAP-5-JOINEDCONTROLLER: AP has joined controller ZZZZ2
    *Aug 23 06:07:14.154: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up
    What I think might be the key to the problem is this
    Configured Switch 1 Addr 192.168.1.2
    Configured Switch 2 Addr 192.168.1.1
    This is not changing no matter what I do.
    Thanks,
    Vlad

  • How Does One Update Lightroom to 4.3 if in this Creative Cloud Hell???

    Trying to update to 4.3 from 4.1  -- Checked the application manager - no updates to 4.1.  Went through the program - update lightroom - downloaded 4.3 and it installed as a separate program without deleting 4.1.  Now it asks for a serial number.  Creative cloud members don't get serial numbers.
    Here's my chat transcript with adobe's terrible, hellacious, moronic, and incompetent support person:
    Ashish: Hello! Welcome to Adobe Customer Service.
      Ashish: May I please have your email address registered with Adobe while I review your request?
      Laura: <Removed by Moderator>
      Ashish: Thank you for the information. Please allow me a moment while I locate your account.
      Ashish: 
      Laura: I have re-installed the application manager, but the lightroom available for download on the list is once again Lightroom 4.1
      Laura: Is there a proper technique to update?
      Ashish: Please provide me the serial number of your product.
      Laura: How do I get a serial number????
      Laura: I joined creative cloud and no serial numbers are provided.
      Laura: If I had a serial number, I wouldn't need help.
      Laura: In my account, there are no serial numbers.
      Laura: to download and install programs, I must use the application manager (apparently)
      Ashish: Please allow me moment.
      Laura: When I try to update Lightroom 4.1 to Lightroom 4.3, the program directs me to dowload lighroom 4.3
      Ashish: okay
      Laura: When I installed Lightroom 4.3 it does not uninstall 4.1, but is does install as a separate program and then asks me for a serial #.
      Ashish: You have install it directly you cant upgrade lightroom.
      Laura: Ok, but when I do - it asks me for a serial number.
      Laura: Adobe does not make serial numbers available to creative cloud members.
      Laura: I am in my account searching and cannot find serial numbers anywhere.
      Ashish: Yes
      Laura: So my question is - How is a member of creative cloud supposed to properly update applications.
      Laura: ????
      Laura: yes what?
      Ashish: I'll be right with you.
      Ashish: Sorry Laura, you have to contact on after 24 hours.our tool is not working.
      Ashish: We are facing technical problem is our tool today.
      Laura: What tool?  How do I properly update this program?  What is the procedure?  I should be able to do it without customer service.
      Ashish: You can contact after 24 hours.
      Ashish: We will resolve
      Laura: WHAT IS THE NORMAL PROCEDURE TO UPDATE PROGRAMS?
      Laura: THAT IS THE ONLY THING i WANT ANSWERED
      Ashish: First when i have track your product states then i will give you answer You have to install it in your machine.
      Laura: That sentance makes no sense.  Are normal updates through the application manager or will a serial number be provided?
      Ashish: But you are facing problem so please contact after 24 hours.
      Laura: IF you are having trouble with english, please transfer me to someone else.  You do not understand my questions.
      Laura: THis is a simple question with a simple answer.
      info: Your chat transcript will be sent to [email protected] at the end of your chat.
      Ashish: I am understand everything but without checking of your product how could i answer your question.
      Ashish: Yes, if you have normal product then serial is provided by us.
      Ashish: And a serial number is a licensing key of the product.
      Laura: I am a member of ADOBE CREATIVE CLOUD, with access to all the programs.  HOW DOES A MEMBER OF CREATIVE CLOUD UPDATE PROGRAMS, and ARE SERIAL NUMBERS AVAILABLE to MEMBERS OF CREATIVE CLOUD?  WHERE IN MY ACCOUNT IS MY SERIAL NUMBER?
      info: Your chat transcript will be sent to <Removed by Moderator> at the end of your chat.
      Laura: I am logged into my creative cloud account now.  Where is my serial number located???
      Laura: I see no serial numbers.
      Ashish: You have to go adobe.com and sign in your adobe id. and go to my product and service and go to my product then you will get the serial number of your product.
      Laura: I am there, there are no products listed.  There is only the creative cloud service.  NO SERIAL NUMBERS.
      Laura: Creative Cloud Student and Teacher Edition (one-year)
      Ashish: If you are not able to find it then give me the order number of your product.
      Laura: that is what I purchased.
      Laura: Order: DSS--------------------
      Ashish: Please provide me the order number of your product.
      Laura: Order: DSS---------------
      Ashish: Thank you For give the information
      Laura: All you need to tell me is how to PROPERLY UPDATE MY PROGRAM AND WHERE I CAN FIND A SERIAL NUMBER.
      Ashish: Please allow me a moment.
      Laura: You shouldn't need order info for this because the procedure should be the EXACT same for any customer with a creative cloud membership.
      Ashish: I am checking your order states.
      Ashish: Sorry, i need the order number without it i am not able to find anything for your product.
      Ashish: Please allow me a moment.
      Laura: I gave you my order number twice already.
      Ashish: Yes, i have but i am answering your question.
      Laura: My question is a matter of the proper way to update Lightroom in a creative cloud membership.  It is a stand alone question that should be answerable without any knowledge other than knowing how YOUR OWN PRODUCT operates. HOW DO I UPDATE LIGHTROOM 4.1 to LIGHTROOM 4.3???
      Ashish: You have to adobe voice support for this issue.
      Ashish: You have to contact 18008336687

    Have you tried applying the update by going to Help>Updates within Photoshop Lightroom?  The update should be using the same licensing?  Did you perhaps customize the installation location?  Finally which operating system are you using?

  • [15013] Logical table, BIDATA.W1_SYNONYM_EMPLOYEE1_D1, does not join to any

    Hello all.
    I have following situation.
    I have a Employee table(w1_employee1_d1)
    Salary table(w_salary_f) in Database.
    every thing is fine when I import it in OBIEE Administration tool and use the answers.
    Then I created a synonym as (w1_synonym_employee1_d1), believing that, synonyms can be used as tables/Views.
    Now I imported into Physical layer and made a join in Start Schema in 'Physical Diagram'
    and so far all is fine.
    When I drag it in BMM layer and do a global consistency check, I get following error.
    BUSINESS MODEL BIDATA:
    [nQSError: 15001] Could not load navigation space for subject area BIDATA.
    [15013] Logical table, BIDATA.W1_SYNONYM_EMPLOYEE1_D1, does not join to any other logical table
    In BMM layer > right click the W1_SYNONYM_EMPLOYEE1_D1 > Bussiness Model Diagram > Whole Diagram
    I can see the joins exists as how I made it in Physical layer.
    what I am missing ? any help is appreciated.
    Thanks

    Ok Just for any body's information, My problem is partly resolved.
    I added this in existing .RPD and it has caused the problems, which had Hirarchies and LTS and Alias tables.
    However when I try a new and fresh .RPD and create a simple with synonym, that has not got this problem.
    I will dig in the problems in old .RPD why there was error.
    over all I must say the quest for this tests to find if I can use Synonym is been answered, using synonym in RPD is np at all.

  • Logical table does not join to any logical table

    HI,
    I want to implement Business Unit hierarchy for drill down in OBIEE  so I’ve created a custom table with the hierarchy information,
    I’ve imported that table in the out-of the box physical schema & defined a relationship between the W_ORG_D table & my custom INVENTRY_ORG table as INVENTRY_ORG.BU_ID = W_ORG_D. VIS_PR_BU_ID* but when I try to check in my changes I’m getting the following error.*
    Logical table INVENTRY_ORG does not join to any logical table.
    Kindly let me know how to resolve this error.One more doubt i have is can we import custom tables in the out of the box OBIEE mappings for SIEBEL..that is the core subject area.
    Thanks,

    Hi user10340125 ,
    1) I think you have joined tables in physical layer, but you have not created complex join in logical layer.
    Check your consistency and see what warnings you are getting.
    2) Yes you can import custom tables in whatever subject area. Once you imported tables in physical layer, then they all are just objects, so you can freely play around with them. Just for best practices, make sure you follow proper naming convention for custom tables and columns..
    - Vinay

  • How to add join conditions in ABAP Query.

    Hi,
    I need a help on "ABAP Query".
    How to add join conditions in ABAP Query.
    Thanks in advance.
    Thanks & Regards,
    Ramana

    Hi,
    See below code,
    *& Report  ZRNP_ALV_SO
    REPORT  zrnp_alv_so MESSAGE-ID z7rnp .
    INCLUDE zrnp_include .
    *SELECTION SCREEN                                                      *
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-004 .
    SELECT-OPTIONS: s_vbeln FOR vbak-vbeln ,
                    s_auart FOR v_auart ,
                    s_vkorg FOR v_vkorg ,
                    s_spart FOR v_spart ,
                    s_kunnr FOR v_kunnr ,
                    s_matnr FOR v_matnr .
    SELECTION-SCREEN END OF BLOCK blk1 .
    *AT SELECTION SCREEN                                                   *
    AT SELECTION-SCREEN.
      SELECT SINGLE vbeln
                     FROM vbak INTO vbak-vbeln
                     WHERE vbeln IN s_vbeln.
      IF sy-subrc <> 0.
        MESSAGE e202.
      ENDIF.
    *START OF SELECTION                                                    *
    START-OF-SELECTION .
      PERFORM data_select.
      PERFORM t_sort USING i_sort .
      PERFORM event_cat USING i_event .
      PERFORM fld_cat USING i_fldcat[] .
      PERFORM t_layout USING i_layout .
      PERFORM fld_cat2 USING i_fldcat2[] .
      PERFORM call_alv.
    * DATA SELECT                                                          *
    *&      Form  DATA_SELECT
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM data_select .
      REFRESH: it_vbfa, it_so1, it_del_ful ,it_del1 .
      BREAK-POINT.
      *SELECT*
            *a~vbeln*
            *a~auart*
            *a~vkorg*
            *a~spart*
            *a~kunnr*
            *b~posnr*
            *b~matnr*
            *c~maktx*
            *b~kwmeng*
            *b~vrkme*
            *INTO TABLE it_so1 FROM vbak AS a*
                  *INNER JOIN vbap AS b ON b~vbeln = a~vbeln*
                  *INNER JOIN makt AS c ON c~matnr = b~matnr*
                  *AND c~spras = sy-langu*
                  *WHERE a~vbeln IN s_vbeln .*
      IF sy-subrc = 0.
        SORT it_so1 BY vbeln.
        DELETE ADJACENT DUPLICATES FROM it_so1.
      ENDIF.
    * COLURING DISPLAY                                                     *
      DATA: ld_color(1) TYPE  c .
    *  LOOP AT it_so1 INTO wa_so.
    * Populate color variable with colour properties
    * Char 1 = C (This is a color property)
    * Char 2 = 3 (Color codes: 1 - 7)
    * Char 3 = Intensified on/off ( 1 or 0 )
    * Char 4 = Inverse display on/off ( 1 or 0 )
    *           i.e. wa_ekko-line_color = 'C410'
    *    ld_color = ld_color + 1.
    * Only 7 colours so need to reset color value
    *    IF ld_color = 8.
    *      ld_color = 1.
    *    ENDIF.
    *    CONCATENATE 'C' ld_color '10' INTO wa_so-line_color.
    **  wa_ekko-line_color = 'C410'.
    *    MODIFY it_so1 FROM wa_so.
    *  ENDLOOP .
    *  IF sy-subrc = 0.
      IF NOT it_so1[] IS INITIAL.
        SELECT vbelv
               posnv
               vbeln
               posnn
               vbtyp_n
               INTO TABLE it_vbfa
               FROM vbfa
               FOR ALL ENTRIES IN it_so1
               WHERE vbelv = it_so1-vbeln
               AND   posnn = it_so1-posnr
               AND vbtyp_n ='J' .
        IF sy-subrc = 0.
          SELECT vbeln
                 posnr
                 matnr
                 werks
                 lgort
                 charg
                 lfimg
                 vrkme
                 FROM lips INTO TABLE it_del_ful
                 FOR ALL ENTRIES IN it_vbfa
                 WHERE vbeln = it_vbfa-vbeln
                 AND   posnr = it_vbfa-posnn.
        ENDIF.
      ENDIF.
    ENDFORM.                    " DATA_SELECT
    **************** EVENT CATALOG ****************************************
    *&      Form  EVENT_CAT
    *       text
    *      -->P_I_EVENT  text
    FORM event_cat  USING    p_i_event TYPE slis_t_event .
      REFRESH p_i_event .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    * EXPORTING
    *   I_LIST_TYPE           = 0
       IMPORTING
          et_events             = p_i_event
    * EXCEPTIONS
    *   LIST_TYPE_WRONG       = 1
    *   OTHERS                = 2
    *  IF sy-subrc <> 0.
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *  ENDIF.
      READ TABLE p_i_event WITH KEY name = slis_ev_top_of_page INTO t_event.
      IF sy-subrc = 0.
        MOVE 'TOP_OF_PAGE' TO t_event-form.
        MODIFY p_i_event FROM t_event INDEX sy-tabix TRANSPORTING form.
      ENDIF.
      CLEAR t_event .
    ENDFORM.                    " EVENT_CAT
    **********FORM FOR EVENT TOP_OF_PAGE**********************************
    FORM top_of_page .
      REFRESH i_listheader.
      DATA: t_header TYPE slis_listheader.
      DATA: v_text(50).
      WRITE sy-datum TO v_text.
      CLEAR t_header.
      t_header-typ = 'S'.
      t_header-key = "Date".
      t_header-info = v_text.
      APPEND t_header TO i_listheader.
      CLEAR t_header.
      CLEAR v_text.
      WRITE:  'SALES ORDER & DELIVERY DETAILS REPORT  ' TO v_text .
      t_header-typ = 'S'.
      t_header-key = 'TITLE'.
      t_header-info = v_text.
      APPEND t_header TO i_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = i_listheader.
    *      I_LOGO             = 'ALV_BACKGROUND'.
    *   I_END_OF_LIST_GRID       =
    ENDFORM.                    "TOP_OF_PAGE
    ********  FIRST ALV GRID DISPLAY ***************************************
    FORM call_alv .
    * FORM TO MAKE THE CELL CONTENTS INVISIBLE.
    * PERFORM INVISIBLE_CELL_CONTENTS. *
    *EXCLUDE-DECLARATION.
      CLEAR wa_exclude.
      wa_exclude-fcode = '&VEXCEL'.
      APPEND wa_exclude TO i_exclude.
    *&      Form  CALL_ALV
    *       text
    *  -->  p1        text
    *  <--  p2        text
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = sy-repid
    *    I_CALLBACK_PF_STATUS_SET          = 'SET_PF_STATUS'
         i_callback_user_command           = 'USER_COMMAND1'
         i_callback_top_of_page            = 'TOP_OF_PAGE'
         i_background_id                   = 'ALV_BACKGROUND'
         is_layout                         = i_layout
         it_fieldcat                       = i_fldcat[]
         it_excluding                      = i_exclude
         it_sort                           = i_sort
         it_events                         = i_event
        TABLES
         t_outtab                          = it_so1
    *  IF sy-subrc <> 0.
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *  ENDIF.
    ENDFORM.                    " CALL_ALV
    ************** FIRST FIELDCATALOG *************************************
    *&      Form  FLD_CAT
    *       text
    *      -->P_I_FLDCAT[]  text
    FORM fld_cat  USING    p_i_fldcat TYPE slis_t_fieldcat_alv.
      CLEAR i_fldcat.
      i_fldcat-fieldname   = 'VBELN'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat-tabname     = 'IT_SO1'."TABLE NAME
      i_fldcat-seltext_m   = 'SALES ORDER NO.'.
      i_fldcat-col_pos     = 1.        " POSITION OF THE COLUMN.
      i_fldcat-outputlen   = 20.       " SET THE OUTPUT LENGTH.
      i_fldcat-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat-hotspot     = 'X'.
      i_fldcat-just(1)     = 'C'.
      APPEND i_fldcat.
      CLEAR i_fldcat.
      i_fldcat-fieldname   = 'AUART'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat-tabname     = 'IT_SO1'."TABLE NAME
      i_fldcat-seltext_m   = 'SALES DOC. TYPE'.
      i_fldcat-col_pos     = 2.        " POSITION OF THE COLUMN.
      i_fldcat-outputlen   = 15.       " SET THE OUTPUT LENGTH.
      i_fldcat-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat-just(1)     = 'C'.
      APPEND i_fldcat.
      CLEAR i_fldcat.
      i_fldcat-fieldname   = 'VKORG'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat-tabname     = 'IT_SO1'.
      i_fldcat-seltext_m   = 'SALES ORG.'.
      i_fldcat-col_pos     = 3.        " POSITION OF THE COLUMN.
      i_fldcat-outputlen   = 12.       " SET THE OUTPUT LENGTH.
      i_fldcat-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat-just(1)     = 'C'.
      APPEND i_fldcat.
      CLEAR i_fldcat.
      i_fldcat-fieldname   = 'SPART'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat-tabname     = 'IT_SO1'.
      i_fldcat-seltext_m   = 'DIVISION'.
      i_fldcat-col_pos     = 4.        " POSITION OF THE COLUMN.
      i_fldcat-outputlen   = 10.       " SET THE OUTPUT LENGTH.
      i_fldcat-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat-just(1)     = 'C'.
      APPEND i_fldcat.
      CLEAR i_fldcat.
      i_fldcat-fieldname   = 'KUNNR'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat-tabname     = 'IT_SO1'.
      i_fldcat-seltext_m   = 'SOLD TO PARTY'.
      i_fldcat-col_pos     = 5.        " POSITION OF THE COLUMN.
      i_fldcat-outputlen   = 15.       " SET THE OUTPUT LENGTH.
      i_fldcat-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat-just(1)     = 'C'.
      APPEND i_fldcat.
      CLEAR i_fldcat.
      i_fldcat-fieldname   = 'POSNR'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat-tabname     = 'IT_SO1'.
      i_fldcat-seltext_m   = 'SALES DOC. ITEM'.
      i_fldcat-col_pos     = 6.        " POSITION OF THE COLUMN.
      i_fldcat-outputlen   = 17.       " SET THE OUTPUT LENGTH.
      i_fldcat-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat-just(1)     = 'C'.
      APPEND i_fldcat.
      CLEAR i_fldcat.
      i_fldcat-fieldname   = 'MATNR'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat-tabname     = 'IT_SO1'.
      i_fldcat-seltext_m   = 'MATERIAL NO.'.
      i_fldcat-col_pos     = 7.        " POSITION OF THE COLUMN.
      i_fldcat-outputlen   = 20.       " SET THE OUTPUT LENGTH.
      i_fldcat-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat-just(1)     = 'C'.
      APPEND i_fldcat.
      CLEAR i_fldcat.
      i_fldcat-fieldname   = 'MAKTX'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat-tabname     = 'IT_SO1'.
      i_fldcat-seltext_m   = 'DESCRIPTION'.
      i_fldcat-col_pos     = 8.        " POSITION OF THE COLUMN.
      i_fldcat-outputlen   = 20.       " SET THE OUTPUT LENGTH.
      i_fldcat-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat-just(1)     = 'C'.
      APPEND i_fldcat.
      CLEAR i_fldcat.
      i_fldcat-fieldname   = 'KWMENG'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat-tabname     = 'IT_SO1'.
      i_fldcat-seltext_m   = 'QUANTITY'.
      i_fldcat-col_pos     = 9.        " POSITION OF THE COLUMN.
      i_fldcat-outputlen   = 15.       " SET THE OUTPUT LENGTH.
      i_fldcat-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat-do_sum    = 'X'.        " For doing "SUM"
      i_fldcat-just(1)     = 'C'.
      APPEND i_fldcat.
      CLEAR i_fldcat.
      i_fldcat-fieldname   = 'VRKME'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat-tabname     = 'IT_SO1'.
      i_fldcat-seltext_m   = 'SALES UNIT'.
      i_fldcat-col_pos     = 10.       " POSITION OF THE COLUMN.
      i_fldcat-outputlen   = 10.       " SET THE OUTPUT LENGTH.
      i_fldcat-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat-just(1)     = 'C'.
      APPEND i_fldcat.
    ENDFORM.                    " FLD_CAT
    ****************** ALV SORTING  ***************************************
    *&      Form  SORT
    *       text
    *      -->P_I_SORT  text
    FORM t_sort  USING    p_i_sort TYPE slis_t_sortinfo_alv .
      DATA: i_sort TYPE slis_sortinfo_alv .
      REFRESH p_i_sort .
      CLEAR i_sort.
      i_sort-spos = 1.
      i_sort-tabname = 'IT_SO1'.
      i_sort-fieldname = 'VBELN'.
      i_sort-up = 'X'.
      i_sort-subtot = 'X'.
      i_sort-group = '*'.
      APPEND i_sort TO p_i_sort.
    ENDFORM.                    " SORT
    *FORM SET_PF_STATUS USING rt_extab TYPE slis_t_extab.
    *  SET PF-STATUS 'ZSTANDARD'.
    *ENDFORM. "Set_pf_status
    ***********FORM FOR EVENT USER_COMMAND1********************************
    FORM user_command1 USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
    *CASE R_UCOMM .
    *    WHEN '&IC1' .
    *    IF rs_selfield-FIELDNAME = 'VBELN' .
    *    ENDIF .
    * WHEN OTHERS .
    * ENDCASE .
      CLEAR wa_so.
      REFRESH: it_del1 .
      IF r_ucomm = '&IC1' AND rs_selfield-fieldname = 'VBELN' AND
      rs_selfield-value IS NOT INITIAL.
        READ TABLE it_so1 INTO wa_so INDEX rs_selfield-tabindex.
        IF sy-subrc = 0.
          LOOP AT it_vbfa INTO wa_vbfa WHERE vbelv = wa_so-vbeln
                                       AND   posnv = wa_so-posnr.
            READ TABLE it_del_ful INTO wa_it_del_ful
                 WITH KEY vbeln = wa_vbfa-vbelv
                          posnr = wa_vbfa-posnn.
            IF sy-subrc = 0.
              CLEAR wa_del.
              MOVE wa_it_del_ful TO wa_del.
              APPEND wa_del TO it_del1.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
    ********* SECOND ALV GRID DISPLAY ***********************************
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
        i_callback_program                = sy-repid
    *   I_CALLBACK_PF_STATUS_SET          = 'SET_PF_STATUS'
        i_callback_user_command           = 'USER_COMMAND2'
        i_callback_top_of_page            = 'TOP_OF_PAGE'
        i_background_id                   = 'ALV_BACKGROUND'
        it_fieldcat                       = i_fldcat2[]
        it_sort                           = i_sort
        TABLES
        t_outtab                          = it_del_ful
    *  IF sy-subrc <> 0.
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *  ENDIF.
    ENDFORM .                    "USER_COMMAND1
    ********** FORM FOR EVENT USER_COMMAND 2 ******************************
    FORM user_command2 USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
      CLEAR wa_so.
      REFRESH: it_del1 .
      IF r_ucomm = '&IC1' AND rs_selfield-fieldname = 'VBELN' AND
      rs_selfield-value IS NOT INITIAL.
        READ TABLE it_so1 INTO wa_so INDEX rs_selfield-tabindex.
    *    IF SY-SUBRC = 0.
    *       LOOP AT it_vbfa INTO wa_vbfa WHERE vbelv = WA_SO-vbeln
    *                                    AND   posnv = WA_SO-posnr.
        READ TABLE it_del_ful INTO wa_it_del_ful
             WITH KEY vbeln = rs_selfield-value
                     " vbeln = wa_vbfa-vbeln
                      posnr = wa_vbfa-posnn.
        IF rs_selfield-fieldname = 'VBELN'.
          SET PARAMETER ID 'VL' FIELD wa_vbfa-vbeln .
          CALL TRANSACTION 'VL03' AND SKIP FIRST SCREEN.
        ENDIF .
    *       ENDLOOP.
    *    ENDIF.
      ENDIF.
    ENDFORM .                    "USER_COMMAND2
    ********* SECOND FIELDCATALOG ******************************************
    *&      Form  FLD_CAT2
    *       text
    *      -->P_I_FLDCAT2[]  text
    FORM fld_cat2  USING    p_i_fldcat2 TYPE slis_t_fieldcat_alv .
      CLEAR i_fldcat2.
      i_fldcat2-fieldname   = 'VBELN'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat2-tabname     = 'IT_DEL_FUL'."TABLE NAME
      i_fldcat2-seltext_m   = 'DELIVERY NO.'.
      i_fldcat2-col_pos     = 1.        " POSITION OF THE COLUMN.
      i_fldcat2-outputlen   = 20.       " SET THE OUTPUT LENGTH.
      i_fldcat2-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat2-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat2-hotspot     = 'X'.
      i_fldcat2-just(1)     = 'C'.
      APPEND i_fldcat2.
      CLEAR i_fldcat2.
      i_fldcat2-fieldname   = 'POSNR'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat2-seltext_m   = 'DELIVERY ITEM'.
      i_fldcat2-col_pos     = 2.        " POSITION OF THE COLUMN.
      i_fldcat2-outputlen   = 20.       " SET THE OUTPUT LENGTH.
      i_fldcat2-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat2-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat2-just(1)     = 'C'.
      APPEND i_fldcat2.
      CLEAR i_fldcat2.
      i_fldcat2-fieldname   = 'MATNR'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat2-seltext_m   = 'MATERIAL NO.'.
      i_fldcat2-col_pos     = 3.        " POSITION OF THE COLUMN.
      i_fldcat2-outputlen   = 20.       " SET THE OUTPUT LENGTH.
      i_fldcat2-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat2-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat2-just(1)     = 'C'.
      APPEND i_fldcat2.
      CLEAR i_fldcat2.
      i_fldcat2-fieldname   = 'WERKS'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat2-seltext_m   = 'PLANT.'.
      i_fldcat2-col_pos     = 4.        " POSITION OF THE COLUMN.
      i_fldcat2-outputlen   = 20.       " SET THE OUTPUT LENGTH.
      i_fldcat2-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat2-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat2-just(1)     = 'C'.
      APPEND i_fldcat2.
      CLEAR i_fldcat2.
      i_fldcat2-fieldname   = 'LGORT'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat2-seltext_m   = 'ST. LOCATION'.
      i_fldcat2-col_pos     = 5.        " POSITION OF THE COLUMN.
      i_fldcat2-outputlen   = 20.       " SET THE OUTPUT LENGTH.
      i_fldcat2-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat2-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat2-just(1)     = 'C'.
      APPEND i_fldcat2.
      CLEAR i_fldcat2.
      i_fldcat2-fieldname   = 'CHARG'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat2-seltext_m   = 'BATCH NO.'.
      i_fldcat2-col_pos     = 6.        " POSITION OF THE COLUMN.
      i_fldcat2-outputlen   = 20.       " SET THE OUTPUT LENGTH.
      i_fldcat2-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat2-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat2-just(1)     = 'C'.
      APPEND i_fldcat2.
      CLEAR i_fldcat2.
      i_fldcat2-fieldname   = 'LFIMG'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat2-seltext_m   = 'ACT. DEL. QTY.'.
      i_fldcat2-col_pos     = 7.        " POSITION OF THE COLUMN.
      i_fldcat2-outputlen   = 20.       " SET THE OUTPUT LENGTH.
      i_fldcat2-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat2-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat2-just(1)     = 'C'.
      APPEND i_fldcat2.
      CLEAR i_fldcat2.
      i_fldcat2-fieldname   = 'VRKME'. "FIELD FOR WHICH CATALOG ID FILLED
      i_fldcat2-seltext_m   = 'SALES UNIT.'.
      i_fldcat2-col_pos     = 8.        " POSITION OF THE COLUMN.
      i_fldcat2-outputlen   = 20.       " SET THE OUTPUT LENGTH.
      i_fldcat2-emphasize   = 'X'.      " COLOR OF THIS COLUMN.
      i_fldcat2-key         = 'X'.      " SO THAT THIS FIELD IS NOT
      "SCROLLABLE AND HIDDABLE.
      i_fldcat2-just(1)     = 'C'.
      APPEND i_fldcat2.
    ENDFORM.                                                    " FLD_CAT2
    ***************** ALV LAYOUT *******************************************
    *&      Form  LAYOUT
    *       text
    *      -->P_I_LAYOUT  text
    FORM t_layout  USING    p_i_layout TYPE slis_layout_alv .
      p_i_layout-zebra  = 'X'.
      p_i_layout-totals_text = 'GRAND TOTAL ='.
    *  p_i_layout-CONFIRMATION_PROMPT = 'X'.
    *  p_i_layout-DEF_STATUS  = ' '.
      p_i_layout-info_fieldname = 'LINE_COLOR'.
    ENDFORM.                    " LAYOUT

  • What is UMA exactly? How does it work?

    What is UMA exactly? How does it work?
    I have T Mobile but am not subscribed to Hotspots at Home.  I do pay for the BB unlimited internet package.
    When I am connected to my router at home, it goes to UMA.  But other times, it just says wifi and is still connected to my router -- but NO UMA.  I haven't made any changes.
    What is this?

    Here is a KB that discusses UMA:
    http://www.blackberry.com/btsc/microsites/search.do?cmd=displayKC&docType=kc&externalId=KB11735&slic...
    Hope that helps!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How Does MINUS Work?

    Hi,
    I want to do a count(*) table 1 minus count(*) table 2 in a test case. How does minus work in functions?
    create table count1( col1 number);
    create table count2( col2 number);
    truncate table count1;
    truncate table count2;
    insert into count1 values(1);
    insert into count1 values(2);
    insert into count1 values(3);
    insert into count1 values(4);
    insert into count1 values(5);
    commit;
    insert into count2 values(1);
    insert into count2 values(2);
    insert into count2 values(3);
    insert into count2 values(5);
    commit;
    SQL> select * from count1
      2  minus
      3  select * from count2;
          COL1
             4
    SQL>
    SQL> select count(*) from count1
      2  minus
      3  select count(*) from count2;
      COUNT(*)
             5
    SQL>

    select * from count1
    minus
    select * from count2;Means all rows of count1 not present in count2, that is to say one row (4).
    select count(*) from count1
    minus
    select count(*) from count2;Means number of rows of count1 if it is different from number of rows of count2, no rows if count1 and count2 contains the same number of rows
    select count(*) from (
    select * from count1
    minus
    select * from count2
    );Means number of DISTINCT rows of count1 that are not present in count2
    select count(a.rowid) - count(b.rowid)
      from count1 a full outer join count2 b on a.rowid=b.rowid;Means number of rows of count1 - number of rows of count2, where - is arithmetic minus (not minus as defined in set theory).
    Try inserting some duplicate values and you'll get it.
    Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/02/query-gerarchiche/]

Maybe you are looking for

  • XP boots in Fusion but not Bootcamp

    I'm new to the Mac, had my 24" IMac for nearly a week now. Successfully been running XP SP2 on my bootcamp NTFS partition, and also run the same partition with Fusion. All was well until today, when I decided to turn on automatic updates within XP (w

  • Text Formatting Rules for sibling elements

    How would you edit the EDD Text format rules of an element repeated several times after one sibling optional element? For example, you have the following elements, it's children, and their formats: 1. TASK (with Title)    A. TOPIC (w/ Title)       (1

  • Creating a simpel network with Lion Server, and add Windows XP computers to it

    We have a Mac Lion Server and 3 computers with Windows XP. Previously we had a Windows 2003 server with a domain name: "MYDOMAIN". When logging into Windows it logs into this domain. I would like to replace this Windows 2003 server with my new Mac Li

  • Wanting to buy MacBookPro...

    I am wanting to buy a macbookpro, and I wanted to know how much it will cost, including tax. ( 13" retina dsplay) From Canada

  • [SOLVED-ISH] ipv6 dropping intermittently, fixed with netcfg -r

    So ipv6 connectivity drops randomly, without any interruption to ipv4. I'm not really sure what logs to look into to check what the real error is. However, a netcfg -r eth0 immediately after it drops out reconnects me to ipv6, and nobody else on the