Plsssss help me.....

Hi,
Pls solve this issue...
I'm getting output without using ALV ....
but if i use ALV im getting error...
pls correct the code...(alv part)
REPORT  ZPAYABLES_AGING_TRAIL no standard page heading line-count 65(30) line-size 150.
type-pools : slis.
tables : payr, bsik, rfpdo.
data : begin of itab1 occurs 0, "payr table
       znme1 like payr-znme1, "vendor name
end of itab1.
data : begin of itab2 occurs 0, "bsik table
       lifnr like bsik-lifnr, "vendor number
       bukrs like bsik-bukrs, "company code
       ZUONR like bsik-zuonr, "assignment number
       belnr like bsik-belnr, "account document number
       blart like bsik-blart, "document type
       budat like bsik-budat, "posting date in a document
       bldat like bsik-bldat, "document date in document
       bschl like bsik-bschl, "posting key
       skfbt like bsik-skfbt, "cash discount
       zfbdt like bsik-zfbdt, "base line date
       dmbtr like bsik-dmbtr, "amount in local currency
       wrbtr like bsik-wrbtr, "amount in document currency
       waers like bsik-waers, "currency key
       shkzg like bsik-shkzg, "debit/credit indicator
end of itab2.
data: begin of itab3 occurs 0, " bsik(rfpdo)
      budat1 like  bsik-budat, "open items at key date
end of itab3.
data: begin of itab4 occurs 0,
znme1 like itab1-znme1, "vendor name
lifnr like itab2-lifnr, "vendor number
bukrs like itab2-bukrs, "company code
budat1 like itab3-budat1, "open items at key date
ZUONR like itab2-zuonr, "assignment number
belnr like itab2-belnr, "account document number
blart like itab2-blart, "document type
budat like itab2-budat, "posting date in a document
bldat like itab2-bldat, "document date in document
bschl like itab2-bschl, "posting key
skfbt like itab2-skfbt, "cash discount
zfbdt like itab2-zfbdt, "base line date
dmbtr like itab2-dmbtr, "amount in local currency
wrbtr like itab2-wrbtr, "amount in document currency
waers like itab2-waers, "currency key
shkzg like itab2-shkzg, "debit/credit indicator
end of itab4.
DATA: it_fldcat TYPE slis_t_fieldcat_alv.
DATA: wa_fldcat TYPE slis_fieldcat_alv.
DATA : it_sort TYPE slis_t_sortinfo_alv.
DATA : wa_sort TYPE slis_sortinfo_alv.
DATA: it_events TYPE slis_t_event,
      wa_events TYPE slis_alv_event.
select-options :
s_znme1 for payr-znme1,
s_lifnr for bsik-lifnr,
s_bukrs for bsik-bukrs.
select * from payr into corresponding fields of table itab4 for all entries in itab1
  where znme1 = itab1-znme1 and znme1 in s_znme1.
*loop at itab1.
*write : / itab1-znme1.
*endloop.
select * from bsik into corresponding fields of table itab4 for all entries in itab2
  where
lifnr = itab2-lifnr and
bukrs = itab2-bukrs and
ZUONR = itab2-zuonr and
belnr = itab2-belnr and
blart = itab2-blart and
budat = itab2-budat and
bldat = itab2-bldat and
bschl = itab2-bschl and
skfbt = itab2-skfbt and
zfbdt = itab2-zfbdt and
dmbtr = itab2-dmbtr and
wrbtr = itab2-wrbtr and
waers = itab2-waers and
shkzg = itab2-shkzg.
*lifnr in s_lifnr and bukrs in s_bukrs.
*loop at itab2.
write : / itab2-lifnr, itab2-bukrs, itab2-zuonr, itab2-belnr, itab2-blart, itab2-budat, itab2-bldat, itab2-bschl,itab2-skfbt,
itab2-zfbdt, itab2-dmbtr, itab2-wrbtr,itab2-waers,itab2-shkzg.
endloop.
*select * from bsik into corresponding fields of table itab4 for all entries in itab3
where bukrs = itab3-bukrs.
loop at itab4.
   write : / itab4-znme1, itab4-lifnr, itab4-bukrs, itab4-zuonr, itab4-belnr, itab4-blart, itab4-budat,
   itab4-bldat, itab4-bschl,itab4-skfbt,
