Can't get the data in the report

hi all,
i have created a report in SMART FORMS.When i execute it i get all the required but only the VENDOR NAME and VENDOR ACCOUNT NUMBER not displaying.I also use debugger but i cant identified what is the problem in that code.Following are the code:
PARAMETERS:
p_ekorg  type  ekorg,
p_ekgrp  TYPE  ekgrp.
SELECT-OPTIONS:
s_ebeln FOR ekko-ebeln,
s_submi FOR ekko-submi.
DATA: BEGIN OF gi_rfq OCCURS 0,
       ematn  like  ekpo-ematn, "Material Number
       txz01  like  ekpo-txz01, "Mareial Description
       menge  like  ekpo-menge, "Quantity
       netpr  like  ekpo-netpr, "Rate
       ebeln  like  ekpo-ebeln, "PO Number
       anfnr  LIKE  ekpo-anfnr, "RFQ No.
       banfn  like  ekpo-banfn, "PR Number
       ebelp  LIKE  ekpo-ebelp,
  END OF gi_rfq,
  BEGIN OF gi_ekko OCCURS 0,
    BSTYP  LIKE  ekko-BSTYP,"Purchasing Document Category
    submi  LIKE  ekko-submi,"Collective Number
    lifnr  LIKE  ekko-lifnr,"Vendor Number
    name1 like   lfa1-name1,
  END OF gi_ekko,
  BEGIN OF gi_reqdate OCCURS 0,
       banfn LIKE eban-banfn,"Purchase Requisition Number
       bedat LIKE eban-bedat,"PO Date
       badat LIKE eban-badat,"PR Date
  END OF gi_reqdate,,
    gi_main LIKE ekko,
    gi_eban LIKE eban,
    gi_lfa1 LIKE lfa1,
    gi_detail LIKE STANDARD TABLE OF ekpo WITH HEADER LINE.
  START-OF-SELECTION.
  PERFORM f_get_data.
  PERFORM f_orgdata.
  PERFORM f_display_report.
FORM f_get_data .
IF sy-subrc EQ 0.
  SELECT ematn txz01 menge netpr ebeln anfnr banfn
    INTO CORRESPONDING FIELDS OF TABLE gi_rfq
    FROM ekpo
    WHERE ebeln  IN s_ebeln.
    SELECT DISTINCT submi BSTYP lfa1~name1 lfa1~lifnr
     FROM ekko
      INNER JOIN lfa1 ON ekko~lifnr = lfa1~lifnr
     INTO CORRESPONDING FIELDS OF TABLE gi_ekko
     WHERE EBELN IN s_ebeln
     AND   ekorg eq p_ekorg
     AND   ekgrp eq p_ekgrp
     AND   submi in s_submi
     AND   ekko~spras = 'E'.
    SELECT  bedat badat
      FROM eban
      INTO CORRESPONDING FIELDS OF TABLE gi_reqdate
      WHERE EBELN IN S_EBELN
      AND   spras = 'E'.
endif.
        endform. 
FORM f_orgdata.
LOOP at gi_reqdate.
  MOVE gi_reqdate-bedat to gi_eban-bedat.
  MOVE gi_reqdate-badat to gi_eban-badat.
  ENDLOOP.
code continued as i can write the whole code in that page....

Hi ,
In the code portion , while you loop with GI_RFQ , you need to read the table GI_EKKO with the key field.
In current version of your code , it does not read and taking the value from the work area of internal table GI_EKKO. Thus blank values are transfering to the GI_DETAIL value .
  LOOP AT gi_rfq.
       ------> Read the table GI_EKKO based on the key in work are Gi_RFQ.
    MOVE gi_ekko-BSTYP to gi_main-BSTYP.
    MOVE gi_ekko-submi to gi_main-submi.
    MOVE gi_ekko-name1 to gi_lfa1-name1.
    MOVE gi_ekko-lifnr to gi_lfa1-lifnr.
    MOVE gi_rfq-banfn to gi_detail-banfn.
    MOVE gi_rfq-ematn to gi_detail-ematn.
    MOVE gi_rfq-txz01 to gi_detail-txz01.
    MOVE gi_rfq-menge to gi_detail-menge.
    MOVE gi_rfq-netpr to gi_detail-netpr.
    MOVE gi_rfq-ebeln to gi_detail-ebeln.
    MOVE gi_rfq-anfnr to gi_detail-anfnr.
    MOVE gi_rfq-banfn to gi_detail-banfn.
    READ TABLE gi_reqdate WITH KEY banfn = gi_rfq-banfn.
    MOVE gi_reqdate-banfn to gi_eban-banfn.
    MOVE gi_reqdate-bedat to gi_eban-bedat.
    MOVE gi_reqdate-badat to gi_eban-badat.
    APPEND gi_detail.
  endloop.
