Popup with the function 'Reuse_alv_grid_display'

Hello everyone,
I have a problem when I use the function module as pop_up where you can edit your input.
The table, after the function module was called, not always contains the values that the user typed.
An example is:
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
      i_structure_name = 'ZZBSEG'
    CHANGING
      ct_fieldcat      = gt_fieldcat[].
  READ TABLE gt_fieldcat WITH KEY fieldname = 'AUFNR'.
  IF sy-subrc = 0.
    gt_fieldcat-input = 'X'.
    gt_fieldcat-edit = 'X'.
    MODIFY gt_fieldcat INDEX sy-tabix.
  ENDIF.
  SELECT * INTO TABLE tab
  FROM zzbseg
  WHERE belnr = '0100000018'.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
        I_INTERFACE_CHECK        = ' '
           i_structure_name         = 'ZZBSEG'
            i_buffer_active        = ' '
             is_layout                = l_layout
            it_fieldcat              = gt_fieldcat[]
        IT_EXCLUDING             =
        IT_SPECIAL_GROUPS        =
        IT_SORT                  =
        IT_FILTER                =
        IS_SEL_HIDE              =
        I_DEFAULT                = 'X'
            i_save                   = space
        IS_VARIANT               = ' '
        IT_EVENTS                =
        IT_EVENT_EXIT            =
        IS_PRINT                 =
        IS_REPREP_ID             =
       i_screen_start_column    = 10
       i_screen_start_line      = 1
       i_screen_end_column      = 100
         i_screen_end_line        = 10
     IMPORTING
        E_EXIT_CAUSED_BY_CALLER  =
        ES_EXIT_CAUSED_BY_USER   =
          TABLES
             t_outtab                 = tab
     EXCEPTIONS
        PROGRAM_ERROR            = 1
          OTHERS                   = 2
  BREAK-POINT.

If anyone else is interested:
SAP resolved an error in the coding,
now the IT_ALV_GRAPHICS can also be used
in REUSE_ALV_GRID_DISPLAY.
As for the line feed:
Use the constant
cl_abap_char_utilities=>cr_lf
in the CONCATENATE command.

