Err. E:"TRANSPORTING NO FIELDS" will not fill the output area.

Dear all,
Below are my codes and i keep getting this error
E:"TRANSPORTING NO FIELDS" will not fill the output area. The addition does not make sense here.
Any idea how to fix this?
The first bit...
TABLES: /BI0/MWBS_ELEMT.
  DATA:   I_MWBS_ELEMT LIKE /BI0/MWBS_ELEMT OCCURS 0 WITH HEADER LINE.
  DATA:   W_MWBS_ELEMT LIKE LINE OF I_MWBS_ELEMT.
Then second bit...
  READ TABLE I_MWBS_ELEMT WITH KEY WBS_ELEMT = SOURCE_FIELDS-POSID TRANSPORTING NO FIELDS INTO W_MWBS_ELEMT.
  IF SY-SUBRC IS INITIAL.
    RESULT = W_MWBS_ELEMT-RESP_CCTR.
    RETURNCODE = 0.
  ELSE.
    SELECT SINGLE * FROM /BI0/MWBS_ELEMT INTO W_MWBS_ELEMT
                    WHERE WBS_ELEMT = SOURCE_FIELDS-POSID
                    AND OBJVERS = 'A'.
    IF SY-SUBRC IS INITIAL.
      APPEND W_MWBS_ELEMT TO W_MWBS_ELEMT SORTED BY RESP_CCTR.
     RESULT = W_MWBS_ELEMT-RESP_CCTR.
    ELSE.
      CLEAR RESULT.
    ENDIF.
  ENDIF.

Hi
The error is here
READ TABLE I_MWBS_ELEMT WITH KEY WBS_ELEMT = SOURCE_FIELDS-POSID TRANSPORTING NO FIELDS INTO W_MWBS_ELEMT.
The addtion TRANSPORTING NO FIELDS is in conflit with addition INTO:
TRANSPORTING NO FIELDS means not to fill the work are
INTO mean fill a work area
So or u need to fill a work area or u don't need to fill a work area, but (from the code you've pasted) it seems u need to fill the work area W_MWBS_ELEMT, so your code should be:
READ TABLE I_MWBS_ELEMT INTO W_MWBS_ELEMT WITH KEY WBS_ELEMT = SOURCE_FIELDS-POSID.
  IF SY-SUBRC IS INITIAL.
    RESULT = W_MWBS_ELEMT-RESP_CCTR.
    RETURNCODE = 0.
  ELSE.
    SELECT SINGLE * FROM /BI0/MWBS_ELEMT INTO W_MWBS_ELEMT
                    WHERE WBS_ELEMT = SOURCE_FIELDS-POSID
                    AND OBJVERS = 'A'.
    IF SY-SUBRC IS INITIAL.
      APPEND W_MWBS_ELEMT TO W_MWBS_ELEMT SORTED BY RESP_CCTR.
     RESULT = W_MWBS_ELEMT-RESP_CCTR.
    ELSE.
      CLEAR RESULT.
    ENDIF.
  ENDIF.
Max

