Dialog programming, data being washed out in TAB Control

Hi,
     i am working on dialog programming , in which i am using Table Control  for user input (data is not coming from database table) . everything is going well till assignment of data to internal table but when
control goes to PBO by any means like pressing ENTER etc. then data being washed out.
PROCESS BEFORE OUTPUT.
  MODULE TC_CONTROL.
  LOOP AT it_data
         INTO wa_data
         WITH CONTROL tc_control
         CURSOR tc_control-current_line.
    MODULE tc_control_get_lines.
  ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT IT_DATA.
    CHAIN.
      FIELD WA_DATA-FREPS_N.
      FIELD wa_data-TOEPS_N.
      FIELD wa_data-PRCH_A.
      FIELD wa_data-SRVC_AMT .
      FIELD wa_data-ACCNT_C.
      FIELD wa_data-AMT_D.
      FIELD wa_data-NARR_X.
      FIELD wa_data-CRPRD_N.
      MODULE tc_control_modify ON CHAIN-REQUEST.
    ENDCHAIN.
  ENDLOOP.
*Abap program
MODULE TC_CONTROL OUTPUT.
DESCRIBE TABLE it_data LINES tc_control-lines.
ENDMODULE.                 " TC_CONTROL  OUTPUT
CONTROLS: TC_CONTROL TYPE TABLEVIEW USING SCREEN 1000,
          TC_CONTROL1 TYPE TABLEVIEW USING SCREEN 1000.
DATA:     G_TC_CONTROLS_LINES  LIKE SY-LOOPC,
          G_TC_CONTROLS_LINES1  LIKE SY-LOOPC.
*&      Module  tc_control_get_lines  OUTPUT
      text
MODULE tc_control_get_lines OUTPUT.
g_tc_controls_lines = sy-loopc.
move-corresponding it_data to wa_data.
ENDMODULE.                 " tc_control_get_lines  OUTPUT
MODULE tc_control_modify INPUT.
move-corresponding wa_data to it_data.
MODIFY it_data
    FROM wa_data
    INDEX tc_control-current_line.
append it_data.
clear it_data.
ENDMODULE.                 " tc_control_modify  INPUT
Please suggest me any clue.
Thanks in advance
vijay dwivedi

Hi ,
I have understood the problem.
In your ABAP code replace all the occurrrences of wa_data  with the structurename.
Use the TABLES keyword to declare the structure .That structure will be same as
reference table of the table control .
Here the structure is SPFLI.
Check the bellow code , it will resolve the issue.
ABAP code - -
program  zsdn.
tables spfli.  " Declare the structure
data : it_data like table of spfli with header line,
*wa_data TYPE spfli,  " commented
w_i type i.
*CONTROLS TC_CONTROL TYPE TABLEVIEW USING SCREEN 100.
controls: tc_control type tableview using screen 1000,
tc_control1 type tableview using screen 1000.
data: g_tc_controls_lines like sy-loopc,
g_tc_controls_lines1 like sy-loopc.
module tc_control output.
  describe table it_data lines tc_control-lines.
endmodule. " TC_CONTROL OUTPUT
module tc_control_get_lines output.
  g_tc_controls_lines = sy-loopc.
  move-corresponding it_data to spfli.
endmodule. " tc_control_get_lines OUTPUT
module tc_control_modify input.
  move-corresponding spfli to it_data.
  modify it_data
  from spfli
  index tc_control-current_line.
  append it_data.
  clear it_data.
endmodule. " tc_control_modify INPUT
module status_0100 output.
  set pf-status 'STAT'.
*  SET TITLEBAR 'xxx'.
endmodule.                 " STATUS_0100  OUTPUT
module user_command_0100 input.
  case sy-ucomm.
    when 'BACK' or 'EXIT' or 'CANCEL'.
      leave to screen 0.
  endcase.
endmodule.                 " USER_COMMAND_0100  INPUT
*&      Module  POPLATE_TABLE  OUTPUT
*       text
module poplate_table output.
  if it_data is initial.
    select * from spfli into table it_data.
  endif.