Hope this will resolve your issue.
Regards,
Debaraj

Similar Messages

  • How can I get a date without the hour from sql server 2000 ?

    hellou!
    I have a JTable, and one of it's columns has to show a date. This date i have to show is specified as datetime on the Sql Server 2000 database where I have to take the data.
    the query of the dataset attached to the JTable is something like "select * from Table".
    The problem is that the JTable column that displays the date shows the date and the hour, for example:
    7/10/04 0:00:00
    and I need to show the date without the hour, only the 7/10/04. Can anyone tell me how to do that?
    thank you very much! : )

    The easiest way to format a date is with java.text.SimpleDateFormat. When creating it you pass a format string which can be used to parse or format date objects.
    SimpleDateFormat formater = new SimpleDateFormat( "MM/dd/yyyy" );
    // Get date objects directly from sql
    Date foundDate = result.getDate( 1 );  //where result is the ResultSet and 1 is the date column
    String formatedDate = formater.format( foundDate );Now the JTable's table model can be adjusted to store a formated String instead of a Date. If for some reason it is required to store the value as a Date overload the table model to return the formated string when getValueAt is called.

  • My battery died and then when i charged the phone it is asking me to connect to itunes and restore. if i restore how can i get my data back

    My iphone battery died and on charging the phone it asked me to connect to itunes and restore the phone.
    If i restore the phone how can i get my data back and how can i check when i last backed up my phone

    If you have been syncing regularly as the iphone is designed, then you can sync the data back.
    Regardless you will have to restore the iphone.

  • I'm in cycle mode, and 'merge' is clicked in preferences. However, when I record, my previous track data keeps getting overwritten. Does anyone know what I'm doing wrong. Interestingly, I can still see the data in the region.

    I'm in cycle mode, and 'merge' is clicked in preferences. However, when I record, my previous track data keeps getting overwritten. Does anyone know what I'm doing wrong. Interestingly, I can still see the data in the region.

    jamestait wrote:
    when I record, my previous track data keeps getting overwritten.
    since you didn't specify, are you recording in a single take?
    http://www.bulletsandbones.com/GB/GBFAQ.html#multipassrecording
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Why the 2LIS_08TRTK extractor can not get  all data

    Hello, BW Gurus.
    Why the 2LIS_08TRTK and 2LIS_08TRTLP extractors can not get all data. I had used the RSA3 and get 10 registers, when a check at the VTTK table I had 20 registers, I didnt use filters at RSA3, could you help to know what happen o correct it.

    Is it because
    <i>
    Shipment documents and their dependent objects (shipment stages as well as shipment items [deliveries in the shipment]) are only extracted into BW when the Shipment completion status has been set.
    This is necessary because the numeric values that result from the delivery documents are only established at the time. If the data were already stored earlier in BW, the shipment data would not be updated if the delivery notes were changed in BW.
    </i>
    - from oss note 573470.

  • I lost my iTunes library on my pc when the hard drive crashed. None of the data on the drive was recoverable and I did not have a backup. How can I get the music that resides on my ipod nano (4th generation back onto the new hard drive on my pc.

    I lost my iTunes library on my pc when the hard drive crashed. None of the data on the drive was recoverable and I did not have a backup either locally or on the cloud. Much of the music is from old vinyl and podcasts which are no longer available.
    How can I get the music that resides on my ipod nano (4th generation) back onto the new hard drive on my pc.
    I have been reluctant to install iTunes on the new hard drive out of fear that I will lose all the contents on the ipod if I try to synch to the new hard drive.
    Help!

    No backup is a huge mistake.
    You can redownload some itunes purchases in some countries:
    Downloading past purchases from the App Store ... - Apple - Support

  • How can I get a date picker or wheel to show up in the form to make filling in a form with a lot of

    how can I get a date picker or wheel to show up in the form to make filling in a form with a lot of dates more easy?

    There is no built-in date picker available for forms created in Acrobat. There are some third-party solutions involving JavaScript (either a large collection of fields or a custom dialog) though. Also, text fields with date formatting will use a wheel type date picker on Android/iOS devices with Adobe Reader.

  • How do I get routing data from the Map App (powered by TomTom) so I can display the point-to-point annotations (turn-by-turn navigation) without leaving my own application.

    I have a tableView displaying a list of contacts from a Cloud Database.  After selecting a contact, I push to a programmatically created MKMapView.  Then I display the initial region (the view) that includes the users current location (starting point) and their selected destination (end point).
    Now I want to display annotations (as described in the Location Awareness Programming Guide) that displays polylines which will represent the turn-by-turn navigation IN MY OWN APPLICATION, and not in the Map App currently used in IOS6. 
    Due to licensing and its becoming depricated in IOS 6, I do not want to get routing data from the Google Maps API.  How do I get routing data from the IOS 6 Map App (powered by TomTom) so I can display the point-to-point annotations (turn-by-turn navigation) without leaving my own application?
    I checked out Stack Overflow and other forums which basically left me with the impression that this is not possible. I also checked out the TomTom iPhone Mobile SDK User Guide from the TomTom Developer Portal and am still confused.  It must be possible to retrieve routes, since the Map App can display turn-by-turn directions.  How can I retrieve turn-by-turn data that I may display as a route within my own application?

    Thanks Michael. Apologies for the slow reply I was away for a bit (holiday blitz at work and visiting family madness etc.etc.) back now, I set both options you requested to "never " and retried the CMS software with no change. 
    I do have progress of a sort though, as a test I took a separate test PC and put a clean install of Win7 on and loaded up the CMS software (it worked perfectly) and then took the version of ole32.dll off that machine and put it onto the computer I had built
    for her (using Linux) and...
    got a new error code. Darn I was so sure I had found a clever solution this time lol.
    Anyway now when the CMS fails it gives me a similar error but the offending module is "ntdll.dll" sooo... I tried taking the "working" version of ntdll.dll from the test box and moving it over (making sure to back up the existing ones
    first so I could put them back if needed) to her new PC and the PC would not boot. 
    It seems to want the original versions of a few Dynamic Link Libraries and if I could somehow give it those while not breaking Win7 it should theoretically work seeing as it no longer errors with ole32.dll. 
    ntdll.dll however seems necessary for Win7 to boot.
    So what I am wondering now is:
    Is there some way to have both versions of the DLL file in the system32 folder (bypassing the "cannot have two files with the exact same name in the same folder" thing) or rename the original DLL's something else and somehow make the CMS look for
    the new named versions so the system has the updated DLL's it needs to boot/run and the CMS has the old ones it wants to run or is there someway to have a self contained install of the CMS, say on a USB flash drive and give it it's own E:/windows/system32/needed
    dll's  path to the files it needs? 
    Willing to try any other options or settings you may have come up with as well.
    Thanks again for your reply and my apologies for not answering sooner.

  • How can i get the date of the last update of one PL/SQL package ?

    Hello,
    How can i get the date of the last update of a PL/SQL package
    named MYPACKAGE ?
    Thanks in advance ! ;-)

    to get the timestamp,last ddl time of object
    select timestamp,last_ddl_time from user_objects
    where object_name='<package name>';
    this will give you last transaction time ,date of object

  • How can I get the date of the next monday from the currentday?

    How can  I get the date of the next monday from current day? Please advice.
    mayooran99

    Hi mayooran,
    Please try the following code
    DateTime nextMonday = DateTime.Today.AddDays(((int)DateTime.Today.DayOfWeek - (int)DayOfWeek.Monday) + 7);
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • What is the easiest way to get the data from the mailmerge to form Pages files that can be saved separately?

    Using Iwork 09 I have spent several hours setting up a mail merge from a spread sheet in Numbers to create receipts for my customers from a Pages template.
    After the merge I am left with one long Pages document that will not save as separate files; one per customer, it will only save the whole document of several receipts.
    What is the easiest way to get the data from the mailmerge to form Pages files that can be saved separately?
    Many thanks in advance.
    Richard

    Mr. Clark,
    You will probably be more pleased with the iWork apps when you begin to learn your way around. Until you learn such basic things as how to print only one page of a document, you will probably continue to be disappointed.
    Does your Print dialog look like this:
    Or like this:
    If it looks like the first one, then you will want to click this expander control:
    Regards,
    Jerry

  • Can we update the data from SSRS report to any database ?

    Hi Team,
    Greetings !!!!
    Can we update the data from SSRS report to any database ?
    Thanks,
    Anand Gavle.

    Nope SSRS doesnt have write back options. Its just a reporting tool
    However one thing you can do is to link a webpage from SSRS report and do the changes through it
    SSRS has the ability to navigate to web page through which you can capture any data inputs from users and save it to your db.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Updated software on Macbook Air and bootcamp partition disappeared.  Windows boot option no longer appears.  Can I get it back and the data?

    Updated software on Macbook Air and bootcamp partition disappeared.  Windows boot option no longer appears.  Can I get it back and the data?

    Amy, is there a chance they could both be Syncing to another device that has the data erased?
    What are the sizes & modification dates on the files you found?
    Could be many things, we should start with this to be safe, though 2 different ones would seem unlikely to be this problem...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at the top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.

  • HT1414 if i didnt back up before upgrading the OS, can i get any data back after my last restore date?

    if i didnt back up before upgrading the OS, can i get any data back after my last restore date?

    thanks - thought as much my own fault then - should have backed up before upgrading, you just dont expect it to affect the files stored, rather just the OS itself (bit like a PC if the same happened)

  • My iphone 4s will not turn on or connect to itunes.... is there any way i can get the data from the phone?

    is there any way i can get the data from the phone?

    Hi webby84,
    Welcome to Apple Support Communities.
    It sounds like you're experiencing a hardware issue with your iPhone.
    These links are a good starting point for troubleshooting:
    iPhone Assistant
    http://www.apple.com/support/iphone/troubleshooting/
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Best,
    Jeremy

  • Could not see the data in the report

    Hi,
    BOXI R3.1 is intalled newly in my sytem.Through Infoview,when i refresh a new report, though data is getting into the report ,I am not able to see the data in the report plus the Header color is blue and the rest of the row colors are displaying as yellow.
    when I am logging in another machine i am able to see the data.Please help me in solving this issue.
    Thanks in Advance.
    Regards,
    Spandana.

    Spandana,
    As suggested, JVM is problem. You can find out it at Control Panel == Java (Double-click) General tab == About button (See the build version) (build 1.6.0_20-b02). So you have to choose below 20 (I prefer 17).
    Alternatively, You might have several Java's running on your machine. Uninstall all Java versions and start developing reports or Editing any existing reports, now BO will prompt for you to install JVM, Run it, Now the problem is solved.
    Hope it should solves the issue.
    If you want to see the data:(now with yellow & blue)
    Select Column == properties == Read cell content as, change it to HTML.
    Thank You!!
    Sent from iPhone

