Function module not showing my itab

hi
am working on smartforms  in se38 i declared an internal table it_regup after decalrations and select statements i went to smart forms i looped there and am displaying i called tht function moudule after calling SSF_FUNCTION_MODULE_NAME and in the i gave all the parameters and in tables it_regup = it_regup1 everything is fine .
   in the main program as i had to show multiple vendors i declared an itab for print options itab TYPE STANDARD TABLE OF pa0001
   and i declared it below the tables
                         it_regup = it_regup1
                           itab = itab
as now i had done with the smartform  i want to transport it so before tht i want to declare the itab in smartforms global definitions so i declared tht there thinking it will come when i call the smartform so tht i can pass it in SE38 but only it_regup is comming the second one itab is not comming
why? i already declared it in global definitions?
thanks in advance
cheers
uday

after activating that smartform, you need to call the smartform again in your program. It cannot get reflectedautomatically. Delete that small part of the code from the report and call the FM again after getting its value from SSF_FUNCTION_MODULE_NAME.
This wud solve ur problem.
Thanks
Nayan

Similar Messages

  • Request having function group released but function module attribute shows not released

    Hi experts,
                   I am a beginner.
                  There is a transport request in which my function group and other objects were present . This transport request and its task were released . But if i check the attributes section of the function module that is present in that function group , it shows not released .
    Is there some problem ? did the function module not get released with its group? It wasn't showing anywhere in the request even though i had added it during creation.
    Here is the image :
    Thanks,
    Unnati

    Hi,
    Those two meanings of 'released' are unrelated. Don't worry about it.
    Also, a function module sometimes does not explicitly appear in a transport request, if the function group is already in there.
    cheers
    Paul

  • Error Function module " " not found in Smartforms

    Hi all,
    Please help me out….
    I created the form using the smartforms, check it and activated it. I can see the unique function module is assigned to the form. I wrote the ABAP program and use function module ‘SSF_FUNCTION_MODULE_NAME’and also define data types.
    when I called the function module fm_name for passing values and tables from program to smartform. This is working perfectly in development server but in production it giving error like Function module " " not found.
    Below I m pasting my code.
    *& Report  ZCASHJOURNAL                                                *
    REPORT  zcashjournal                            .
    TABLES: bseg.
    DATA: FM_NAME TYPE rs38l_fnam.
    DATA:BEGIN OF it_bseg OCCURS 0.
            INCLUDE STRUCTURE bseg.
    DATA:END OF it_bseg.
    DATA:BEGIN OF it_bseg1 OCCURS 0.
            INCLUDE STRUCTURE bseg.
    DATA:END OF it_bseg1.
    DATA: gv_amt_in_words TYPE spell,
          gv_word TYPE spell-word,
          gv_decword TYPE spell-decword.
    DATA:BEGIN OF gt_bkpf OCCURS 0.
            INCLUDE STRUCTURE bkpf.
    DATA:END OF gt_bkpf.
    DATA:bktxt TYPE bktxt.
    DATA:waers TYPE waers.
    DATA:belnr TYPE belnr_d.
    DATA:werks TYPE bukrs.
    DATA:desc  TYPE butxt.
    DATA:awkey TYPE awkey.
    DATA:docno TYPE matnr.
    DATA:cajo  TYPE awkey.
    DATA:desc1 TYPE butxt.
    DATA:dmbtr TYPE dmbtr.
    SELECTION-SCREEN BEGIN OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (15) FOR FIELD s_belnr.
    SELECTION-SCREEN POSITION 28 .
      PARAMETERS : s_belnr TYPE bseg-belnr .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
      SELECTION-SCREEN COMMENT (15) FOR FIELD s_werks.
        SELECTION-SCREEN POSITION 28 .
          PARAMETERS: s_werks TYPE werks.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECT * FROM bkpf
               INTO CORRESPONDING FIELDS OF TABLE gt_bkpf
              WHERE belnr LIKE s_belnr
              AND   bukrs LIKE s_werks.
    IF NOT gt_bkpf[] IS INITIAL.
      SELECT * FROM bseg
          INTO CORRESPONDING FIELDS OF TABLE it_bseg
          FOR ALL ENTRIES IN gt_bkpf
          WHERE bukrs EQ gt_bkpf-bukrs
          AND   belnr EQ gt_bkpf-belnr
          AND   shkzg EQ 'S'.
    ENDIF.
    LOOP AT gt_bkpf.
      bktxt = gt_bkpf-bktxt.
      waers = gt_bkpf-waers.
      belnr = gt_bkpf-belnr.
      werks = gt_bkpf-bukrs.
      awkey = gt_bkpf-awkey.
      docno = awkey+0(10).
      cajo = awkey+10(4).
    ENDLOOP.
    LOOP AT it_bseg.
      dmbtr = it_bseg-dmbtr.
    ENDLOOP.
    IF s_werks EQ '65'.
      desc = 'JCBML - Heavy Equipments'.
    ENDIF.
    IF cajo EQ '0001'.
      desc1 = 'PETTY CASH PLANT II'.
    ENDIF.
    CALL FUNCTION 'SPELL_AMOUNT'
      EXPORTING
        amount    = dmbtr
        currency  = waers
        filler    = space
        language  = sy-langu
      IMPORTING
        in_words  = gv_amt_in_words
      EXCEPTIONS
        not_found = 1
        too_large = 2
        OTHERS    = 3.
    IF sy-subrc EQ 0.
      MOVE : gv_amt_in_words-word TO gv_word,
             gv_amt_in_words-decword TO gv_decword.
    ENDIF.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname                 = 'ZCASHRECPT'
    IMPORTING
       FM_NAME                  = FM_NAME
    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.
    *CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
            EXPORTING  formname           = 'ZCASHRECPT'
                    variant            = ' '
                    direct_call        = ' '
            IMPORTING  fm_name            = lf_fm_name
            EXCEPTIONS no_form            = 1
                       no_function_module = 2.
    *v_vbeln = S_VBELN-low.
    CALL FUNCTION FM_NAME
      EXPORTING
        bktxt            = bktxt
        waers            = waers
        belnr            = belnr
        werks            = werks
        desc             = desc
        docno            = docno
        cajo             = cajo
        desc1            = desc1
        dmbtr            = dmbtr
        gv_word          = gv_word
      TABLES
        T_ZDEB           = it_bseg
      EXCEPTIONS
        formatting_error = 1
        internal_error   = 2
        send_error       = 3
        user_canceled    = 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.

    Hi Rakesh,
    Check two things
    1. Program tranpsorted to production without any error in request log.
    2. Smartform tranpsorted to production without any error in request log and without renaming / misspelling it.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZCASHRECPT'
    IMPORTING
    FM_NAME = FM_NAME
    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.
    Also try to uncomment the Message id part and it will show some meaningful message.
    And to check whether actaually fucntion module is generated or not goto smartforms ->Smartform name -> Display -> Environment->Fucntion module name . if this is blank try to retransport smartform.
    Hope that helps.
    Regards
    Kapadia
    ***Assigning points is the way to say thanks in SDN.***

  • Function modules not found....

    Hello,
    I found the following errors in my SDCCN logs, I have googled and also searched in SAP market place and even in SDN but no help. Also the EWA shows the same in Missing Function Module column.Please help in this regards.
    Thanks and Regards,
    Yoganand.V
    Errors:
    1) EWA_MAIN_BUSINESS_HOURS : no matching interface found
        function module not found
        EWA_MAIN_BUSINESS_HOURS : funcname /SDF/MAIN_BUSINESS_HOURS , module 000156
    2) READ_RFC_LIST : # of imp params in funcmod < # of imp params in mod 000152
        READ_RFC_LIST : inconsistency in # of imp params found for mod 000152
        READ_RFC_LIST : non-default imp param IF_ANONYMIZE is not passed to mod 000152
        READ_STAMP : no matching interface found
        function module not found
        READ_STAMP : funcname /BDL/READ_STAMP , module 000153

    Hi,
    EWA_MAIN_BUSINESS_HOURS
    READ_RFC_LIST
    READ_STAMP
    are three new function modules which will be supplied with the next version of ST-PI. The next version of ST-PI is currently scheduled to be released in mid December. For the moment, the only thing to do is to ignore those errors until the next ST-PI becomes available.
    best regards,
    -David.

  • My functions are not showing up on my screen

    Hi I am not exactly sure how to describe this, I just installed cs6 and my functions are not showing up on my live preview. I have never seen anything like this before.
    here is my file, I have filled it in hot pink. This is how it shows up in the layer panel, bridge and in my explorer.
    here is a screen shot of what I see on my screen. If you look closely, I wrote "test" and it shows up in the layer panel but still nothing but a transparent background shows up on my live preview
    Please tell me how to fix this issue!!!

    Pictures from where?

  • Function Module not working for old Role

    Dears
    Function Module not working for old Role
    Function Module: /VIRSA/BAPI_AE_USERS_FOR_ROLES
    Before EHP4 upgrade this functional module working fine, but after updated users are not visible.
    We have chekced if the users are assigned directly users are visible but indirect (Position Based) assignment users are not apprearing.
    Pl check the fucntion module with given roles below and identify the root cause,
    EP_TRVL_ALL_CAB     - Old Role
    EP_TRN_TRVL_DRGC_V2 - New Role
    Regards
    Krishna Mohan CH
    9704500717

    Krishna,
    I do not think this BAPI is meant to be called by anyone but the application using it, and its functionality may therefore change without notice.
    What are you trying to achieve? Maybe there's a better way to do that...
    Frank.

  • IDOC error 51- Function module not allowed:

    Hi,
    I am getting following error in IDOC inbouond.I verifyed all parameters mentioned in error.
    Issue still not resolved.
    When debugged from WE19 this issue dosnt arise.
    Kindly guide.
    Function module not allowed: ZIDOC_INPUT_MATCLASS
    Message no. B1252
    Diagnosis
    The function module ZIDOC_INPUT_MATCLASS and the application object type BUS1001 which were determined are not valid for this IDoc.
    Procedure
    1. Please check that the process code in the inbound partner profile is correct.
    2. If this is the case, you should check the ALE inbound methods ALE inbound methods for the process code and see whether the specified function module and application object type are correct.
    3. If this is also the case, then the function module and the application object type are not permitted for the logical message type, message variant, message function and basis type that are contained in the IDoc control record. You should check whether the correct values have been assigned to these fields in the control record. If they do have the correct values, then the assignment to the function module and the application object type needs to be maintained.

    Hi,
    Check in WE42, for the process code, you have assigned this function module and given the correct process code in the partner profile.
    Sujay

  • Idoc error 51 - "Function module not allowed - APPL_IDOC_INPUT1'

    Hello everyone,
    We are uploading GL balances from legacy to SAP using the LSMW Bapi
    object - bus6035
    method - post
    message type - ACC_DOCUMENT
    Basic type - ACC_DOCUMENT03
    When we run the lsmw, idoc is created, however with an error 51 saying
    "Function module not allowed - APPL_IDOC_INPUT1'
    The partner no. is the logical system (the system on which the lsmw is executed)
    In the partner profile, we have defined this as LS. In the inbound parameters, we have defined message type = ACC_DOCUMENT, the process code is APL1 and the corresponding function module is - APPL_IDOC_INPUT1
    Please let me know if we are missing something or doing anything wrong ?
    Since the data in the LSMW will be read frmo a file on the presentation server, do we need to have a port configuration for the same ?
    Thanks,
    Sushil Joshi`

    Hello Sushil
    The long text of message B1(252) is quite informative for error analysis:
    NA B1252
    Short Text
         Function module not allowed: &
    Diagnosis
         The function module  and the application object type  which were
         determined are not valid for this IDoc.
    Procedure
         1.  Please check that the process code in the  inbound partner profile
             is correct.
         2.  If this is the case, you should check the ALE inbound methods ALE
             inbound methods for the process code and see whether the specified
             function module and application object type are correct.
         3.  If this is also the case, then the function module and the
             application object type are not permitted for the logical message
             type, message variant, message function and basis type that are
             contained in the IDoc control record. You should check whether the
             correct values have been assigned to these fields in the control
             record. If they do have the correct values, then the assignment to
             the function module and the application object type needs to be
             maintained.
    On ECC 6.0 this long text contains 3 transactions for analysis:
    - WE20
    - BD67
    - WE57
    Regards
      Uwe

  • Function module not allowed: IDOC_INPUT_INVOIC_MRM in 4.6C

    Hi All,
    I am working on SAP 4.6C, I am trying to post an idoc through WE19 and using message type INVOIC and basic type - INVOIC02. Also, we are using the process code - INVL which using the function IDOC_INPUT_INVOIC_MRM.
    While trying to post an MM Invoice after entering all the parameters in WE19, the IDoc in status 51.
    Also, the error message states that "Function module not allowed: IDOC_INPUT_INVOIC_MRM". Since it is a standard function module, I donu2019t know how to get to solve the problem.
    Thanks in advance.
    Regards,
    Nagarajan

    Hi Nagaraju ,
    Make Entries in WE57 . To make entries in this Take help of WE42-Inbound process code INVL .If u did not have the entries then it causes  this error .After logging ur entry Check in  table EDIFCT.
    Hope this helps .
    Rgds
    Sree . M

  • IDOC Error - Function module not allowed: IDOC_INPUT_HRMD

    Hello Gurus,
    I have an issue with the IDOC Transfer. I am using the program RSEINB00 to read the file and convert the data into IDOCs with status 64.
    But all my Idocs are getting created with status 51 and the error is getting populated as " Function module not allowed: IDOC_INPUT_HRMD ".
    Please do let me know whats needs to be done for this to be rectified.
    Thanks,
    Naveen.

    You are not using the right process code.
    In partner profile - in message type
    u will see the process code to which a function module is attached,
    for ur message type, this is not the right function module.
    Regards
    Manu

  • Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT.

    Dear Expert,
       I have a problem when I use ALE. I found error message of inbound in target system have a error status 51. Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT.
    message type is MATMAS. and i want to distribute Material master from 1 system to another system.
    Process code: AFSA
    This below is my config.
    Process code                         AFSA
    My process code Identification.
    Function module : AFS_RETAIL_ARTMAS_IDOC_INPUT
    Maximum number of repeats 0
    Object type                         IDOCARTMAS
    End event                           MASSINPUTFINISHED
    Object type                         IDOCARTMAS
    Start event                         INPUTERROROCCURRED
    End event                           INPUTFINISHED
    How to do this?
    thanks,
    Sak
    Edited by: Pongsak Ruangsongkhram on Dec 24, 2007 8:59 AM

    Pls make sure the following config in we42.
    Process code                         MATM                                                                               
    Function module                     IDOC_INPUT_MATMAS01 IDOC_INPUT_MA      
    Maximum number of repeats                                                                               
    Object type                         IDPKMATMAS                             
    End event                           MASSINPUTFINISHED                                                                               
    Object type                         IDOCMATMAS                             
    Start event                         INPUTERROROCCURRED                     
    End event                           INPUTFINISHED                                                                               
    Object type                         BUS1001                                
    Start event                                                                               
    Cheers!

  • ALE  error Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT.

    Hi Gurus,
    By ALE config I am trying to send material from one client to another  ( MATMAS )
    I have created two logical systems and assigned them to corresponding clients.
    Created a RFC destination and assigned logical systems.
    Created Distribution model in sending client.
    Created partner profile in both clients.
    Created Material and send to receiving system using BD10 tcode.
    I checked Idoc status in Sending system, Idoc status is 03-Data is passed to port OK, status 30-Idoc ready for dispatch and status 01- Idoc generated.
    But in receving system (Inbound Idoc)- I got status- 51-Application document not posted and Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT.
    I also checked partner profiles in both systmes- both r same.
    IAny help in this regard is appreciated.
    Thanks,
    Bluesh

    On receiver system...
    1 - goto WE20
    2 - locate the sender logical system (partner)
    3 - in Inbound grid select message type MATMAS (double click)
    4 - change "Process code" AFSA to MATM (probably AFSA is the actual code)
    5 - save and reprocess the IDocs using BD87
    Note: Process code AFSA is deafult but the scenarios need a spefic code that is MATM
    Best Regards,
    Josieudes Claudio
    Edited by: Josieudes de Sousa Cláudio on Jul 12, 2011 9:06 PM

  • SMQ2 SYSFAIL - Function Module not found

    Hi All,
    When i am trying to push data to cdb i got sysfail - Function module not found error in the smq2. But data inserted in the cdb, the probelm we found was the data object having the dependency cause this error.
    The data was there in the cdb, but no distribution entries found.
    Please help me to resolve the same.
    Regards,
    Ramkumar

    Hi,
    Clear the queue first (delete it), then implement the NOTE 1552255 - 'Parallel load problem for partial association shadow'. Run the report mentioned in the NOTE and  do a delta generation.
    Then on doin a delta load the queues should run successfully.
    regards,
    Anil

  • ALE-IDOC Error -Function module not allowed: ZIDOC_INPUT_MATCLASS

    Hello all,
    I am having a requirement to enhace bd10  to suit for material master.For that i have written a Z-function module to at inbound side.
    Function module has coading for extended segments and z processing code is created for the same.
    The issue is that i am getting error-Function module not allowed: ZIDOC_INPUT_MATCLASS.Please help to resolve the issue.
    Thank you.

    I have checked as per your suggestion in detail the error reported as-
    Function module not allowed: ZIDOC_INPUT_MATCLASS
    Message no. B1252
    Diagnosis
    The function module ZIDOC_INPUT_MATCLASS and the application object type which were determined are not valid for this IDoc.
    Procedure
    1. Please check that the process code in the inbound partner profile is correct.
    2. If this is the case, you should check the ALE inbound methods ALE inbound methods for the process code and see whether the specified function module and application object type are correct.
    3. If this is also the case, then the function module and the application object type are not permitted for the logical message type, message variant, message function and basis type that are contained in the IDoc control record. You should check whether the correct values have been assigned to these fields in the control record. If they do have the correct values, then the assignment to the function module and the application object type needs to be maintained.
    I am done with all the procedure.
    I am currently using-BUS1001006.I really dont know if this is the one for extended idocs and z function module for material master.Please guide me if this is the issue. And i f so please guide right buziness object.
    Thanks.
    Edited by: sanjivrd on Sep 22, 2009 1:27 PM

  • The sleep/wake function would not show in general to turn it on. I have a Targus case but the function will not work. What's going on?

    The sleep/wake function would not show in general to turn it on. I have a Targus case but the function will not work? The place it should be their is. Auto lock,  Password lock,  and Restrictions

    Keirosform wrote:
    The sleep/wake function would not show in general to turn it on.
    Ther is no "sleep/wake" setting in Settings > General.
    Auto lock,  Password lock,  and Restrictions
    Yes, these are the only three settings..
    I have a Targus case but the function will not work?
    What function? It won't go to sleep?
    Press the Power button on top. Does it sleep?

Maybe you are looking for

  • How to Update Picture column in User Information List?

    Hi, The user updated his profile picture in mysite about 10 days ago. The updated picture is shown on his mysite but the same is not in sync with User Information List. The 2 timer job which takes care of the profile synchronization are scheduled as

  • I have a 5300 but nothing saves to the memory card...

    I've just bought a 5300 with a 2gb memory card, but all the music & pics i put on it seems to save to the phone & not the card. Have only got about 5 mp3's on it & says memory is full! Does anyone know how to fix this???? Thanks!!

  • JSP - difference between extending class and importing class

    In the following scenario class A private static String con; Case 1 ========== class B extends A Case 2 =========== import A; class C A objA = new A; What will be the difference in Case 1 and Case 2 on accessing the variable con. thanx Venki

  • DTW using .txt file adds quotation marks around BP Name

    I am importing new Business Partners using .txt file because of comma's in BP names.  When I import the BP names, quotation marks are added.  How do I get rid of the quotation marks?

  • Accessing a LR Catalog across a network

    I asked this question previously but maybe I wasn't clear. Four people ata local university have Lightroom on their computers. They all have access to a main server where photos reside in folders along with a LR Catalog. The photos will eventually al