Function modul CRM_MKTBP_MAINTAIN_OW input

Hello,
i need to use FM CRM_MKTBP_MAINTAIN_OW.
what exactly is the PROFILE_TEMPLATE_ID which is required in the input structure of this FM?
Which database-table field is this?
Thank you
Best regards
Manfred

Hi,
I am using this FM CRM_MKTBP_MAINTAIN_OW. In importing structure CRMT_MKTBP_WRK  you nee to pass the attribute set name to the field PROFILE_TEMPLATE_ID.
- BR
Sudhakar Puppala

Similar Messages

  • Function module to input dates

    Hi All,
    Require function module where i can input From Date and To Dates as input parameters.
    This should appear as a dialog box.

    Hi,
    I think, we can create a Module Pool program with a Screen of Input of From / To dates inside a Function Group.
    And call the above screen from a function module.
    Rgds,
    Ramani N.

  • BSP - Function Module - UWS_BW_GET_LONGTEXTS_FOR_SRVY - Inputs

    Dear Experts,
    I need to fetch the Long Texts for the Survey application.
    Which is submitted by the user.
    I am using the below function module to fetch the Long Text.
    'UWS_BW_GET_LONGTEXTS_FOR_SRVY'
    For this FM. We need to pass the input to the structure 'IT_GUID' which is of Type 'UWS_T_BW_SURVEY'.
    So IT_GUID contains the following fields:
    1) BW_APPLICATION
    2) WS_SURVEY
    3) APPLICATION
    4) ID
    5) GUID
    6) VERSION
    I have got the below inputs:
    3) Application -
    Name of the Application
    5) GUID -
    Survey GUID from the table 'TUWS_SURVEY_LOG'
    But not getting the inputs for the rest of the fields.
    Kindly help me What are all the Inputs needs to be provided in the remaining fields.
    And correct me if my input is wrong in (3) and (5)
    Regards,
    Ragunathan.R

    Dear Ravi,
    If i pass the value of Survey GUID field of the table TUWS_SURVEY_LOG  to the F.M.
    i am getting the values as below
    1) Application -- WBSURVEY
    2) Survey   -
    3) Qstnnr   --- <Questionarie Name>
    4) Name --- TE18 / TE34
    5) Reporting_Label --- ..........
    I am not getting any long text.
    My Scenario is: Once the User submits the questionarie with answers.
    The answers may contain Radio Button / Comment (Free Text) fields.
    I need to fetch those Free Texts in R/3.
    How can i achieve the same.
    As per my work around in the table 'TUWS_SURVEY' has the field CLUSTR & CLUSTD to store the Long Texts.
    which is of LRAW Data Type. To fetch the text in this field i am using the above F.M.
    But not getting any values.
    Kindly suggest.
    Regards,
    Ragunathan.R

  • Generic function module for input two Infocubes and output one infocube-APO

    Hi All,
    My requirement is we have to pick data from two infocubes(Billing and Backlog) and send to One info cube.
    can you please send me an;y generic function module is available in APO or explain me how to solve my requirement.
    waiting for your response.
    Thanks for Advance.
    Shubhojit.

    Hi,
    I recommend using a multi-cube also but if you insist in JOINing two cubes then you can do that in an ABAP SELECT statement. You need to join the fact table and the dimension tables for all dimensions (for all InfoCubes). Please only retrieve data whose OBJVERS="A".
    Please post again if you need more help.
    Regards,
    Emmanuel

  • Standard function modules

    how to work with standard function modules

    To work with standard function modules,
    First Check the function module in se37  and also read the function module documentation if available
    execute the function module.
    u will get a screen.
    You need to give some inputs in the output of the function module. say object-id as a input 4400000456.
    Also check the import and export parameters which gets updated once u execute the function modules after feeding inputs to the function module.
    actually in the example, 4400000456.
    once u give the input. the corresponding internal tables related to that object-id get automatically thru the fM.
    then u can retrieve the related information from the internal tables of function modules.
    say Get the number of days for a particular month
    in this function module my input is month  and year.
    this will return no of days for that particular month.
       CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
         EXPORTING
           par_month = p_bumon
           par_year  = p_bdatj
         IMPORTING
           par_days  = lv_days.
    Similary u can work with other function module , which is necessary for your requirement
    Thanks

  • How to log input parameters for Function Modules?

    Hi,
    I need to create a Logging system to trace input parameters for function modules.
    The log functionality could be done by developing a class method or a function module (For example 'write_log'), and calling it within each function module that I want to log. The 'write_log' code should be independent from the interface of the Function Module that I want to log.
    For example, I'd like to write a function/class method that can log both these functions modules:
    Function DummyA
       Input parameters: A1 type char10, A2 type char10.
    Function DummyB
       Input parameters: B1 type char20, B2 type char20, B3 type char20, B4 type Z_MYSTRUCTURE
    Now the questions...
    - Is there a "standard SAP" function that provide this functionality?
    - If not, is there a system variable in which I can access runtime all parameters name, type and value for a particular function module?
    - If not, how can I loop at Input parameters in a way that is independent from the function module interface?
    Thank you in advance for helping!

    check this sample code. here i am capturing only parameters (import) values. you can extend this to capture tables, changin, etc.
    FUNCTION y_test_fm.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(PARAM1) TYPE  CHAR10
    *"     REFERENCE(PARAM2) TYPE  CHAR10
    *"     REFERENCE(PARAM3) TYPE  CHAR10
      DATA: ep TYPE STANDARD TABLE OF rsexp ,
            ip TYPE STANDARD TABLE OF rsimp ,
            tp TYPE STANDARD TABLE OF rstbl ,
            el TYPE STANDARD TABLE OF rsexc ,
            vals TYPE tihttpnvp ,
            wa_vals TYPE ihttpnvp ,
            wa_ip TYPE rsimp .
      FIELD-SYMBOLS: <temp> TYPE ANY .
      CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE'
        EXPORTING
          funcname                 = 'Y_TEST_FM'
    *   INACTIVE_VERSION         = ' '
    *   WITH_ENHANCEMENTS        = 'X'
    *   IGNORE_SWITCHES          = ' '
    * IMPORTING
    *   GLOBAL_FLAG              =
    *   REMOTE_CALL              =
    *   UPDATE_TASK              =
    *   EXCEPTION_CLASSES        =
        TABLES
          exception_list           = el
          export_parameter         = ep
          import_parameter         = ip
    *   CHANGING_PARAMETER       =
          tables_parameter         = tp
    *   P_DOCU                   =
    *   ENHA_EXP_PARAMETER       =
    *   ENHA_IMP_PARAMETER       =
    *   ENHA_CHA_PARAMETER       =
    *   ENHA_TBL_PARAMETER       =
    *   ENHA_DOCU                =
       EXCEPTIONS
         error_message            = 1
         function_not_found       = 2
         invalid_name             = 3
         OTHERS                   = 4
      IF sy-subrc = 0.
        LOOP AT ip INTO wa_ip .
          MOVE: wa_ip-parameter TO wa_vals-name .
          ASSIGN (wa_vals-name) TO <temp> .
          IF <temp> IS ASSIGNED .
            wa_vals-value = <temp> .
          ENDIF .
          APPEND wa_vals TO vals .
        ENDLOOP .
      ENDIF.
    ENDFUNCTION.

  • What are  the input parameters for Function Module

    Dear Experts,
    I want to generate a Sales Tax returns report,those fields are not available in my existing Datasources.
    For that i want to write a Generic Datasource with Function Module.
    audat
    bukrs
    vkorg
    vtweg
    spart
    aurat
    auart
    netwr
    mwsbp
    kschl zedp(consition type)
    kschl zvat(condition type)
    ksch   zcst(condition type)
    matkl     material group
    Here what are the Input parameters for Function Module.
    Thanks in Advance.
    Srinivasan.

    Srinivasan-
    For creating a Generic extractor based on a FM, you first of all need to know what is going to be your structure.. i.e. what all fields you need to pull from what all tables. A functional consultant may help you identify the exact DB tables.
    Once you know them, hand over the requirement and the pdf mentioned by Krishna to the ABAP guy, he would be able to take this up further.
    Also decide 1st whether you would be using a full load or delta. There is a slight difference in the way they are built.
    Let me know how it goes.
    -Bhushan.

  • Function module to validate input value

    Hi all,
    can you please provide me the name of the function module to validate input value.
    I have a case where i have to validate decimal values. sometimes users may enter wrong decimal values by mistake instead of  "0.23" "0..23' and it gives CONVT_NO_NUMBER runtime error so have to come up with some solutions to validate user input.
    Please provide me Function module if anybody knows.
    Thanks,

    Try this one
    data: lv_htype TYPE dd01v-datatype.
        CALL FUNCTION 'NUMERIC_CHECK'
          EXPORTING
            string_in = my_number
          IMPORTING
            htype     = lv_htype.
        IF lv_htype NE 'NUMC'.
           Raise an error here...
        ENDIF.

  • LSMW or ABAP Program:- I need BAPI function module or Direct input program

    hi experts,
    I have to develop the program which uploads the transportation pricing data for freight cost management.
    the transcation code is XK15 for the application A.
    There is a program called RV14BTCI which will uploads for the application V or M not for A.
    So i can use lsmw or direct input program in both lsmw and abap program so plz help me if there is any BAPI function module or Direct input program for Application A.
    thank you,
    waiting for u r reply.
    Edited by: SANTOSH MARUPALLY on Jan 22, 2008 6:27 AM

    Hi Santosh
    Am not really sure if RV14BTCI can not be used for other applications apart from V and M.
    You can try using BAPI: BAPI_PRICES_CONDITIONS. Over the forum you can find few example coding.
    Regards
    Eswar

  • How to capture the User input value to user exist function module.

    Hi,
    How can i capture user input value.Here i am using User exist in BPS variable.
    Calculating days using user exist functin module and my input is another variable i.e user defined value.
    How can i capture user defined vaule into my function module.
    This is very urgent can you help me..
    Thanks....

    Hi!
    You can get the instance using the method get_instance of the class cl_sem_variable, and call the method get_value with the return. Check the example:
          CALL METHOD cl_sem_variable=>get_instance
            EXPORTING
              i_area       = (planning area)
              i_variable   = (variable name)
            RECEIVING
              rr_variable  = lr_var
            EXCEPTIONS
              not_existing = 1
              OTHERS       = 2.
          CHECK sy-subrc IS INITIAL.
          CALL METHOD lr_var->get_value
            RECEIVING
              rto_value = et_value
            EXCEPTIONS
              error     = 1.
    After this, read the first line of the table et_value (it should be the value that the user choose on the screen).
    seeya!
    Robson

  • Function module to list out a report's input/output parameters

    Hi experts,
    I'd like to know if there is a function module which can list out all the input and output parameters (variables, tables, etc.) by giving the report name as input.
    If not, please suggest a way to find out the input/output parameters.
    Regards,
    Ancy

    Well, they're not input/output parameters, and really you shouldn't refer to them as such.  A variable is simple what it says - a variable.  You could, I suppose, refer to data sources.  But then, the report could be getting data from a set of function modules.
    So my assumption is correct, you are talking about a where-used list.
    >Check out tables like CROSS. To find other useful tables, put an SQL trace on, do the where used, and see what tables are hit.
    matt

  • Function module in crystal reports using tables as input

    We had a function module created with a few import parameters. We successfully linked it in crystal and were able to retrieve the data.
    To accommodate the requirement of being able to pick multiple values for some of the parameters, the import parameters were changed to tables. When testing in ECC, we are able to retrieve the data using the function module.
    However, when we're using the same approach as before in crystal reports, we are not able to retrieve the data.
    Is it possible in crystal to pass the input parameters to tables ?
    Any ideas what I might be doing wrong?
    Thanks,
    Mat

    Hi John,
    The solution is very simple. 
    You create a function module in ECC (t-code SE37) that will receive you input parameters, process them, and export a table with your results.
    In the function module you define an input parameter using a CHAR120 data type (ex. PERNR).
    In the function module source code you add logic to split the input parameter
    [SPLIT i_PERNR AT ',' INTO TABLE itab_PERNRS.]
    You then create a crystal report against your function module.
    In your crystal report you create a parameter using type "string" (ex. I_PERNR).
    When you execute the crystal report, you input a comma delimited string in the parameter.
    [00001234,00005678,00009123]
    The function module will receive the string of values, split the string to an internal table, and process accordingly.
    I still have no solution for the 120 character restriction in the CR->ECC interface.  In the meantime, I get around this by creating multiple parameters (PERNR1, PERNR2, PERNR3, etc.). 
    Each parameter is set up to pass a string of 120 characters to ECC.
    The function module is set up to concatenate the parameters before splitting.
    [CONCATENATE PERNR1 PERNR2 PERNR3 into I_PERNR]
    Hope this helps.

  • Use Batch-Input function module in WebDynpro?

    Hi,
    is it possible to use a batch-input function module in WebDynpro? This function module is RFC enabled, and would be executed only in background mode. The purpose is to create some business document in ERP, since we only have a dialogue transaction which is not encapsulated in BAPI, function module ...
    Thanks a lot!
    Sheng

    Hi Thomas,
    thank you very much! I'll try it.
    Best regards
    Sheng

  • Search help(f4)  for function module input

    can we create a serch help for  function module input giving process

    Hello basichodary,
    You can encapsulate the function module within a program.  Include the search help in a parameter statement in the calling program and pass the parameter to the function module.  For example, suppose you want to have field i_carrid to have a search help.  Use the following code. 
    report  call_function_module.
    parameters p_carrid type s_carr_id matchcode object demo_f4_de.
    call function 'FUNCTION_MODULE'
       exporting
          i_carrid    = p_carrid
    Kind Regards,
    Rae Ellen Woytowiez

  • Messages, function modules and Batch Input

    Hi,
    I need to modify some values on the BP transaction with a batch input and I encapsulated it on a function module, because I need to call this FM from a Web Dynpro ABAP.
    The problem is that some success messages are raising from the batch input, even if I set a message table to store them on the call of the batch input.
    DATA: bdcdata    TYPE STANDARD TABLE OF bdcdata,
              wa_bdcdata TYPE bdcdata,
              messtab    TYPE STANDARD TABLE OF bdcmsgcoll.
      DATA: v_message   TYPE string,
                wa_messtab  TYPE  bdcmsgcoll,
                v_mode      TYPE c VALUE 'N'.
    " some code here....
      CALL TRANSACTION 'BP' USING bdcdata MESSAGES INTO messtab
                                                   MODE v_mode
                                                   UPDATE 'S'.
    How can I prevent these messages? Thanks in advance.
    Regards,
    Jordi

    Yes,
    there are some BAPIs to work with BP, but I could not find any that meets my requirements. I need to do two actions:
    1 - complete the "Internet user" tab
    2 - set the "central lock" flag on the status tab
    If you have a BAPI or FM to make these two actions, please let me know. I spent two days looking for them and finally I've decided to use the batch inputs (I hate them).
    Regards,
    Jordi

Maybe you are looking for