display a Internal table on a SmartForm

Die Frage ist als "gelöst" markiert. Den entsprechend Beitrag findest du hier.

Getting started ... Alles für einen gelungenen Start.
1 Beitrag • Seite 1 von 1
1 Beitrag Seite 1 von 1

display a Internal table on a SmartForm

Beitrag von jamiguel77 (ForumUser / 3 / 0 / 0 ) »
hi, friends Happy New Year 2015.

I am search and search on different forums and of course too on scn.sap.com but not get a Clear Tip about:

http://scn.sap.com/thread/247188

here talk isn't possible do this job, need create a structure on SE11, other forums say yes, but aren't clear how to.

here my code

Code: Alles auswählen.

*&---------------------------------------------------------------------*
*& Report  Z_JE_CC
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT Z_JE_CC.
DATA: ModFunctionName TYPE rs38l_fnam.
types: begin of t_bsis,
         recno type i,
         zuonr like bsis-zuonr,
         belnr like bsis-belnr,
       end of t_bsis.
data: it_bsis type table of t_bsis, wa_bsis like line of it_bsis.

select * up to 10 rows from bsis into corresponding fields of table it_bsis where zuonr ne ''.

BREAK-POINT.
wa_bsis-recno = 100.
wa_bsis-zuonr = 'AAAAA'.
wa_bsis-belnr = '2010.07.07'.
append  wa_bsis to it_bsis.


CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
  EXPORTING
    formname           = 'Z_SMART_JE_CC'
  IMPORTING
    fm_name            = ModFunctionName
  EXCEPTIONS
    no_form            = 1
    no_function_module = 2
    OTHERS             = 3.


IF sy-subrc <> 0.
  MESSAGE ID sy-msgid
  TYPE sy-msgty
  NUMBER sy-msgno
  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
* Enviar datos al formulario e imprimirlo.
CALL FUNCTION ModFunctionName
  TABLES
    gs_mkpf          = it_bsis
  EXCEPTIONS
    formatting_error = 1
    internal_error   = 2
    send_error       = 3
    user_canceled    = 4
    OTHERS           = 5.
* Si se produce un error, reportarlo.
IF sy-subrc <> 0.
  MESSAGE ID sy-msgid
  TYPE sy-msgty
  NUMBER sy-msgno
  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
my questin is:

is possible send directly a internal table to a smartform? if yes howto? wich is the next steps? if no wich is the next steps?

thanks

Happy New Year

Cheers.

gesponsert
Stellenangebote auf ABAPforum.com schalten
kostenfrei für Ausbildungsberufe und Werksstudenten


Seite 1 von 1

Vergleichbare Themen

4
Antw.
4668
Views
Set table for first display
von pippi1710 » 27.10.2011 10:34 • Verfasst in ABAP® für Anfänger
6
Antw.
5007
Views
ALV Refresh Table Display funktioniert nicht.
von Ichse2 » 21.02.2020 13:02 • Verfasst in ABAP Objects®
1
Antw.
370
Views
Internal SAP BADIs implementieren?
von retsch » 07.06.2023 10:54 • Verfasst in ABAP® für Anfänger
2
Antw.
5298
Views
comparing internal tables
von technocrat » 08.02.2005 12:51 • Verfasst in Development Related
1
Antw.
2716
Views
500 Internal Server Error
von kaim77 » 18.12.2018 13:47 • Verfasst in Web-Dynpro, BSP + BHTML

Über diesen Beitrag

jamiguel77
Die Frage ist als "gelöst" markiert. Den entsprechend Beitrag findest du hier.

Unterstütze die Community und teile den Beitrag für mehr Leser und Austausch

Newsletter Anmeldung

Keine Beiträge verpassen! Wöchentlich versenden wir lesenwerte Beiträge aus unserer Community.
Die letzte Ausgabe findest du hier.
Details zum Versandverfahren und zu Ihren Widerrufsmöglichkeiten findest du in unserer Datenschutzerklärung.