endmodule.                 " POPLATE_TABLE  OUTPUT
Screen code (Scr no 1000) - -
PROCESS BEFORE OUTPUT.
  MODULE status_0100.
  MODULE poplate_table.
  MODULE tc_control.
  LOOP AT it_data WITH CONTROL tc_control CURSOR w_i.
    MODULE tc_control_get_lines.
  ENDLOOP.
PROCESS AFTER INPUT.
  MODULE user_command_0100.
  LOOP AT it_data.
    MODULE tc_control_modify ON CHAIN-REQUEST.
*    ENDCHAIN.
  ENDLOOP.
Regards
Pinaki

Similar Messages

  • Pages program is showing washed out page

    Trying to use a template in my Pages program - yet it shows a "washed out" page.... Yet when I print and preview it shows all items.  What is wrong?  Frustrated - this has never happened until now! Help

    Hi..
    By posting in the Pages community your topic will be seen by more Pages users for feedback.
    You can do that here.

  • Data being sent out every hour

    We have an iphone 4s that is sending data out every hour. We noticed it when our data plan used 3G in 3 days! Any suggestions on why this is occuring, before we take the phone in the Apple store?

    You have an app that is using data. If you are going by the carrier's report you don't know if it is sending or receiving, as most carriers lump all data together. You need to use the Usage info in Settings/General/Usage.
    The built in apps get small amounts of data on a periodic basis, but it is a few KB. Anything more than that is either email or some other app. Music streaming apps could use that much, and the do not terminate when you exit them. Facebook can use a lot of data if you subscribe to a lot of notifications.

  • IOS 6 update, and data being wiped out on apps...

    I just updated my phone last night and all the photos that were in a private photo album app all got wiped out. I have been doing regular backups to iCloud, and all app data is supposed to be stored there, but I don't know how to get the data back? Has anyone else had this problem? Does anyone know how to fix this?

    This isn't an itunes app. I thought this was the icloud discussion group.

  • New Macbook air display being washed out -- faded colors.

    I have a new 2012 intel i5 128 running Lion 10.7.2. I have tried every adjustment that I am aware of: contrast settings; color calibration; brightness. But the display just looks faded. Next to my older Macbook Pro it looks really bad. I read on other blogs that several people have reported the same problem but there doesn't seem to be any solution. Advise?
    thx,
    Malthus

    I have been researching the macbook air as I'm thinking of buying one. I found a story that the display can be made by either Samsum or LG. And the LG may appear not as good, but it is a matter of fixing some obscure settings, not really an LG hardware deficiency.  See:
    http://osxdaily.com/2011/10/30/how-to-check-for-an-lg-display-in-a-macbook-air-a nd-make-it-look-better/
    (this is not the only article on this topic)
    It all seems to involve hairy command line stuff however, so I suggest you google around the topic (macbook air LG versus Samsung displays) a bit more and be ready to restore your system if you try it and it ends in tears.
    Good luck.

  • H.264 mp4 Export Washed Out

    I can't seem to export an H.264 video without it being washed out. Lower contrast, lower saturation, very noticeable. As if there's a hidden conversion to rec709 or some such that I can't turn off.
    PC
    Premiere Pro CC
    Exporting from Premiere Pro through Media Encoder to H.264 in an MP4 container.
    Video appears the same in VLC, QuickTime, and on Vimeo.
    I've looked and looked and all the solutions I've seen relate to H.264 within a MOV container. Nothing I've seen works.
    Other codecs play back as expected. Definitely not a driver issue.
    This is infuriating. Thoughts?

    Tried exporting a 10-bit DNxHD and taking it through DaVinci Resolve, exporting an H.264 (mov) using Data Levels, and it exports and plays correctly. As a test, I ran this file through Media Encoder reconverting to H.264 (mp4) and the result plays correctly (at data levels).
    This seems to confirm that Premiere Pro / Media Encoder by default (and without an option to change it) export H.264 with video levels. In a day when web video trumps television, it seems at the very least there would be an option to export using data and not video levels, especially when Vimeo and YouTube both request H.264 files. Am I missing something obvious, or this completely retarded?

  • RGB color in inDesign changes (washed out) after exporting it to PDF

    Hi,
    I am new to InDesign and i have a hard time figuring out how could I export my InDesign file to PDF without affecting the color.
    This is what I do.
    1. I created a new document with Transparency Blend Space set to Document RGB
    2. I created a box using the rectangle tool and filled it up with RGB color, R=126 G=12 B=110
    3. The color in Indesign is just how i wanted it, however, the problem arises when i export the file now to PDF
    4. Instead of the color i wanted, the color was changed to a lighter color, or washed out.
    5. THis happens even in text have the same RGB setting.
    How could I export it to PDF with the same color, without being washed out?
    I really appreciate your help on this. Thanks.

    That sounds like the Color Picker, which works a bit differently in ID than in Illustrator or Photoshop. If the cursor is not in one of the RGB fields when you say OK you won't get RGB color. You can see this by noting the text in the Add ... Swatch button. My guess is you added the color as the CMYK conversion which is a bit lighter.
    You might want to use the panel menu in the Swatches panel instead, or the new swatch button at the bottom of the panel while holding down the Alt key to open the new swatch definition dialog. You want to create a Process color and change the type to RGB, then enter the values in the RGB fields. Or if what you want is really Pantone 249U you can define a Spot swatch and choose Pantone Solid Uncoated and then specify the 249. I'll warn you though, that CS6 uses Lab values for displaying spot colors and 249U is considerably lighter than either the RGB you specified or the 249C. In earlier versions the book value conversions were used. Even when using Lab display values through Ink Manager in CS5, the coated and uncoated swatches incorrectly look the same in ID, and in Illustrator CS5 you would need to turn on overprint preview to see a difference.
    Here are a couple of screen captures from PDFs exported from ID CS5 and CS6 using High Quality Print. The colored boxes with the lables were pasted from Illustrator CS5 to be sure I was using the same color definitions and that theywere behaving as native objects. Below are the same boxes placed:
    and here is how the screen looked in CS6 in ID (notice the difference in the placed .ai file -- the screen preview is NOT using the Lab values, although it exports with them):
    I don't know what the content is and how you present it, but it doesn't sound like a web page. That said, if you choose Web for intent in Document Setup you can still use print size paper sizes for the document and change the rulers after the doc is created to read inches or millimeters or other units of your choice instead of pixels and the file will use default RGB swatches and default to RGB when making new colors.

  • I want complete information about dialog programs?

    hi,
    i want complete information about dialog programs?

    Check this out
    http://www.allsaplinks.com/dialog_programming.html
    dialog programming
    http://fuller.mit.edu/tech/dialog_programming.html
    http://www.sappoint.com/abap/dptc1.pdf
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sappoint.com/faq/faqdiapr.pdf
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sapdevelopment.co.uk/tips/tipshome.htm
    check sample code.
    http://www.sapgenie.com/abap/example_code.htm
    http://www.sap-img.com/abap.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBTOO/BCDWBTOO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRFORM/BCSRVSCRFORM.pdf
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e4/2adbef449911d1949c0000e8353423/frameset.htm
    And also, you may want to check out the transaction DWDM for example of how to use the control framework.

  • LV RT and tab controls

    I'm still coming up to speed with LV RT and had a question. I
    understand the general philosphy of separating the UI and the
    deterministic part of the RT engine, but haven't gotten around to fully
    implementing that yet. As a first step, I was using the front panel of
    the RT application to show all kinds of configuration info and live
    data. I put a tab control on that panel to organize it. However, when
    I download and run the program from my host to the RT chassis, the tab
    control is unresponsive and I can only interact and see those controls
    on the first tab.
    Is this a known limitation of RT (LV 7.0) - that you can only see
    and interact on the host with those controls that are visible when the
    program starts?
    TIA,
    Dave
    David Thomson 303-499-1973 (voice and fax)
    Original Code Consulting [email protected]
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Developer
    Certified Instrument Driver Developer
    Research Scientist 303-497-3470 (voice)
    NOAA Aeronomy Laboratory 303-497-5373 (fax)
    Boulder, Colorado [email protected]
    There are 10 kinds of people: those who understand binary,
    and those who don't.

    David Thomson wrote in
    news:[email protected]:
    > I'm still coming up to speed with LV RT and had a question. I
    > understand the general philosphy of separating the UI and the
    > deterministic part of the RT engine, but haven't gotten around to fully
    > implementing that yet. As a first step, I was using the front panel of
    > the RT application to show all kinds of configuration info and live
    > data. I put a tab control on that panel to organize it. However, when
    > I download and run the program from my host to the RT chassis, the tab
    > control is unresponsive and I can only interact and see those controls
    > on the first tab.
    > Is this a known limitation of RT (LV 7.0) - that you can only see
    > and interact on the host with those controls that are visible when the
    > program starts?
    >
    > TIA,
    > Dave
    > -------------------------------------------------------------
    > David Thomson 303-499-1973 (voice and fax)
    > Original Code Consulting [email protected]
    > www.originalcode.com
    > National Instruments Alliance Program Member
    > Certified LabVIEW Developer
    > Certified Instrument Driver Developer
    > -------------------------------------------------------------
    > Research Scientist 303-497-3470 (voice)
    > NOAA Aeronomy Laboratory 303-497-5373 (fax)
    > Boulder, Colorado [email protected]
    > -------------------------------------------------------------
    > There are 10 kinds of people: those who understand binary,
    > and those who don't.
    >
    >
    It might seem that way, but that's not what's going on. When you deploy to
    the real time platform, those sockets that pass live data to the GUI on the
    host side either slow things down enormously, or take place with such low
    priority that they never or rarely happen. You need to religiously keep
    your real time process from sending live data to the GUI!
    Scott
    Reverse first field of address to reply

  • Tab Control Focus

    I have a tab controls with two tabs.  I put a lot of indicators under each tab.  During run time, the indicators will get updated, and the user can select which tab he wants to view.  I only want the user to change the tab order.  It seems like when the user is on the 1st tab and the indicators on the 2nd tabs are being updated by the program, the problem will switch the tab control to the 2nd tab.  Is there a way to disable that?  
    Kudos and Accepted as Solution are welcome!

    You'll have to show us a VI.  I have never seen the tab switch from one page to another unless either the user clicked on a new tab, or the program programmatically changed the tab.  Generally for me, the tab control is never read from or written to inside the VI, it is just used as a mechanism to separate and organize different parts of the program.  Updating an indicator on a non-shown tab should not be causing that tab to be switched to.
    How do you want the user to change the tab order?  Do you mean that you want to swap the locations of the tabs so that page 2 moves to the left ahead of page 1?

  • Tab control always on front

    Dear LabVIEWers,
    is there a way to have a tab control always on the front of the screen. In my case a "small" tab control that contains controls for the general program is embedded in a bigger tab control for different functions. As mentioned I want to have the general tab control always be visible on the front ...
    Thank you very much for any help,
    Michael

    > is there a way to have a tab control always on the front of the
    > screen. In my case a "small" tab control that contains controls for
    > the general program is embedded in a bigger tab control for different
    > functions. As mentioned I want to have the general tab control always
    > be visible on the front ...
    >
    The typical solution is to place the object above the tab control rather
    than in it. Start with the object outside of the tab, Select it so that
    it can be moved with the keyboard, and use arrows and shift arrows to
    move it to the right location. Note that it has a shadow beneath it
    indicating that it is above rather than in the object it is over.
    Greg McKaskle

  • I am unable to import my favorites from internet explorer dueto the import data from option being grayed out under history, library, import tab, any help please

    i am unable to import my favorites from internet explor due to the import data from... option being grayed out under his, library, import. any help please

    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.com/kb/Private+Browsing
    To see all History and Cookie settings, choose:
    *Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    *Deselect: [ ] "Always use private browsing mode"

  • How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?

    How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?
    I currently run OS X 10.10.1
    Now i have been trying to work on this for a while now and what i want to do should be simple but its apparently not.
    Here is an example of what i want to happen.
    I will have 2 tabs: Contact | Sales
    Now Contacts will have the list of names and various information about a customer, While Sales will have one drop-down box for each Cell Row that will show the names of the person in tab contacts
    for what i am wanting to do i cant use the data format pop-up menu because the list is edited everyday several times a day.
    Now how do i do this, Excel can do this so how can numbers do it?

    Hi Shegra,
    Paste this into a applescript editor window and run it from there. In the script you may need to adjust the four properties to agree with your spreadsheet. Let me know if you have any questions.
    quinn
    Script starts:
    -- This script converts column A in one table into an alphabetized list of popups. It copies the last cell in that column. Then reverts the column to text. It then refreshes popups in column A of a data table starting with a user defined row.
    property DataEntrySheet : "Sheet 1" --name of sheet with popups to be refreshed
    property DataEntryTable : "Sales" --name of table with popups to be refreshed
    set copyRange to {}
    property PopValueSheet : "Sheet 1" --name of sheet with popup values table
    property PopValueTable : "Contacts" --name of table with popup values
    set PopStartRow to {}
    tell application "Numbers"
      set d to front document
      set ps to d's sheet PopValueSheet
      set pt to ps's table PopValueTable
      set s to d's sheet DataEntrySheet
      set t to s's table DataEntryTable
      set tf to t's filtered --this records filter setting on data Entry Table
      display dialog "Start from row #..." default answer "" with icon 1 -- with icon file "Path:to:my.icon.icns" --a Week # row
      set PopStartRow to {text returned of result}
      tell pt --convert list to alphabetized popups
      set ptRows to count rows
      set copyRange to ("A2:" & name of cell ptRows of column "A")
      set selection range to range copyRange
      set selection range's format to text
      sort by column 1 direction ascending
      set selection range's format to pop up menu
      -- popupsmade
      set selection range to cell ptRows of column 1 of pt
      set v to value of cell ptRows of pt
      end tell
      activate application "Numbers"
      tell application "System Events" to keystroke "c" using command down
      tell pt
      set selection range to range copyRange
      set selection range's format to text
      end tell
      tell t
      set filtered to false
      set tRows to count rows
      set pasteRange to ((name of cell PopStartRow of column "A") & ":" & (name of cell tRows of column "A"))
      set selection range to range pasteRange
      tell application "System Events" to keystroke "v" using command down
      set filtered to tf
      end tell
    end tell

  • ICal 5.0 - washed out dates unreadable

    The text in Lion iCal 5.0, mainly 'Month' and 'Year' views is so washed-out grey that I can't read it. As a partially sighted Mac user I usually find a little Zoom is all that is necessary, but this text is just too weak-washedout-gray for that to help.
    How do I make the date text black - or at least bold? I know I could use Universal Access to set things system wide, but it is just the ugly new-and-improved iCal that is causing me difficulties.
    Getting rid of the dirty brown top to the window would also improve the look of the app.

    Our office is experiencing the same symptoms. ICAL is useless  on our imac I5s due to background lines delineating days and weeks along with the labels being virtually unreadable. User input for events and to-dos are redable but useless since they simply appear on a white background. We have attempted to calibrate our displays without success. Universal access is equally without benefit. Becasue of the importance of calendaring, we are considering moving all of it to MS Office for MAC Outlook. Apple needs to either change the screen templates to black and white or provide contrast control within ical itself and/or allow the user to change the background color so that the template will be readable.
    I should note that the same problem occurs on our older IMacs as well as our MacBook Pros, but not to the same degree. On these machines the ical grey lines and labels are barely readable, but still not useful.
    Does anyone have any other thoughts about curing the problem. I would prefer to use ICAL but without resolution of the problem I will move to Outlook.

  • 11.5.10.2 to R12.1.1 upgrade: Error loading seed data for GL_DEFAS_ACCESS_SETS:  DEFINITION_ACCESS_SET = SUPER_USER_DEFAS,  ORA-06508: PL/SQL: could not find program unit being called

    Hello,
    EBS version : 11.5.10.2
    DB version : 11.2.0.3
    OS version : AIX 6.1
    As a part of 11.5.10.2 to R12.1.1 upgrade, while applying merged 12.1.1 upgrade driver(u6678700.drv), we got below error :
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ATTENTION: All workers either have failed or are waiting:
               FAILED: file glsupdas.ldt on worker  3.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 adwork003.log
    Restarting job that failed and was fixed.
    Time when worker restarted job: Wed Aug 07 2013 10:36:14
    Loading data using  FNDLOAD function.
    FNDLOAD APPS/***** 0 Y UPLOAD @SQLGL:patch/115/import/glnlsdas.lct @SQLGL:patch/115/import/US/glsupdas.ldt -
    Connecting to APPS......Connected successfully.
    Calling FNDLOAD function.
    Returned from FNDLOAD function.
    Log file: /fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log/US_glsupdas_ldt.log
    Error calling FNDLOAD function.
    Time when worker failed: Wed Aug 07 2013 10:36:14
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 US_glsupdas_ldt.log
    Current system time is Wed Aug  7 10:36:14 2013
    Uploading from the data file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt
    Altering database NLS_LANGUAGE environment to AMERICAN
    Dumping from LCT/LDT files (/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0), /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt) to staging tables
    Dumping LCT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0) into FND_SEED_STAGE_CONFIG
    Dumping LDT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt into FND_SEED_STAGE_ENTITY
    Dumped the batch (GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS , GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS ) into FND_SEED_STAGE_ENTITY
    Uploading from staging tables
      Error loading seed data for GL_DEFAS_ACCESS_SETS:  DEFINITION_ACCESS_SET = SUPER_USER_DEFAS,  ORA-06508: PL/SQL: could not find program unit being called
    Concurrent request completed
    Current system time is Wed Aug  7 10:36:14 2013
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Below is info about file versions and INVALID packages related to GL.
    PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG is invalid with error component 'GL_DEFAS_DBNAME_S' must be declared.
    I can see GL_DEFAS_DBNAME_S is a VALID sequence accessible by apps user with or without specifying GL as owner.
    SQL> select text from dba_source where name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG') and line=2;
     TEXT
    /* $Header: glistdds.pls 120.4 2005/05/05 01:23:16 kvora ship $ */
    /* $Header: glistddb.pls 120.16 2006/04/10 21:28:48 cma ship $ */
    /* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */
    /* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */ 
    SQL> select * from all_objects where object_name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG')
      2 ; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
    EDITION_NAME
    APPS GL_DEFAS_ACCESS_DETAILS_PKG 1118545 PACKAGE 05-AUG-13 05-AUG-13 2013-08-05:18:54:51 VALID N N N 1 
    APPS GL_DEFAS_ACCESS_SETS_PKG 1118548 PACKAGE 05-AUG-13 06-AUG-13 2013-08-05:18:54:51 VALID N N N 1 
    APPS GL_DEFAS_ACCESS_SETS_PKG 1128507 PACKAGE BODY 05-AUG-13 06-AUG-13 2013-08-06:12:56:50 INVALID N N N 2 
    APPS GL_DEFAS_ACCESS_DETAILS_PKG 1128508 PACKAGE BODY 05-AUG-13 05-AUG-13 2013-08-05:19:43:51 VALID N N N 2 
    SQL> select * from all_objects where object_name='GL_DEFAS_DBNAME_S'; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
    EDITION_NAME
    GL GL_DEFAS_DBNAME_S 1087285 SEQUENCE 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1 
    APPS GL_DEFAS_DBNAME_S 1087299 SYNONYM 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1 
    SQL> conn apps/apps
    Connected.
    SQL> SELECT OWNER, OBJECT_NAME, OBJECT_TYPE, STATUS
    FROM DBA_OBJECTS
    WHERE OBJECT_NAME = 'GL_DEFAS_ACCESS_SETS_PKG'; 2 3 OWNER OBJECT_NAME OBJECT_TYPE STATUS
    APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE VALID
    APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE BODY INVALID SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE; Warning: Package altered with compilation errors. SQL> show error
    No errors.
    SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE BODY; Warning: Package Body altered with compilation errors. SQL> show error
    Errors for PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG: LINE/COL ERROR
    39/17 PLS-00302: component 'GL_DEFAS_DBNAME_S' must be declared 
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>cat $GL_TOP/patch/115/sql/glistdab.pls|grep -n GL_DEFAS_DBNAME_S
    68: SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
    81: fnd_message.set_token('SEQUENCE', 'GL_DEFAS_DBNAME_S');
    SQL> show user
    USER is "APPS"
    SQL> SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
      FROM dual; 2                         -- with GL.
      NEXTVAL
      1002
    SQL> SELECT GL_DEFAS_DBNAME_S.NEXTVAL from dual;               --without GL. or using synonym.
      NEXTVAL
      1003
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdab.pls|grep '$Header'
    REM | $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ |
    /* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdas.pls |grep '$Header'
    REM | $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ |
    /* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */

Maybe you are looking for