Question reg. function module

I am trying to send email via ABAP using funciton module SO_NEW_DOCUMENT_SEND_API1.
Now the problem is it looks like it is not possible to send an email with a subject line more than 50 characters in length because the field OBJ_DESCR in the structure DOCUMENT_DATA seems to be only 50 characters!
What can I do to be able to send an email with a subject more than 50 characters in lenght?
Please help with this.
Thank you very much,
Krishen

Refer this thread:
Re: Urgent, how to send a mail from SAP with subject line more than 50 chars
Regards,
Ravi

Similar Messages

  • Reg:Function module SAPWL_GET_SUMMARY_STATISTIC not working in CRM ABAP 6.0

    Hi All,
      When i execute the function module SAPWL_GET_SUMMARY_STATISTIC in CRM ABAP 6.0 passing the values below,
    PERIODTYPE                    
    HOSTID                         
    STARTDATE  
    it's not showing any values in the summary.
    it's showing the exporting parameters as,
    RFC_ERROR_TYPE                  L
    SUMMARY_AVAILABLE               N
    HITLISTS_N_PROFILES_AVAILABLE   A
    if this function module will not work means kindly provide me the solution for calculating
    Average Response Time as in tcode st03 - Instance - total - Workload Overview.
    Average CPU Time and some more fileds.
    Regards,
    Suresh

    Hi
    I used the FM mentioned and found the details as below:
    VKORG
    TABNAME                        TVKO
    FIELDNAME                      VKORG
    LANGU                          EN
    POSITION                       0001
    OFFSET                         000006
    DOMNAME                     VKORG
    ROLLNAME                    VKORG
    CHECKTABLE
    VTEXT
    TABNAME                        TVKOT
    FIELDNAME                      VTEXT
    LANGU                          EN
    POSITION                       0002
    OFFSET                         000014
    DOMNAME                        TEXT20
    ROLLNAME                       VTXTK
    CHECKTABLE
    LENG                           000020
    Shiva

  • QUESTION REGARDING FUNCTION MODULE

    what is the use  ' IT_EVENTS' in the function module 'REUSE_ALV_GRID_DISPLAY'

    Hi,
    Go to SE37 and Give your Fm Name -> Display.
    Go to Function Module Documentation.
    It will help you.
    Thanks.

  • Reg: Function Module thats used to check the status of JOBS and mail it

    Hi Experts,
    Is there any Standard Function module thats going to find the status of the jobs and mail this status to specied email ID in .xls format. While checking status function module should give whether job is - Aborted, Successful, Running, Waiting, Locked, Error, Warning, Starting Date, Ending Date of the Job.
    Please help me,

    Hello Nagaraj,
    You can find out the status of a job with the SHOW_JOBSTATE function module. You provide this function module with a job name and job number. It returns one of the six possible statuses of the job:
    ABORTED TYPE C,
    FINISHED TYPE C,
    PRELIMINARY TYPE C,
    READY TYPE C,
    RUNNING TYPE C,
    SCHEDULED TYPE C.
    Following is the link for the same:
    http://help.sap.com/saphelp_sm32/helpdata/en/fa/096e10543b11d1898e0000e8322d00/content.htm
    Warm Regards,
    Riki Dash

  • Reg function module POSTING_INTERFACE_CLEARING

    Dear experts,
    I have a requirement in tcode FB05(Posting with clearing: Initial screen).  In that i need to select the radio button 'Transfer Posting with Clearing'.  I dont know exactly what happens here. I have to use function module POSTING_INTERFACE_CLEARING to post and clear the document. Can anybody tell me what this function module will do and by guiding me in this regard. Kindly help me in giving sample code as to how to handle this.
    thks in advance,
    ram

    Hello Ram
    Have a look at thread [POSTING_INTERFACE_CLEARING|POSTING_INTERFACE_CLEARING; and the links provided there.
    You may also want to have a look at transaction FCC1 (Payment Cards: Settlement). The report RFCCSSTT is used to settle open items payed with credit cards:
        ... FB05
          PERFORM posting_interface_start.
          PERFORM fb05_posting.
          PERFORM posting_interface_end.
        ... and Settlement
    Regards
      Uwe

  • Reg: Function Module

    Hi All,
         I am creating a function module to update data into a customized table. In that funciton module, i want to handle exception. But i dont know how to proceed with that.
       Can you please any one help me out in this regard.
    POINTS PROMISED.
    Regards,
    Buvana

    Hi,
    After calling function module write.
    if sy-subrc <> 0
    RAISE EXCEPTION.
    endif.
    Reward if helpful.
    Regards,
    Umasankar.

  • Reg Function Module to Date Calculation

    Hi,
    Could anybody assist me, My requirement is to determine delay of delivery date is equal to (goods receipt posting date u2013 planned delivery date).Is there any function module to find out the dated diffrence. The difference should be '+' or '-' OR 'ZERO'
    Thanks in advance.
    Regards.
    I.Reddy Prasad.

    Hi,
    Use this Function Module  'FIMA_DAYS_BETWEEN_TWO_DATES'. 
    Reward If Helpfull,
    Naresh.

  • Reg function module to get  periods.

    Hi,
        can any one help me in giving the function module to get the number of months  available in between the start date and end date
    Regards.
    venkat

    Hi,
    Use the below function modules.
    HR_ECM_GET_NUMBER_OF_MONTHS
    HR_GBSXP_GET_MONTHS
    For the function module HR_GBSXP_GET_MONTHS Pass 'M'
    for MODIFY_INTERVAL.

  • Reg:function module to retrive the ekko table data

    Hi all,
    Is there any function module to retrive the ekko table data for the given select-options and parametrs.
    could you provide that.
    Thanks & regards,
    S.chaitanya.

    dear chaitanya,
    may be you can use this function module ME_READ_EKKO_MULTIPLE which can be used to pass the select options to retrieve the desired EKKO data.
    OR the best way would be to do a SELECT Query which would retrieve the data faster and in an effective manner.
    Hope this helps you.
    Help Children of U.N World Food Program by rewarding and enocourage others to answer your queries
    Thanks
    Venugopal

  • Question about Function Module ME_PO_PRICE_SIMULATION

    Hi experts,
    I am trying to solve an issue concerning the importing parameter I_ROLL_BACK of the function module ME_PO_PRICE_SIMULATION.
    Inside the coding of the user-exit ZXM06U44 (executed after saving a purchase order) there is a call to the function module ME_PO_PRICE_SIMULATION with this importing parameter set to true. In that case, purchase order is not created. Otherwise if I modify this value into false the order is created appropriately.
    Could someone more functional explain me what is the meaning of this parameter. I try to read the documentation but is in German, so I don't understand anything.
    Lots of thanks,
    Javier

    This is what happens inside the FM using I_ROLL_BACK:
    To understand what a rollback statement does, have a look at this:
    https://help.sap.com/abapdocu_70/en/ABAPROLLBACK.htm

  • Question about function Module

    Hi Expert,
             First tell me What is function Module & its working?
    And second is how to call dynamically function module?
    Moderator message : Search for available information, read forum rules before posting.  Thread locked.
    Edited by: Vinod Kumar on Nov 9, 2011 4:57 PM

    This is what happens inside the FM using I_ROLL_BACK:
    To understand what a rollback statement does, have a look at this:
    https://help.sap.com/abapdocu_70/en/ABAPROLLBACK.htm

  • A question about function module

    hi everyone,
    if i want to know the meaning of a function module and how it work,
    for example,function'HRHAP_DOCUMENT_GET_DETAIL'
    i must use it,but i don't know its meaning,
    what should i do ?
    thanks

    but,in program,import and export are reverse.
    for example:
    CALL FUNCTION 'HRHAP_DOCUMENT_GET_DETAIL'
        EXPORTING
          plan_version                  = plan_version
          s_appraisal_id                = ls_appraisal_id
        IMPORTING
        S_DOC_PROCESSING              =
        S_HEADER_TEXTS                =
        T_HEADER_APPRAISER            =
          t_header_appraisee            = lt_header_appraisee
        T_HEADER_PART_APPRAISER       =
        T_HEADER_OTHERS               =
        S_HEADER_STATUS               =
          s_header_dates                = ls_header_dates
        T_HEADER_ADD_DATA             =
        S_HEADER_DISPLAY              =
        T_BUTTONS                     =
          t_body_columns                = lt_body_columns
          t_body_elements               = lt_body_elements
        T_BODY_ELEMENT_BUTTONS        =
        T_BODY_ELEMENT_DESCR          =
          t_body_cells                  = lt_body_cells
        T_BODY_CELL_VAL_VALUES        =
        T_BODY_CELL_VAL_RANGES        =
        T_BODY_CELL_VAL_C_LIKE        =
        T_BODY_CELL_VAL_DESCR         =
          t_body_cell_notes             = lt_body_cell_notes
          s_return                      = s_return
      CHANGING
        MODE                          =
    why?

  • Reg function modules in scripts

    Hi,
      <b>wat happens if we dont use open_form , start_form , close_form...
    which is mandatory function module and which optional functional module ???
    wat happends if we dont use close_form?</b>pls tel me its really urgent
    pls
    Thanx in Advance..

    Hi,
    wat happens if we dont use open_form , start_form , close_form...
    For open the form open form should be there other wise we can't run the script.
    which is mandatory function module and which optional functional module ???
    Start-form is optional and opne_form and lose_form is manditory FMs. same as write_form also.
    wat happends if we dont use close_form?
    If you don't use close_form then while running the script you will get error.
    Hope this helps you, reply for queries, Shall post you the updates.
    Regards. 
    Kumar. .

  • Reg Function Module / BAPI

    Xperts,
    I have to create a wrapper RFC fn module ...
    The input parameter is matnr,sales area , sold to,ship to..
    and the return parameters are
    MSRP (rate based on price list)
    material Availability
    Status from MARA-MSTAV
    Valid To / From MARA-MSTDE
    (i got rest of the fields i got already from BAPI_MATERIAL_GETALL)
    Thanks & Regards,
    Anoop Chandran

    Use data Element : GLX_XFELD ( General Checkbox ) for checkbox..
    For check box... if box is checked then value is 'X' else
    space.
    but in function module it doesn;t matter whether u use data element for checkbox...  u can use char type variable of length 1.
    and inside code u can check..
    v_char1 = 'X'. : it means checkbox is checked.
    v_char1 = space " it means checkbox not checked.
    Reward if useful
    regards
    Prax

  • Question with function module / Bapi

    I am trying to test function module/ Bapi:
    BAPI_BILLINGDOC_CREATEMULTIPLE in se37. I gave all the basic parameers required.
    BILLING_DATA_IN-SALESORG
       BILLING_DATA_IN-DISTR_CHAN
       BILLING_DATA_IN-DIVISION
       BILLING_DATA_IN-DOC_TYPE
       BILLING_DATA_IN-ORDBILLTYP
       BILLING_DATA_IN-SOLD_TO
       BILLING_DATA_IN-ITEM_CATEG
       BILLING_DATA_IN-REQ_QTY
      BILLING_DATA_IN-SALES_UNIT
      BILLING_DATA_IN-CURRENCY
    But when I execute, it says 'Company code not defined' in the error messages. I don't see any company code field in the above structure. What am I doing wrong?
    Please give your input.
    Thanks,
    Krishen

    Might be the company code is not defined for the sales organization..
    Thanks,
    Naren

Maybe you are looking for