Function module for to generate spool

Hi,
here I am using the FM PRINT_SELECTIONS for collecting my data into spool through internal table as shown below.
CALL FUNCTION 'PRINT_SELECTIONS'
   EXPORTING
     mode      = 'TABLE'
     rname     = sy-cprog
     rvariante = sy-slset
   TABLES
     infotab   = wt_info.
The structure of wt_info is a refered structure of info in standard FM as shown below.
DATA: BEGIN OF wt_info OCCURS 0,
     flag,
     olength TYPE x,
     line  LIKE raldb-infoline,
END OF wt_info.
here lie is taking only 79 chars in the spool output as it is mentioned through this structure. But our out put carring 120 chars length.
here we can't change the line length for this FM.
can please suggest any other FM for the to get output more than 120 chars length and behaves like above FM.
please do needfull urgently as requirement is urgent and effecting business.
Regards
Hareesh Tadepalli.

HI,
If the standard FM is suitable to your requirement and if you have also issue with the length. Copy the Standard FM to Z and change the length to 120 char.
Thanks,
Sriram Ponna.

Similar Messages

  • Function Modul for generate hashcode

    Hi all
    i search a function modul for generate a hashcode. Does it existing a function modul for that?
    Regards

    Hi
    Try FKK_BR_BUILD_HASH_CODE.
    Pushpraj

  • Call Function not Generating Function Module for Smartform

    Hi Gurus,
    We have a work copy print program use to print deliveries (smartforms). This program works fine in Production but right now we are doing some testing and I found out that when we run this program in QUALITY environtment, it shortdumps with error saying "Function Module Not Found"
    Basically when it gets to the Function Module "SSF_FUNCTION_MODULE_NAME", it could not generate any function module for the form it Sy-Subrc = 2 Exception meaning NO_FUNCTION_MODULE.
    The problem is this only happens in our QUALITY environment.I compare the function module in the 2 systems, there was not diff as this is a Standard SAP module. I passed diff smartforms we have in QUALITY through the FM and it will not generating any FM for any of them. So this is not an error from the smartforms, bcos all the same smartforms generates FM in Prod.
    So what I did next is to Debug the FM "SSF_FUNCTION_MODULE_NAME" in the 2 systems to see where the diff is coming from. I noticed 2 views that the FM is using, they are STXFADM and D010SINF . So on the Production system, STXFADM-LASTDATE and D010SINF-UDAT fields are the same value, so it generates the FM. On the QUALITY systems, the values are different hence it skips the code to generate the FM.
    Thanks Guys.
    Points will greatly be awarded for this.

    Please guys, help me look into this, I really need a solution fast.
    Thanks

  • Function module for generating password

    Hi All,
    Is there any function module which randomly generates case sensitive passwords.
    Thanks

    Hi,
    Please refer:
    FM for Random password in a specific pattern
    Best regards,
    Prashant

  • Function Module for some sBDOC does not work on

    Hi Experts,
    We have transported on QA landscape sBDOC definition. For sBDOC CNBCCPCUS602,  CNBCCPCUS603,  CNBCCPCUS604 function module seems to be not the right one, so no message of this BDOC are creted when a site extract is done. Error on smohqueue says: "Could not determine function module for processing AC messages".
    Have You encountered a problem like this?
    BR
    Roberto

    Hi All,
    We resolved the problem re-generating CDB pricing condition table using report CND_MAST_GEN_TRANSFER_OBJECTS.
    BR
    Roberto

  • No function module has been generated  , when transported to quality ?

    Hi People,
    I created a zsmartform and transported to quality,  but when i checked the function module of smartform in quality its saying ' No function module has been generated yet '  but the smartform is in active status . when i tried to activate it again the program jus running and not getting activated ?
    Thanks,
    Siva

    Ok.
    I am not sure, If this would work . But, would like you to try the below solution can get back:
    1. IN the Development Server, take the FM name...from SMARTFORMS tcode for a particular smartform...by entering the smartfom..then Environment-->Function Module Name.
    2.Now, give the name in SE37 tcode and then in the Menu> Function Module> Release--> Release..
    Now, after releasing it..check If the smartform is able to get activated in Quality Server.
    Revert Back with the result.
    VIshwa.

  • What is outbound function module for IDoc type INFRECMASS01

    Hi,
    What is outbound function module for IDoc type INFRECMASS01? This is for purchasing info record.
    Thanks
    Kamal

    Hi Kamal,
    Have you looked standard program <b>RBDSEINF</b> or transaction code <b>ME18</b>?
    This program will call function module <b>MASTERIDOC_CREATE_REQ_INFREC</b> to generate purchasing info record IDoc.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Outbound function module for IDOC WMMBID02

    Hi,
    Do we have any outbound function module for basic IDOC type WMMBID02 (Stock movements from ext. systems) which has message type WMMBXY.
    I searched with hot keys OUTBOUND_WMMBXY in SE37 but unable to find a standard FM. My task is to extend that FM by a user-exit so as to populate my extended IDOC which is of basic type WMMBID02.
    Any help would be greatly appreciated.
    Regards,
    Harsh

    Hi Kamal,
    Have you looked standard program <b>RBDSEINF</b> or transaction code <b>ME18</b>?
    This program will call function module <b>MASTERIDOC_CREATE_REQ_INFREC</b> to generate purchasing info record IDoc.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Function module for salary

    Dear abapers,
    I need a function module that will generate salary  with different wage types , for a particular employee number and date.
    relevant answers are appreciated.
    by Mohan Ram

    Hi,
    If you want to Calculate Hourly Salary from Infotype 0008 the use the function module RP_ALLPERIODS_FROM_ANSAL. You have to pass the annual salary.
    If you want to read salary field from IT0008 use HRGPBS_TPS_ANSAL_FROM_PERNR. You have to pass employee number & as of date.
    To read data from IT 0008 use, RP_FILL_WAGE_TYPE_TABLE_EXT or HR_READ_INFOTYPE.
    Or use the BAPI 'BAPI_BASICPAY_GETDETAIL '.
    May it helps you.
    Regards.
    DS.

  • Direct Delivery Sales Order - Function Module for Purchase Requisition

    Hello Experts,
    When we creat a Direct Delivery Sales Order at Production Plant  then one Direct Delivery Purchase Requisition automatically gets generated at the Distribution Warehouse. If anyone knows the function module which actually generates this Direct Delivery PReq, then request him/her to please let us know.
    Thanks and Regards
    Joseph

    Hi,
       Whatever Function Module's given are for or  above 4.6C versions.
       I want for 4.6B version.
      At the same time, the returned tables should return more than 1 Pur.Req number as the FM's mentioned returns only 1.
    Thanks,
    Mich

  • Function Module for Equipment Details

    HI,
    Please tell me the functional module for Equipment details.
    i want to get the details for generator details
    Engine
    Alternator
    SIS
    Serial NO
    through passing the Equipment Number.
    Regards
    Surya

    thank you,
    This functon module will be giveing all the details but more then this i need for a particular equipment number i want to get the calss overview, details in class over view i need
    Charecteristic Discription
    value.
    Regards
    Surya

  • Functional module for automatic creation of pur requisition & pur order

    hello,
    what is the functional module for automatic creation of puchase requisition and automatic creation of purchase order which we will assign in action box in service order processing management.
    please let me know as early as possible
    regards,
    rajesh kumar raju

    Hi,
             Please check with following.
    IDOC_INPUT_ACC_PURCHASE_REQUI
    IDOC_INPUT_ACC_PURCHASE_ORDER
    /ISDFPS/OR_PURCHASE_ORDER_CR
    BS01_PURCHASE_DOCUMENT_CREATE
    CO_MP_CREATE_PURCHASE_ORDER
    Thanks & Regards
    Sadhu Kishore

  • Function module for calculating planned and actual cost of production order

    Hi ,
    Do we have any standard function module for calculating planned and actual cost for production order?
    i need to implement this in a Z-report.
    Thanks
    Srini

    Hi,
    try below function module
    CRMCO_GET_PLAN_ACTUAL_COSTS
    CO_IH_GET_PLANNED_COSTS_TOTAL
    Regards,
    Sankaran

  • How to create the INBOUND Function Module for INBOUND IDOCs

    Hi Friends,
    Can any Suggest me How to proceed to Create an INBOUND Function Module for Processing the INBOUND IDOCS
    which are recieved from XI Server ?
    I am working in SAP-ISU
    Here i will recieve the INBOUND IDOCs for the Meter Reading Orders.
    We have a Standard INBOUND FUNCTION MODULE
    IDOC_INPUT_ISU_MR_UPLOAD
    which Uploads the Meter Reading Results.
    I copied the Same function Module into ZIDOC_INPUT_
    and working on it.
    Can any one suggest me, whether i am going in correct way or not.
    In IDOC_INPUT_ISU_MR_UPLOAD Inbound fun module,
    BAPI_MTRREADDOC_UPLOAD is used to Update or Insert the Meter Reading Results,
    My requirment is to Insert and Update the Meter Reading Orders which are Inbounded from XI.
    Can I Use the Same BAPI
    BAPI_MTRREADDOC_UPLOAD
    to Update the below fields,
    EABL-SERNR
    EABL-ZWNUMMER
    EABLG-ABLESGR
    EABL-V_ZWSTAND
    EABL-N_ZWSTAND
    EABL-ABLHINW
    EABL-ZSKIPC
    EABL-ADAT
    EABL-ATIMTATS
    EABL-ADATTATS
    EABL-ATIM
    EABL-ZMESSAGE
    EABL-ABLESER(Meter reader number)
    Kindly Suggest me,
    Thanks in Advance,
    Ganesh

    Hello Ganesh
    I think you are going completely astray with you z-function module for IDoc processing.
    If you look at TABLES parameter METERREADINGRESULTS (type BAPIEABLU ) of BAPI_MTRREADDOC_UPLOAD you will find many of the requested fields already:
    EABL-SERNR => BAPIEABLU-SERIALNO
    EABL-ZWNUMMER =>REGISTER
    EABLG-ABLESGR
    EABL-V_ZWSTAND
    EABL-N_ZWSTAND
    EABL-ABLHINW
    EABL-ZSKIPC
    EABL-ADAT
    EABL-ATIMTATS => ACTUALMRTIME
    EABL-ADATTATS => ACTUALMRDATE
    EABL-ATIM
    EABL-ZMESSAGE
    EABL-ABLESER(Meter reader number)
    Field EABL-ZMESSAGE appears to be custom field (at least I cannot find it on ECC 6.0). If this field was added using include CI_EABL then you probably can get these values into the BAPI using the EXTENSIONIN parameter.
    Check routine CHECK_UPLOADRECORDS in the BAPI which allows two extension structures:
    - BAPI_TE_EABL
    - BAPI_TE_EOSB
    Not surprisingly BAPI_TE_EABL contains the include CI_EABL.
    Regards
      Uwe

  • How to config Check Digits function module for Student Number Validation

    Hi SLCM Experts,
    In the SAP-SLCM, How to use check digits function module for validate student number.  Just only config it or need to customizing program.
    *Any idea to student number validation in SLCM?*
    Best Regards,
    Suvatchai K.

    Hi ,
    Can you expalin it further ?
    You configure the St. no in piq_matr . And set it  as external or internal no. range which suits your business .
    What is the validation you are looking for ?
    Regards
    Gajalakshmi

Maybe you are looking for

  • Searching Ipad for photos by file name

    Why can't I find photos in my Ipad search? (I have an Ipad 2.) When I search for something, it will find everything BUT photos. As it is, it takes forever to find whatever specific photo I want to look at, because I have to scroll and scroll and scro

  • Cannot run zpool (zfs feature) command in Solaris 10 6/06

    Hi, I couldnt run ZPOOL command in Solaris 10 6/06. It said command not found. May I know what should I do? My Solaris 10 version provide Solaris zoning features, but no ZFS feature provided. How?

  • Can't start iDVD...

    I've seen similar questions in the forum here for this problem, but nothing works so far... I can't get iDVD to work correctly. I start it up, select & name a new project (Standard 4x3), and it brings up the 2 pane window and then hangs. In the past,

  • Allow user to resize window vertically only

    Hi, I have a JFrame that I want the user to be able to resize vertically, but not horizontally ~ how do I implement that functionality? Also, is there away to remove the maximize button from the Title Bar but maintain the minimize button? Thanking yo

  • After Effects CC crashing after upgrading to Mavricks

    Message alert reads: After Effects Alert: Last log message was: <4487951120> <GPUManager> <2> Sniffer Result Code: 3 Generating crash log, which may take a few minutes