itab4-zfbdt, itab4-dmbtr, itab4-wrbtr,itab4-waers,itab4-shkzg, itab4-bukrs.
   endloop.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'   "Displaying data in grid format
    EXPORTING
      i_callback_program                = sy-repid
      it_fieldcat   = it_fldcat     "fieldcatalog
     it_sort       = it_sort[]     "Sort
     it_events     = it_events
    TABLES
      t_outtab      = itab4     "internal table to output
    EXCEPTIONS
      program_error = 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.
    DEFINE bld_fcat.     "Macro to create manual field catalog
    wa_fldcat-col_pos = &1.
    wa_fldcat-fieldname = &2.
    wa_fldcat-outputlen = &3.
    wa_fldcat-seltext_s = &4.
    wa_fldcat-ddictxt = &5.
    append wa_fldcat to it_fldcat.
    clear wa_fldcat.
  END-OF-DEFINITION.
  bld_fcat 1 'znme1' 35 'Name of the Vendor' 'L'.
  bld_fcat 2 'lifnr' 10 'Vendor Number' 'L'.
  bld_fcat 3 'bukrs' 4 'Comp Code' 'L'.
  bld_fcat 4 'zuonr' 18 'Assignment Number' 'L'.
  bld_fcat 5 'belnr' 10 'Account Document Number' 'L'.
  bld_fcat 6 'blart' 2 'Document Type' 'L'.
  bld_fcat 7 'budat' 8 'Posting date in the document' 'L'.
  bld_fcat 8 'bldat' 8 'Document date in the document' 'L'.
  bld_fcat 9 'dmbtr' 13 'Amt Local Curr' 'L'.
  bld_fcat 10 'WRBTR' 13 'Amt Document Curr' 'L'.
  bld_fcat 11 'WAERS' 5 'Curr Key' 'L'.
  bld_fcat 12 'bschl' 2 'Posting Key' 'L'.
  bld_fcat 13 'skfbt' 2 'Amount Eligible for Cash Discount in Document Currency' 'L'.
  bld_fcat 14 'shkzg' 1 'Debit/Credit Indicator' 'L'.
  bld_fcat 15 'zfbdt' 8 'Baseline Date for Due Date Calculation' 'L'.
  bld_fcat 16 'bukrs' 4 'Open line item dates' 'L'.

looks like u dint generate a field catalog... use reuse_fieldcatalog_merge or generate field catalog like this
sales order number
afield-fieldname = 'VBELN'.
afield-seltext_s = 'Sales #'.
afield-ref_tabname = 'VBAK'.
APPEND afield TO xfield. CLEAR afield.
sales ITEM number
afield-fieldname = 'POSNR'.
afield-seltext_s = 'Item #'.
afield-ref_tabname = 'VBAP'.
APPEND afield TO xfield. CLEAR afield.
Material Number
afield-fieldname = 'MATNR'.
afield-seltext_s = 'Material #'.
afield-ref_tabname = 'VBAP'.
afield-outputlen = 10.
APPEND afield TO xfield. CLEAR afield.
*Vendor Number
afield-fieldname = 'LIFNR'.
afield-seltext_s = 'Vendor Num.'.
afield-ref_tabname = 'EKKO'.
APPEND afield TO xfield. CLEAR afield.
ship-to-party
afield-fieldname = 'SH'.
afield-seltext_s = 'Ship-to'.
afield-ref_tabname = 'VBPA'.
APPEND afield TO xfield. CLEAR afield.
sold-to-party
afield-fieldname = 'SP'.
afield-seltext_s = 'Sold-to'.
afield-ref_tabname = 'VBPA'.
APPEND afield TO xfield. CLEAR afield.
*PO number
afield-fieldname = 'BSTNK'.
afield-seltext_s = 'PO NUM'.
afield-ref_tabname = 'EKKO'.
APPEND afield TO xfield. CLEAR afield.
*PO status
afield-fieldname = 'PO_STAT'.
afield-seltext_s = 'Step'.
afield-ref_tabname = 'zbacklog_v2'.
APPEND afield TO xfield.
Xfield[] need to be passed into reuse_alv_grid
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "Displaying data in grid format
EXPORTING
i_callback_program = sy-repid
it_fieldcat = it_fldcat[]                 <<<<<<<<<< [ ] missing
>award points if helpful