Similar Messages

  • Portal Report from SQL query will not fill the page irrespective of column width.....

    I'm displaying a report in a portal and if you run in full screen the table does not fill the page.
    I can change the column width from xx percent to xx pixel and nothing makes a difference
    any ideas?

    Hi,
    Which version of portal are you using. This is a bug. It has been fixed in 30984.
    Thanks,
    Sharmila

  • Using field-symbols giving dump " the output area is too small.  "

    Hi All,
    Good Afternoon.
    I  am creating a report using field-symbols. The purpose is :
    "This development involves extracting all the fields and the entire data, of any SAP table, and download it as a ‘;’ seperator file."
    For this I wrote following code:
    *& Report  ZTOOL
    REPORT  ztool1.
    Tables***************************************
    DATA : i_tab TYPE TABLE OF dfies WITH HEADER LINE.
    Variables***************************************
    DATA dref TYPE REF TO data.
    FIELD-SYMBOLS <ft> TYPE ANY TABLE." with header line.
    FIELD-SYMBOLS <fs> TYPE ANY .
    DATA: w_heading(5000),
         w_line(5000).
    CONSTANTS  sep TYPE c VALUE ';'.
    Selection Screen*********************************
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS : p_tab LIKE dfies-tabname OBLIGATORY.
    PARAMETERS : p_file(100) TYPE c .
    PARAMETERS : p_lfile(100) TYPE c .
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      CALL FUNCTION 'GET_FIELDTAB'
       EXPORTING
         langu                     = sy-langu
      ONLY                      = ' '
         tabname                   = p_tab
      WITHTEXT                  = 'X'
    IMPORTING
      HEADER                    =
      RC                        =
        TABLES
          fieldtab                  = i_tab
    EXCEPTIONS
       internal_error            = 1
       no_texts_found            = 2
       table_has_no_fields       = 3
       table_not_activ           = 4
       OTHERS                    = 5
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
         SELECT * FROM (p_tab) INTO <fs> .       
         endselect.
         CREATE DATA dref TYPE STANDARD TABLE OF (p_tab).
           ENDSELECT.
          assign dref to <fs> casting.
         ASSIGN dref->* TO <ft>.
         SELECT & FROM (p_tab) INTO table <ft>.
         OPEN DATASET p_lfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    LOOP AT i_tab.
      IF sy-index = 1.
        w_heading = i_tab-fieldname.
      ELSE.
      CONCATENATE w_heading i_tab-fieldname INTO w_heading SEPARATED BY sep.
      ENDIF.
    ENDLOOP.
    TRANSFER w_heading TO p_lfile.
    LOOP AT <ft> into <ft>.
    clear w_line.
      LOOP AT i_tab.
             ASSIGN COMPONENT i_tab-fieldname OF STRUCTURE <ft> TO <fs>.
             IF sy-index = 1.
                  w_line = <fs> .
             ELSE.
                  CONCATENATE w_line <fs> into w_line SEPARATED BY sep.
             ENDIF.
      ENDLOOP.
      TRANSFER w_line TO p_file.
    ENDLOOP.
    The program is executed well till the statement :
    SELECT * FROM (p_tab) INTO <fs> .       
         endselect.
    But here it gives the following dump : 
    "Error analysis
        In an Open SQL select, the output area used t
        records must be at least as wide as the datab
        records are being read.
        In this particular case, the database table i
        but the output area is only 2 bytes wide."
    Can you please help me solve this problem.
    Thanks in advance.

    Hi Abhii,
    Both are having the same number of fields.
    The only problem is with the data and time (in my scenario). Here, actual length of date is 8 and maximum length is 10. and for time the actual length is 6 and maximum length is 8.
    So, my work area it is taking only the actual length but not the maximum length because of this it is going to dump.
    Can i have any thing which also considers the maximum length of any field at a domain level so that by work area bytes should match according to the db table byte length.
    Thanks
    rohith

  • My Still Image will not fill the Canvas????

    I want to create the effect of panning down through space.
    I took a still frame from a movie in FCP sized at 720 x 576 and brought it into Photoshop, and made the canvas 720 x 1146 and copied the image and pasted it on top of itself. So my image is now 720 x 1146, and I exported it as a .psd and brought it into FCP.
    When dragged from the Browser and into the Timeline, the image does not take the full width of the Canvas. It seems long enough, though now not wide enough to fill the Canvas. What is going on?
    Thanks.

    well 720x576 is PAL. Why you've got a 640x480 sequence only you can say, if you want it to be 720x576 then you should make a new sequence and choose an appropriate sequence setting.
    The reason your still is displaying small in the centre of the frame is that fcp is automatically scaling the 1146 pixels down to fit the 480 pixel height of the sequence. If you set the canvas view size to a small size (25 or 50% and turn on overlays you can click on the corner of the wireframe around you still and drag to resize it to fill the width of the frame and overlap the top and bottom. Move the playhead to the frame you want the tilt down to start and then you can click anywhere within the wireframe to reposition the still. Double click the still in the timeline to load it in the viewer, then go to the motion tab and make a keyframe here, then move the playhead to where the tilt down will end and make another keyframe.

  • Adobe Reader will not center the printable area on the page

    Hi there,
    I have posted a few times about this issue already but have still not gotten an answer so I'm trying again. Adobe Reader will not center PDF files on the page if the printable area is less than 8.5" X 11". I make sewing patterns for a living and have always drafted them on 7.5" X 10" artboards (printable areas)....the art boards are centered on the page when they are drafted. Up until a few months ago there has never been an issue for me or my customers to print the patterns in either landscape, portrait (depending on the particuar PDF's orientation) or autoportrait/landscape orientation. Then about 2 or so months ago I started getting complaints about the top left hand side of the page getting cut off. When I tried printing one of the PDF's myself that was drafted in landscape orientation, and I printed it in "landscape" orientation, the top left side of the pdf did indeed get cut off. When I printed in autoportrait/landscape orientation the pdf printed fine, and for many of my customers this seems to fix the problem. But for many of them it doesn't fix the problem and the pdf still prints with part of it getting cut off regardless of which box is checked for orientation. I've found that if I go to the "pages to print" box and click "other options" then select "current view" this often solves the problem...but then the user does not seem to be able to select which pages to print. This is becoming a major problem for my business (lots of complaints) and would really like to know if anyone has looked at this issue and if the problem will be solved anytime soon. It is not just me but many of my colleagues and 100's of customers. Help! Thank you:)

    iMac G4, Mac OS X (10.4.9)
    Make sure you have the latest Adobe Reader installed for your OS.
    http://www.adobe.com/support/downloads/product.jsp?platform=macintosh&product=10
    Did you try using Preview. If you control click on the PDF on your desktop you can use the "open with" option.

  • How do i open my idvd project after I have saved it, when I look at the list of projects they are listed but they will not open the letters are like grey not black and it won't open  please help thanks

    I cannot open my saved idvd files the letters are grey not black and they won't open  can anyone help?

    Do the files you're trying to open have this extension:  .dvdproj ? How are you attempting to open them?
    OT

  • My iPhone 4 will not reconize the earphones are plugged in

    Really upset with apple on this one I can't get the earphones to play every once in a while it will work but most of the time it's like you don't have the earphones in I have tried the cleaning the jack out rebooting ,restoring and nothing works

    http://ipod.about.com/od/iphonetroubleshooting/f/iphone-headphones-help.htm

  • Read Table : Error Stating mandt field is not filled.

    Dear members,
    I am get syntax error when using Read table statement saying mandt field is not filled, however if I remove the KEY field. it is working fine.
    please let me know, where I am doing mistake. thank you.
    Data : spfli_tab like STANDARD TABLE OF spfli with HEADER LINE.
    SELECT *
           FROM spfli
           INTO TABLE spfli_tab
           WHERE carrid = 'LH'.
    READ TABLE spfli_tab
               WITH TABLE KEY carrid = 'LH'
                                           connid = '2402'.
    IF sy-subrc = 0.
    ENDIF.

    Hi...
    As Eric Said there are two ways...
    For your case use WITH KEY...
    SELECT *
    FROM spfli
    INTO TABLE spfli_tab
    WHERE carrid = 'LH'.
    READ TABLE spfli_tab
    WITH KEY carrid = 'LH'
    connid = '2402'.
    IF sy-subrc = 0.
    WRITE : 'DONE'.
    ENDIF.
    If u specify WITH TABLE KEY then u will hv to pass all key fields mentioned in DDIC...
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • To Generate msg if mandatory field is not filled

    Hi Experts,
        I want to display msg if mandatory field is not filled , for that i called
    CALL METHOD L_MESSAGE_MANAGER->REPORT_ATTRIBUTE_ERROR_MESSAGE
      EXPORTING
        MESSAGE_TEXT        = ' PLEASE FILL ALL MANDATORY FIELD '
        ELEMENT             =  ELEM_GENRAL
        ATTRIBUTE_NAME      =  F_NAME
    But i am getting error that F_NAME is not an attribute name but it is attribute name only
    What i should do , Please Help

    Hi Neeraj,
    Remove Required property of that inputfield make it NORMAL.
    For example your input field is INPUT...
    if input is initial.
    * report message
              CALL METHOD lo_message_manager->REPORT_ATTRIBUTE_ERROR_MESSAGE
                EXPORTING
                  MESSAGE_TEXT   = 'Pick Quantity Should not be 0... '
                  ELEMENT        =  wa_temp // element
                  ATTRIBUTE_NAME = 'PICK_QTY'.   // Attribute name( name used in context )
    endif.
    If you not fill input it will raise error message by hilighting the input field.
    Cheers,
    Kris.

  • I'm so angry!! I bought my iphone as 16GB and it fills up to 13.2 GB only!! I think a software will not fill 2.8 GB (ps: still didn't download the new software!)

    I'm so angry!! I bought my iphone as 16GB and it fills up to 13.2 GB only!! I think a software will not fill 2.8 GB (ps: still didn't download the new software!)

    16 GB is a rounded up or rounded down value -- it makes it easier when advertising a product.  I don't have an iPhone but almost always it is a rounded up value, so you start off with a bit less.
    See the link by Stedman1 about how computer mathematics makes this less.  When advertising they use 16 GB in base ten terms, but when your device uses base 2 which means it is shown as less.
    Don't forget simply formatting a drive for use in an electronic device will use some space.  No files on it yet that you see.
    Your phone comes with some version of iOS.  This will take up space and that is not factored in advertising a device.
    This kind of space reporting has taken place since the first computers were sold.  It's nothing new and all electronics manufacturers do it.

  • My text fields will not expand

    I have a suggestion form that i created in adobe livecycle. The text fields will not expand when there is more text than what fits in the box. A scroll bar comes up when there is more text than what can fit,  but this will not do. I have the 'expand to fit' checked and allow multiple lines. Any help?

    Hi,
    Have a look at this example of the process for making fields dynamic: http://assure.ly/g80MVY.
    A couple of pointers:
    The form will need to be saved as a Dynamic XML Form in the save-as dialog.
    You should group objects that don't need to be flowed into a Positioned subform(s), as step 3 will move things around.
    The page will need to be set to Flowed in the Object > Subform palette.
    That should get you most of the way there.
    Niall

  • Shapes Will Not Fill With Color

    For some reason, all of a sudden when I go to make a shape and choose a color, it does not fill. I noticed that the Style box to the right of the color box on the top bar had a white box with a red line through it. I then chose Simple Outer from the drop down box and it still will not fill. Please advise! I am using Elements 10. Thank you! Kelly

    I understand that it is difficult to determine which forum to post in since there are so many. This particular forum (sharing and storage) was created to help those transitioning from Photoshop.com to Adobe Revel. I am moving your post to the correct forum so that it can get proper attention.
    I'll put I this posting in the elements  community so the experts there can help you.
    We also have many other forums relating to other Adobe products
    http://forums.adobe.com/community/
    http://forums.adobe.com
    Out of curiosity, can you tell me how you found our forum page?

  • Last 70 MB on iPod Touch will not fill

    I'm not sure if this started when I upgraded to iTunes 9 or Snow Leopard, but either way, this is really frustrating. Basically, when I try and sync my iPod Touch in iTunes, it will not use the last 70 MB of free space. For example, if my iPod has 75.6 MB free and I try and add 8 MB of music, I'll get an error saying "The iPod cannot be synced because there is not enough free space to hold all the items in the selected playlists (8 MB required, 5.6 MB available)". I've tried restoring my iPod, but no luck. This has been an issue for months now. Any ideas? I posted in a thread on this a while back (http://discussions.apple.com/message.jspa?messageID=10431705#10431705), but everyone else seemed to be as clueless as I was. Hopefully something's changed. Thanks.

    I know this annoys you but your device is more than 99% full.
    I'm still trying to find out where this "bug" complaint lies though... read the thread I linked and answer the question please.
    - How much free space does the iPod itself report?
    - How much free space does iTunes report for the iPod?
    Yes, I suspect something was changed in the last software update but Apple probably figures that most people won't care about one fraction of one percent of inaccuracy.
    Have you complained directly to Apple yet?

  • Firefox v3.6.8 will NOT remember passwords. I've doubled check the settings but it will not remember the passwords

    New HP laptop, O/S XP-Pro, my previous computer with XP-Pro had no problem remembering passwords but this v of Firefox will not remember the PW's

    Thanks Cor-el. It now works on some sites, but there are still some where it doesn't work. The problem appears to be with sites that have more than just the username and password to fill in. Firefox only saves the username and password but not the other fields. It then refuses to fill in any of the fields on the site.
    For instance, my bank has four fields on the sign-in page - username, security code, password, and an odd one with a number between 1 and 4 in it. Firefox only saves the username and password and so can't fill in the other fields. Actually it refuses to fill in any of the fields. It seems to not recognise the page at all.
    The only way I can see around the problem at the moment is to save any that Firefox will save and use RoboForm to save the others. It means having two programs to do one job. It's messy but at least it works and I can save all my usernames and passwords and have them fill in properly.
    I don't know why it is that RoboForm will save the data but Firefox won't. It appears to be something to do with Firefox only saving two fields whereas RoboForm will save any number as required.

  • Form will not print the typed information?

    My forms will not print the typed information only the form itself as a blank form.
    I have Acrobate 8 Professional V. 8.3.1
    Please advise on how to correct this annoying problem that started with the latest update.
    Thanks

    For Macintosh the AdobeViewer Plugins does not function and Hasn't since Acrobat 8. Adobe has no intention of fixing  it, I received a nasty reply:  what feature do you want removed in order fix the problem.  Its not worth it and we have no intention of ever fixing it. However its shipped and installed on the Mac version
    The only PDF Plugin that works  is PDFBrowser Plugin by Schubert of Germany, and it appears he has discontined updating although Thankfully It works in OSX.8  with most mdern Updates.  You can Only fill out forms by opening Chrome, iCab , and OperaNext only Safari doesn't work and any product using the Gecko Rendering engine (Mozilla Products , FireFox and SeaMonkey  Form Fields don't work or crash the browser. (depending upon version of the pdfBrowser Plugin).

Maybe you are looking for