Maybe you are looking for

  • No Network given for transaction 0020

    While posting invoice (tcode MIRO) against PO, i am having error "No Network Given for transaction 0020". The PO is having account assignment "N" Network and 0020 is the activity number. Any idea how to resolve this. Regards, Shahzad Shakoor

  • Why does iPad App Store have such a cruddy interface?

    I really dislike shopping in the iPad store especially in the Top Charts section: 1. Show More button, why? This is dumb, swipe next page please! 2. 10 pages in and I look at an application, I go back to the list and I'm back at the top of the charts

  • Smartforms: Page break in main window

    Hello all, I am working on a smartform that has a loop in the Main window which finally shows a table with serveral rows. I would like to have a page break if one group of lines doesn't fit on the page anymore. I did some research on that and found t

  • 5.1 Preferences/Cookies and Private Browsing gone haywire - BACKWARDS

    There is something gone wrong, all haywire with the new version of Safari at 5.1.  The Cookies settings in the Prefs has "Block" settings, and I have it set at "ALWAYS" and yet it allows for me to sign in to any webpage with my name and password, whe

  • Calling Get_DocumentVersion occur a fatal error

    Hi, Someone sent an email with a "DocumentReference" attachment to me, when I used the gwDocumentReference.Get_DocumentVersion() api to get the document's content, it would occur a fatal exception, but I could view the document in GroupWise client I