Similar Messages

  • Popup with the text "Security Breach" in Safari

    My son told me he saw a popup with the text "Security Breach" when visiting a website. He is concerned that his phone may be compromized. He is using Safari, iOS 6.0.1 on a iPhone 4S. The was a n OK button on the popup. He pressed it and the popup disappeared. Is there serious danger here?

    This may be caused by a problem with an add-on. Try the procedure in the [[Troubleshooting extensions and themes]] article.

  • Some issue with the Function Module u0093'SKWF_FIND_BY_QUERY' in a BW ECC6.0

    Hi All,
    Need some urgent help..
    Iam facing some issue with the Function Module “'SKWF_FIND_BY_QUERY' in a BW ECC6.0 system.
    As shown below, in the function module, the Table “IT_PROPERTIES_RESULT” gets populated with some values based on inputs like IT_CLASSES, IT_QUERY, and ‘L’.
    This updation of “IT_PROPERTIES_RESULT” table is happening for some of the services sent through IT_QUERY and is not getting populated for some.
      call function 'SKWF_FIND_BY_QUERY
    exporting
      CONNECTION_SPACE         =
        OBJ_TYPE                 = 'L'
      PTYPE                    =
      X_STRICT                 =
    IMPORTING
      ERROR                    =
         tables
         CLASSES                  = IT_CLASSES
         QUERIES                  = IT_QUERY
         RESULT_OBJECTS           = IT_LOIO
      PROPERTIES_REQUEST       = PROPERTIES_RESULT        = IT_PROPERTIES_RESULT.
    The values are as follows:-
    Values getting populated in IT_CLASSES – BW_LO_TRAN               Values getting populated in IT_QUERY – 1) BW_QUERY, 2) /BIC/ZSERVICE
    I would like to know whether any Standard Customizing BW transaction is present that is maintaining “IT_PROPERTIES_RESULT” table properties  and fetching through this Function Module.
    Also, suggest how this issue can be resolved
    Thanks & Regards,
    Shailesh nagar

    Thanks Suhas. That definitely helped.
    Also the following links helped.
    http://help.sap.com/saphelp_nw70/helpdata/EN/86/1c8c3e94243446e10000000a114084/frameset.htm
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    Cheers,
    Preethi

  • Error thread java : problem with the function "resume 0x***"  (forum sun)

    One problem with the function of jdb occured when I tried to use it to
    pilot the processor with differents threads. In fact, I use a simple example with 2 threads.
    I stop the two threads with two breakpoint, and I want to resume one or the other (with the function "resume 0x****"), the one wich I resumed stop again on the breackpoint and I decide again to resume one or the other. All of that to obtain a tree of execution.
    I give you the code of the class and the code of jdb.
    CLASS: (it's just a object Room with a variable degre that I increment and decrement with two threads increase and decrease)
    public class Test{
         public static void main(String[] args){
              Room r = new Room();
              decrease de = new decrease(r);
              increase in = new increase(r);
              de.start();
              in.start();
    class Room {
         private volatile int degre=20;
         public void more(){
         degre += 4;
         public void less(){      
         degre -= 3;
    class decrease extends Thread{
    private Room room;
    public decrease(Room r){
              room =r;
    public void run(){
    try{ 
         while (!interrupted()){ 
              room.less();
    catch(InterruptedException e) {}
    class increase extends Thread{
    private Room room;
    public increase(Room r){
         room =r;
    public void run(){ 
         try{ 
              while (!interrupted()){
                   room.more();
    catch(InterruptedException e) {}
    JDB:
    Initializing jdb ...
    stop at Test:7Deferring breakpoint Test:7.
    It will be set after the class is loaded.
    runrun Test
    Set uncaught java.lang.Throwable
    Set deferred uncaught java.lang.Throwable
    >
    VM Started: Set deferred breakpoint Test:7
    Breakpoint hit: "thread=main", Test.main(), line=7 bci=30
    7 in.start();
    main[1] stop at room:16
    Set breakpoint room:16
    main[1] stop at room:20
    Set breakpoint room:20
    main[1] resume
    All threads resumed.
    >
    Breakpoint hit: "thread=Thread-0", room.less(), line=20 bci=0
    20 degre -= 3;
    Thread-0[1] threads
    Group system:
    (java.lang.ref.Reference$ReferenceHandler)0x10d Reference Handler cond. waiting
    (java.lang.ref.Finalizer$FinalizerThread)0x10c Finalizer cond. waiting
    (java.lang.Thread)0x10b Signal Dispatcher running
    Group main:
    (decrease)0x146 Thread-0 running (at breakpoint)
    (increase)0x147 Thread-1 running (at breakpoint)
    (java.lang.Thread)0x148 DestroyJavaVM running
    Thread-0[1] resume 0x147
    Thread-0[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] resume 0x147
    Thread-1[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] print degre
    degre = 24
    Thread-1[1] resume 0x146 //It's here the problem, thread 0x146 have to stop on the //next breakpoint of decrease but nothing happen
    Thread-1[1] resume 0x147
    Thread-1[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] clear
    Breakpoints set:
    breakpoint Test:7
    breakpoint room:16
    breakpoint room:20
    PS: I tried many other examples with other class and other kind of breakpoints, but, in any cases, on thread doesn't manage to resume. When I try with general resume (no specification of the thread), It works but it isn't interresting for me because I want to decide wich thread continue his execution.

    Hi,
    I have read the FAQ of the JMF.
    The problem was the jar files of the JMF were not in the JRE\BIN\EXT
    folder of the Java runtime!
    now it works!
    thanks
    Reg

  • Please help me out with the function code of print option in module pool

    please help me out with the function code of print option in module pool, along with CASE condition.
    regards,
    asif

    Hi
    you can use the Function module
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        destination            = 'LP01'                       "'Printer name
        list_name              = 'TEST'
        list_text              = 'SUBMIT ... TO SAP-SPOOL'
        immediately            = ' '
        line_size              = '2000'
        no_dialog              = 'X'             "pass space to Pop screen for Print option
      IMPORTING
        out_parameters         = wa_pri_params
        valid                  = w_valid.
    "next call below things
      NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.
         "and try to Print the values inside the new-page
      NEW-PAGE PRINT OFF.
    Prabhudas

  • Problems with the function RFC_GET_TABLE_ENTRIES

    Hi experts,
           We have a external application named P-Synch that is used when a user needs to change or unlock their password on our SAP system. The problem we are presenting is that in our PBP system the application is working fine but in our BW and XI environment when the P-Synch application call the function RFC_GET_TABLE_ENTRIES in SAP it can't take the result of the field 'expiration_date' because for some reason the output for this field is not in the same position that is in the PBP system.
    Example:
    This are the output that we receive in the environments with the function RFC_GET_TABLE_ENTRIES :
    PBP:
    000001ú320020401*99991231*AESSUSER
    BWP:
    0000200408039999*1231AESS*USER
    As you see in PBP P-Synch can take the expiration date (in bold) in the correct position '99991231'.... but for some reason in BWP the function present the expiration date in the incorrect position '1231AESS', for that reason the P-Synch application can't change or unlock the user of a person because terminate with error with the expiration date.
    Exist a way that I can fix this?
    Thanks a lot!
    Edited by: Carlos Mercado Aponte on Oct 16, 2009 3:42 PM

    Hello Carlos,
    Few days back i also faced some problem with the RFC_GET_TABLE_ENTRIES.
    May be you can try with RFC_READ_TABLE instead. Not much difference in the way you call the 2 FMs. From my experience i can tell, RFC_GET_TABLE_ENTRIES returns some garbage characters which RFC_READ_TABLE does not.
    For details refer to this [link|RFC_READ_TABLE v/s RFC_GET_TABLE_ENTRIES;.
    BR,
    Suhas

  • Problem with the function module SO_DOCUMENT_SEND_API1

    Hi Friends,
    I am facing the problem wiht the function module SO_DOCUMENT_SEND_API1,
    My actull requirement is : - i need to send the sap data to my externa mail id (Like as XYZ@) with out the any attachment , So i have implemented the code with the function module SO_DOCUMENT_SEND_API1.
    The mail has successfully sent the sap inbox (SOST) but the mail are not reached to the external mail ID'S( XYZ@GMAIL)
    i Have maintained my code lines same as below.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data = wa_doc_data
          put_in_outbox = ca_x
          commit_work   = ca_x
        TABLES
          packing_list  = tb_packing_list
          contents_txt  = tb_mailbody
          receivers     = tb_receiver.
    Can you please tell me soultion ,
    Thanks
    charan.

    Hi charan,
                      If u r able to see the mail in sost, then i think ur code has worked fine. if the mail is not going to outside domains from sost u need to do some configurations for that, u can find lots of configuration docs regarding mail setup in sap.
    once try to pass below parameter also.
    t_receivers1-rec_type = 'U'.
    For configuring mail setup u need to sit with ur basis guy.
    Moderator message: please do not use SMS speak.
    Edited by: Thomas Zloch on Nov 23, 2010 5:51 PM

  • Issue with the functions "add matching sets" and "modify matching sets"

    Hi,
    Though 'None' access permission is set for the functions 'Add Matching Sets' and 'Modify Matching Sets', they are accessible.
    Is this a bug with the tool? or am I missing something?
    Thanks in advance,
    Madan

    sorry, missed the version details.
    I'm using MDM 5.5 SP6.

  • Problems with the function DBMS_XMLSCHEMA.copyEvolve

    I´m having problems with the evolution of xml-schema.
    First the function DBMS_XMLSCHEMA.copyEvolve works correctly, but since one week I get only errors. Strangely is the fact that I use the same files (xml-schema, xslt and xml instances) and the same SQL-Code. Even if I delete all tables, directories, ... with the drop instruction and create them again, I get only error messages. It is also strangely that the function DBMS_XMLSCHEMA.copyEvolve not works if the old and new xml-schema are identical and no XSLT-Stylesheet is handed over. Can by the function DBMS_XMLSCHEMA.copyEvolve something going wrong in the database ? Do I must recreate the database, and how can I do that by the XE? But that can not be a good solution.
    Has anybody a idea what can I do?
    Here is my error report:
    Error starting at line 1 in command:
    BEGIN
    DBMS_XMLSCHEMA.copyEvolve(
    schemaURLs => xdb$string_list_t('http://localhost:8080/internal/xmlschema/testschema.xsd'),
    newSchemas => XMLSequenceType(XDBURIType('/public/testschema_evolution.xsd').getXML()),
    transforms => XMLSequenceType(XDBURIType('/public/MapTotestschema_evolution.xslt').getXML()));
    END;
    Error report:
    ORA-30944: Fehler beim Rollback für XML-Schema "http://localhost:8080/internal/xmlschema/testschema.xsd" Tabelle "MYUSER"."XMLSCHEMATABELLE" Spalte ""
    ORA-02304: Ungültiges Objektidentifizierungsliteral
    ORA-30942: Fehler bei XML Schema Evolution für Schema "http://localhost:8080/internal/xmlschema/testschema.xsd" Tabelle <n/a> Spalte ""
    ORA-31088: Objekt "MYUSER"."BIN$QNQjNoYiRfC4KlQtnfUpMw==$0" hängt von Schema ab
    ORA-06512: in "XDB.DBMS_XMLSCHEMA_INT", Zeile 113
    ORA-06512: in "XDB.DBMS_XMLSCHEMA", Zeile 210
    ORA-06512: in Zeile 2
    Thanks David

    Can you try doing the following before running copyEvolve
    SQL> purge recyclebin
      2  /
    Recyclebin purged.
    SQL> alter session set recyclebin =  off
      2  /
    Session altered.
    SQL>and see if it works as expected.

  • Transposing in Piano Roll with the Function

    I have a tune that's 2 midi tracks (green), piano and sax.
    I just want to transpose them without having to do it manually ,( selecting all the nots and nudging them up). I don't like doing that with a thousand notes.
    Don't you just hate it when all your creative juice gets frazzeled because you can't do something that is incredibly easy with Garage Band but you can't figure it out with Logic?
    I have spent at least a couple hours with the manual online and the book so as not to be scolded with RTFM.
    This is Logic 8 . I can't find the manual for it online and maybe it matters ??
    I think it can be done GB style from the Piano Roll> functions>Transform>transposition.
    But for the life of me I can't find how to do it anywhere and it's not obvious from the dialog box

    musicspirit wrote:
    tbirdparis wrote:
    You can { I assume you mean CAN} just select the midi regions in the arrange window and then adjust the transposition to whatever you want using the transpose setting in the inspector? It takes like 0.2 of a second, I just timed myself.
    I dont think this is correct - I never use the transpose setting in the inspector because it transposes the Score. I just tried your suggestion by going +2 and indeed an Eb part goes up to F... but this is the effect where Logic's Score Editor plays back the part in concert but shows a transposed part for printing ( as in transposing instruments - also the notes in the Piano Roll dont transpose)
    @Bobsax try this ( I know you hate nudging the notes but once familiar with these steps it will not interrupt your creative flow):
    1 - Open Key Commands. Type in: '*Transpose Event +1*' and '*Transpose Event -1*' and find out what the key commands are or program them ( I use simple the + and - signs on the numeric pad)
    2 - Go back to the Arrange window and select both regions
    3 - Open the Piano Roll on a separate screen set and zoom out so that you can check all the notes are highlighted - usually Screenset 6 by default. ( Dont do it in the Arrange as there is not usually enough space)
    4 - With both regions selected, press + key (or minus if you are transposing down). Count carefully as many Semi Tones or Half Steps up or down you want to go. You will hear the midi notes sound as they go up or down
    5 - If you make a mistake there is always UNDO or REVERT to SAVED
    This operation takes me less then 5 seconds
    HTH
    Music Spirit
    Thank You MusicSpirit
    This did the trick.
    Sorry I didn't have any stars left for you TBirdParis:(
    I'll get you next time
    Message was edited by: Bobsax
    Message was edited by: Bobsax

  • System_failure error with the function module HTTP_POST

    Hi Friends,
      While executing the function module "HTTP_POST" ,sometime we are getting the error "System_Failure" exception.
    Can anyone tell what could be the reason for this exception,any configurations need to be done on SAP???
    For this FM we are passing the RFC destination"SAPHTTPA" as one of the paratmeter and
    The two import paramters we are passing to this FM are
    URI : 
    http://10.74.40.31:8686/ArchiveBridge/?informaticaArchive&contRep=IA&sumFile=MYTA_SUMMARY_20090820063258.sum
    Destintion : SAPHTTPA
    Thanks all in advance.
    Regards
    Dharmaraju

    Hi,
    Check if any proxy is maitained in the client by going into transaction
    SICF-> Goto-> HTTP Client Proxy -> HTTP LOG TAB.
    If there is anything maintained under Host name and port, if yes you need to specify the IP address while calling FM HTTP_POST
    under PROXY as
    192.168.0.1:8080  where first part is IP address & 2nd part(8080) is port.
    Also test connection for SAPHTTPA under SM59 to see if its properly configured.
    Regards,
    Amit

  • Pb with the function "CWMatrix1​.GenEigenV​alueVector​"

    hello.
    First I want to thanks all the peopole who have help me for my problem.
    But today there is a new problem.
    I can use the function "CWMatrix1.GenEigenValueVector", but it donsen't work correctly (I suppose)
    my code is
    Dim varD As Variant
    Dim varDi As Variant ' i for imaginary value
    Dim varVi As Variant
    Dim varV As Variant
    call Form1.CWMatrix1.GenEigenValueVector(gsigMatrS, 1, varD, varDi, varV, varVi)
    gsigMatrS contain at first :
    |1 2|
    |2 3| this is a symetrique matrix that I use to teste the function.
    the eigenvalue for this matrix are 4.828 and -0.828
    The function give 4.236 and -0.236
    Why is the result not correct?
    thank you
    Alucard

    Hi Alucard,
    How are you calculating your EigenValues ?
    I haven't drilled down in to how exactly we do it, but i tried this in labVIEW , CVI and MeasurementStudio and they all return the same values 4.236 and -0.236
    Nandan Dharwadker
    Staff Software Engineer
    Measurement Studio Hardware Team

  • With the function "getEnhancedMicrophone",play will go wrong?

    I want to write a program can pull the rtmp stream from FMS or push to FMS,something like video conference system.
    At first,the program play normally.
    But when I use the function "getEnhancedMicrophone" to get a microphone,it will go wrong.
    The voice pauses from time to time.
    Actually,I only get the microphone and havn't used it.
    Here is part of my codes:
                   import mx.controls.Alert;
                                  private var nc:NetConnection;
                                  private var ns:NetStream;
                                  private var video_Pull:Video=new Video();
                                  private var pullStreamName:String="c01";
                                  private var mic:Microphone=new Microphone();
                                  private function init():void
                                            nc = new NetConnection();
                                            nc.objectEncoding = ObjectEncoding.AMF0;
                                            nc.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
                                            nc.client=this;
                                            nc.connect("rtmp://localhost/live");
                                            //add this line will go wrong
                                            //mic=Microphone.getEnhancedMicrophone();
                                  public function onBWDone():void{};
                                  private function netStatusHandler(evt:NetStatusEvent):void
                                            if(evt.info.code=="NetConnection.Connect.Success")
                                                      pullRTMP(nc,ns,video_Pull,vd_Main,pullStreamName);
                                            else
                                                      Alert.show(evt.info.code);
                                  private function pullRTMP(netConnect:NetConnection,netStream:NetStream,video:Video,videoDisplay:VideoDispl ay,streamName:String):void
                                            netStream = new NetStream(netConnect,"connectToFMS");
                                            video.attachNetStream(netStream);
                                            video.smoothing=true;
                                            video.width=videoDisplay.width;
                                            video.height=videoDisplay.height;
                                            videoDisplay.addChild(video);
                                            netStream.play(streamName);
                                            var clientobj:Object=new Object();
                                            clientobj.onMetaData=function():void{}
                                            netStream.client=clientobj;
    I use Flash Builder 4.5 and Air 3.1.
    This problem had puzzled me few days,someone for help?
    Thanks for replies!

    I think I can also add,using "getEnhancedMicrophone" is for cancelling the echo...
    But I found it didn't work...
    Maybe someone could tell me how to cancel the echo in Desktop Development...

  • Error with the function module REUSE_ALV_GRID_DISPLAY

    Hi,
    While using the fucntion module REUSE_ALV_GRID_DISPLAY
    I am getting the below error.
    Message i407(0k) with l_template_om.
    message says 'Contact your system administrator. The following template is missing: sap_mm.123
    Kindly provide me the reason why this success message is displayed for this function module.
    Vijay

    at first its an information message sind its of type I and not of type S which would be success.
    this message is beeing displayed because that template is really missing, believe it when SAP talks to you.
    So talk to your basis guys.
    to come around this problem without talking to your basis guys, i´d propose to use CL_SALV_TABLE or CL_GUI_ALV_GRID to display an ALV.

  • Problem to move user in LDAP with the function DBMS_LDAP.rename_s

    Hello,
    I want to move a user in Active Directory, but this function i can only change his "cn". And when I use an invalid DN I have no error.
    My syntax is:
    retval := DBMS_LDAP.rename_s ( emp_session, my_dn,'cn=nom prenom', 'OU=test,DC=XXX,DC=org', 1, NULL, NULL );
    The value of my_dn is :'CN=nom prenom,OU=COMMUNICATIONS,OU=DIRECTION GENERALE,OU=test,DC=XXX,DC=org'
    And 'OU=test,DC=XXX,DC=org' is the new DN, but the user don't move...
    What is the problem????
    How can I move a user in LDAP with DBMS_LDAP?????
    Thanks you very much,
    Matthieu.

    If I use only the -N option without -R option
    ex:ldapmoddn -p 389 -h 190.57.160.24 -D "CN=administrateur,CN=USERS,DC=xxx,DC=org" -w xxx -b "CN=a,OU=test,dc=xxx,dc=org" -N "dc=xxx,dc=org"
    I have this error:
    "ldap_rename_s: Protocol error
    ldap_rename_s: additional info: 00000057: LdapErr: DSID-0C09080A, comment: Error in attribute conversion operation, data 0, v893"
    Can you help me please?????
    Matthieu

Maybe you are looking for

  • Sol Man 4.0 Installation Error ECJS-30196  Connect to SAP gateway failed

    Hi Experts I am trying to install Solution Manager 4.0. While installing SolMan, everything goes fine, until step # 31 create java users (creating SAP Jsf user), then it runs into below error messages. CJS-30196  Connect to SAP gateway failedConnect_

  • Itunes 10 itunes problem when trying to sign in the account.

    for no reason, i tried to reinstall and also tried the ipconfig /flushdns method and nothing works for me. All itunes respond to me is the following message: "We could not complete your iTunes Store Request. The network connection timed out. Make sur

  • Mail 3 and gmail issues, notes/todo's in Mail

    Hello, I use Mail 3 with my google mail account using IMAP. I'd like to use the new notes/todo function provided by Mail. When I create a new note, it will be reset to the default values after a minute or two. And it doesn't appear in my iCal calende

  • Undelete music files from external drive?

    Quick version: External drive got reformatted, but music files maybe still there. Know a good, and reasonably priced, software with best chance for recovery? Cannot affort to send drive to pros to recover. Thx! Longer version: I have an external/USB

  • [SOLVED] Perl has screwed up rather nicely.

    After today's update: [crew@myhost ~]$ kildclient (I attempt to connect to a server) Perl lib version (5.10.1) doesn't match executable version (v5.10.0) at /usr/lib/perl5/core_perl/Config.pm line 50. Compilation failed in require at /usr/lib/perl5/c