Similar Messages

  • Why is that I've already set up credit card details and oso check many times already still unable to purchase in game gold? Plsssss help !!!!

    I've tried over at least 30 over times to purchase ingame gold but when I hit the confirm button, it says unable to purchase and ask me to contact www.apple.com/support/ww. I also check several times on my credit details too . Really no idea what to do now =\

    Hello Ading,
    It sounds like you were charged for an in App purchase but did not receive the item. I would report this issue to iTunes Store support with the following article:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/ht1933
    To report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase, follow these steps:
    Find the email receipt for your purchase.
    Click Report a Problem under the app that is having the issue.
    When prompted, enter the Apple ID and password you used to purchase the item, then click Report a Problem.
    Click Report a Problem next to the item you are having an issue with.
    From the Choose Problem dropdown menu, choose the appropriate issue.
    Follow the onscreen instructions and—if prompted—type a description of the problem into the text field.
    Click Submit to have your issue reviewed.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Apple support Thailand Trip - help please

    Hey all,
    Kind of lost.
    Iphone 5S of a friend got broke. He got it from his family before the trip. Newbe to apple, did have an apple id.just started using it. Mostly pictures, web on wifi, etc. Therefore i am asking for him.
    Had battery issues, now not starting, charging, anything.
    Problem, right now we are on an island in Thailand, next stop bangkok. No retail store there, only official resellers. After short stop we are off to india. Guess less stores around there. Enfield roadtrip...
    Now the problem, where can he get replacement, repair.. Anyone any ideas. Can reach support chat. Only online with this iphone device...
    Anyone any ideas?!? Plsssss help! Kind of frustrating around here!

    I get it.. And i am not complaining about different warrenty models all over the world...
    I can see a lot of reasons, why wartenty is not international. Specially because there are different laws around the world.
    But having bought the newest model which is not a year old, i dont get why they dont offer service around the world for models under a year old.
    Apple presents itself a a new, fresh, hipster kind if company.. On nearly every commercial they tell u how nice it is to take the iPhone anywhere u want,  share vids and pics with all your friends from anywhere.. Now u realize that its more likely only in one country.. At least service related. For backpackers traveling around the world, iPhone therefor is properbly a bad choise!

  • How can I remove my old iPad from Icloud!

    The problem is I've sold my ipad2 and that iPad was used by my account! But now this is not belong to me anymore, how can I remove the iPad from my account! When she opens ICloud , I can see her photo via photo stream! That makes me in trouble! Plsssss help me!

    You should've deleted your iCloud account from the iPad BEFORE you sold it.
    Now the new owner is using your iCloud account, and can access your email, contacts and calendars too.
    Contact the buyer and ask them to sign up for their own iCloud account and use that instead.
    If you can't contact the buyer, change the password for your iCloud account so they can't use it anymore.

  • 9300 showing MAIN Kern - Exec

    hi, I love my 9300 and proud to be 1 of its user.
    today morning my phone is just getting rebooted.
    not able to go to the main menu too..
    It is showing as
    MAIN
    Kern - Exec
    Reason - 3
    I have reset the handset couple of times but in vain...
    I had been to the nokia care centre, they told me as my handset is made in findland, 95% of chances are the handset getting flushed by the engineer...
    can any body plsssss help me by telling what is the next thing i should do for starting of my handset...
    regards
    Karthikeyan Iyer

    I don't think installing Pc Suite has anything to do with powerpoint in the phone and kernel error you are getting.
    Did the powerpoint presentation came from the PC originally (so it is Microsoft Powerpoint format?). The conversion to Symbian format is done in the phone, not by PC Suite. The kernel error may be due to conversation failing.

  • All things were deleted

    I update my iPhone 4 last night ,in the morning I check my phone and all the contact was deleted!!!! I didn't save any contact on my computer and I don't have a iCloud account ,plsssss help me

    If you don't have an iTunes or iCloud backup for your contacts, you should use a third iPhone data recovery tool to get your contacts back.
    This is a blog about how to recover your contacts with an easy iPhone recovery tool:
    http://easy-iphone-recovery.blogspot.com/iphone-recovery-resource.html
    Don't worry, you can get your contacts back in this situation with this easy tool. Have a try and good luck.

  • Last updated

    sir....,
           i have updated my nokia phone 5233 with the latest software but after that i am facing some problems . the sound of m phone has reduced after i have updated it....plsssss help me what will i do now 

    hi mate, have u checked that you are up to date with the latest firmware? also check that you are up to date with the latest Nokia system app updates from the Store, and try performing a soft reset. failing that, a hard reset may be in order.

  • HP C4480 used to be able to print a image on 4 or 8 or 16 pages,,,so i produce onelarge image.

    I USE TO BE ABLE TO ENLARGE MY IMAGES AS TO CREATE LARGE POSTER SIZE IMAGES,,,I BELIEVE IT WAS A SOFTWARE ON MY OLD G5 ,, IVE RECENTLY UPDATED TO OSX 9.4 AND CANT GET THIS FACILITY ANYMORE ,,,,PLsssss help
     sorry about the caps on ,,didnt look at screen while typing....

    Hello @Blingwear , and welcome to the HP Forums.
    I see you are looking into scan options.  Due to the age of the printer, there is no HP software available. 
    Although you can still use the Apple basic drivers to print and scan, there will be limitations.  For more information, I would recommend the document below:
    OS X v10.9 Mavericks: Installing and Using the Printer on a Mac
    Please let me know if you have any questions.  Thank you for posting on the HP Forums.
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Transferring games from PC(using PC Suite) to game...

    Hello, people. My phone is Nokia X6 8gb. Can you please tell me how can I install and transfer games (.jar and .sis) from PC to my phone using Nokia PC Suite? Plsssss help, awaiting your responses!!!!

    ..or Connect the phone to PC (suite mode)..Open PC Suite.. and select 'Install application'..Now...in the Left  window browse for the Application / game and Highlight it.. Click on the Arrow between the 2 windows..and the application will be received in the phone.. Follow the instructions on phone display..
    If the PC is Bluetooth enabled.. you can first connect the phone to PC thru' it. Right click on the Application / Game... send -->Bluetooth-->select phone -->Finish.. It will be received as a message.. Click on the message and it will start installing.. Follow the instructions..
    --------------------------------------------------​--------------------------------------------------------​--------------------------------------------------​--If you find this helpful, pl. hit the White Star in Green Box...

  • Mail does not open on imac

    Hi
    Please can somebodu tell me what to do , I have the Imac and the mail icon is there but will not let me open it .... mail will appear on the top line however it still stays as my home page on the screen .... plsssss help me ???
    Thanks
    Laura

    Try opeing Mail in a new user account, if you dont have another user create one and try opening Mail there.
    Let me know if it works in a new user account.
    Also, are you running Time Machine, if not, start using it.

  • Sounblaster Live 5.1 - Problem with headphones (Vis

    Hello everybody,
    I ve just installed Window Vista Ultimate and after reading many posts i finally managed to install my SB Li've but i have a problem. I cant use my headphones along with my speakers. I have 2 speakers and when i plug the headphones they wont work. I want to use them for cueing in Traktor which worked with XP.
    Anyone for a solution or i just have to go back to XP?

    i dnt have any option to select or deselect Side pair speakers.
    When i choose Quadrophonic everythng works fine but sounds are very loud but there is no 5.1 experience.
    I ahve 3 adio ports in my mother board, line in, line out and mic.
    So i  have i have plugged in line out port.
    When i inserted in dat port, iwas asked the following questions-
    line in
    mic in
    headphone
    front speaker out
    rear speaker out
    center/subwoofer speaker out
    side speaker out.
    I have chosen front speaker out bcoz dat only works fine. Deres distortion of sound in videos and movies if rear speaker is selected. Agn very lil sound is heard when center/subwoofer speaker is selected and no sound if side pair is selected.
    do i need to use 3 cables to connect my woofer to cpu so dat dat 3 stereo jacks can b plugged in all three ports?????
    will dat make any difference?????
    plsssss help me!!!!!
    thanx

  • HT4314 how to change billing Information?

    before was register in US and now i need to change cos i move to UAE plsssss help need to make update on games

    Perhaps you could try this to resolve your issue: http://support.apple.com/kb/HT1918

  • My phone had been LOCKED! Help plsssss....

    After I installed and downloaded the 3.01 version into my iphone (previously 2.2), the phone just locked. When i plugged in the cable, then came out this message "The SIM card inserted in this iPhone does not appear to be supported".
    Anyone can help me on this? I cant use my phone at all except emergency call.

    Are you using an unofficially (i.e. hacked) unlocked iPhone obtained from somewhere other than Malaysia? If so, updating the firmware permanently re-locked the phone to it's original carrier and location.

  • Help me plsssss

    hi guys,
    in my script  i have to disply total value .
    fields are gross weight &  quantity, for this where should i write code for this value in print program.

    In your driver program, i think you have used loop to extract the data from internal table into the window. just write
    sum.
    before you close loop.
    call function write_form after endloop. and pass the parameter for weight and quantity whereever you want to display. and in the text element give the respective fields
    for ex: Enter following in text element
    /E Total
        &internaltable-field(quantity)&
        &internaltable-field( weight).
    AND IN UR PROGRAM
    after ENDLOOP.
    call function Write_form.
    exporting
         element  =   Total (inthis case)
         type       =   top, body or bottom whereever u want           the                  output
         window   =   main or any other window where u need

  • Pls help, flashing gone wrong :(

    Could anyone help me, I tried flashing my phone & something went wrong.
    Downloaded the french firmware & Flashtool
    To be precise, I connected my mobile through usb by pressing vol - , the green light appeared & it showed that my phone is connected in flash mode. After that i pressed thunderbolt button & checked flashmode & popup appeared in which i selected the french firmware i downloaded. I pressed ok. In the main window of flashtool it said loading files to flash, i waited. after two minutes it said device disconnected & said connect your device in flashmode. Then i disconnected my device & re-connected by pressing vol- & its gone. It showed some error while flashing.
    Now am unable to switch on my phone nor flashing it again is working Am screwed, can anybody help me ASAP plsssssssssss
    The phone does not turn on, the green light appears & a slight vibration when i press the power on button & vanishes in 2 seconds, thats it...
    I don't even want ICS anymore, want my mobile working again
    Plsssss helpppppppppppp
    Solved!
    Go to Solution.

    I did not check on 32 or 64 bit for flashtools
    am using Win 7 32 bit ultimate
    I did flash before, but i forgot about USB debugging
    My phone is now working fine after the repair through Sony Update Service
    thank you arnab, drsanket for your help, deeply appreciated...

Maybe you are looking for