Query reg. function module ERP_IDOC_INPUT_CREDITOR

Hi Experts,
Please tell how to pass the parameter of function module ERP_IDOC_INPUT_CREDITOR.
parameter like input_method,mass processing,pi_xk99_used .
Thanks,
sameer

you can specify any number fields in file and any number fields in internal table,
see the program and when you specify the count variable in your internal table ,if the data is not available,then it will take some defualt values,other than this one it will be okay.
In my system count variable data is  538976288  if the file does not have value.
report x.
DATA: BEGIN OF ITAB_MATNR OCCURS 0,
MATNR LIKE MARA-MATNR,
COUNT TYPE i,
END OF ITAB_MATNR.
data : v_repid like sy-repid.
parameters p_file like rlgrap-filename.
initialization.
v_repid = sy-repid.
at selection-screen on value-request for p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
   PROGRAM_NAME        = v_repid
  DYNPRO_NUMBER       = SYST-DYNNR
  FIELD_NAME          = ' '
IMPORTING
   FILE_NAME           = p_file
start-of-selection.
refresh itab_matnr.
clear itab_matnr.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = P_FILE
filetype = 'ASC'
TABLES
DATA_TAB = ITAB_MATNR
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TABLE_WIDTH = 4
INVALID_TYPE = 5
NO_BATCH = 6
UNKNOWN_ERROR = 7
GUI_REFUSE_FILETRANSFER = 8
OTHERS = 9.
IF SY-SUBRC <> 0.
MESSAGE E699(PP) WITH 'Unable to load input file' P_FILE.
ENDIF.
in my file
data is like ( No count)
matnr
12344
ssss
sddd
sddff
after ws_upload :
material          count
12344             | 538976288                                             |
ssss               | 538976288                                             |
sddd               | 538976288                                             |
sddff               | 538976288

Similar Messages

  • Query regarding function module SPOOL_RQ_READ_BAPI_EXPORTS (EBP-SRM Module)

    query regarding function module SPOOL_RQ_READ_BAPI_EXPORTS (EBP-SRM Module)
    shopping cart
    Hi in FM SPOOL_RQ_READ_BAPI_EXPORTS
    i want to relate the internal tables requisition_items and requisition_services.
    but in am not getting the key on which they should be joined
    here i have to take the quantity and other fields from requisition_services
    right now i am using the joining condition as
    requisition_items-pckg_no = requisition_services-pckg_no.
    any help in this regard is welcome.
    Thanks and regards,
    Vithalprasad

    Hi Kathirvel,
    Thank you for reply. I am making changes for standard code only.
    " Call FM SPOOL_DPO_READ_BAPI_EXPORTS to read PO data exported to backend.
    Use this data to call FM B46B_DPO_TRANSFER and copy errors tab from
    ' lt_bapi_return ' to ' et_messages' retrun tab in 'doc_check' badi. "
    Thank you.
    Regards, Sunu

  • Query on Function Module for conversion of text - language specific

    Hi,
    In my interface program i have query regarding CDHDR table.
    Problem: Object Class(CDHDR-OBJECTCLAS). The technical name of the object name shall
    be translated to meaningful business text
    For EXample.  I am getting the value for the field OBJECTCLAS is EINKBELEG shall be converted as 'Purchasing Document'
    Kindly suggest me if there any standard SAP function module is available to convert the German text into English

    Hi,
    to pass the internal table to a tables parameter
    both must be of same type
    if both are of same type
    u can use INT1[] = INT2[] to pass internal table value to internal table of FM
    if structures are not same then
    u will have to loop thru int1 and move values selectively to int2 and everytime append int2
    this should sove ur prob
    tc
    saji

  • 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

  • Execute BEX Query via Function Module

    Hi Mates,
    I want to execute BEX query via a Function Module.
    Also i want to explore whether the input parameters of the query can be retrieved from a Database Table.
    Please let me know how this can be achieved.
    Thanks in advance.
    Regards,
    Hrishikesh

    Hi Hrishikesh,
    Assuming you have the necessary ABAP knowledge, you will have to code the exit in the include ZXRSRU01 under I_STEP = 1 (this is because you want to prepopulate your parameters from the values in your DB table).
    Your DB table has Key1, Key2 and Your field as the three fields and you want to read the value of 'Your Field' based on your keys Key1 and Key2.
    So, the code will be something like -
    when 'Your variable'.
    if i_step = 1.
    select single 'Your field' from 'Your DB table' into lv_your_field where Key 1 = 'X' and
                                                                                                                   key 2 = 'Y'.
    clear l_s_range.
    l_s_range - low = lv_your_field.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    append l_s_range to e_t_range.
    endif.

  • 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

  • Query about  Function Module  'RSPO_RETURN_SPOOLJOB'

    Hi all,
         I am currently working on a report that takes the SPOOL NO. for the back ground runned job and passes to the Function module 'RSPO_RETURN_SPOOLJOB' that gives the data in BUFFER after reading this data I am converting it to the excel format and sending it as an attached mail to the specified recepient.
         But the FM mentioned is getting data in weird manner. I am converting it to excel format as we do for the normal internal table data being converted to excel format. But the problem is ragarding the data...
         Is there a way to covert this data into excel format? Or is there any other function Module that converts the data into excel format for the job. If it is there then let me know...
    regards,
    Brijesh Patel

    I have not used this myself, but check if this works for you.
    RSPO_DOWNLOAD_SPOOLJOB
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • 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

  • Query in Function Module !!!!

    Hi all,
             Can anyone please tell me as to why we use the Function Module 'CONVERT_OTF'.
    I use the function Module 'CONVERT_OTF' as follows:
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    IMPORTING
    BIN_FILESIZE = V_LEN_IN
    TABLES
    OTF = I_OTF
    LINES = I_TLINE
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    OTHERS = 4.
    But I get the contents of the table I_OTF in some Language like Japanese.
    Can anyuone please tell me how to resolve the above issue please.
    Kindly reply immediately as this is bit urgent.
    Regards,
    Vijay

    Hi,
    Plz try the following.
    CALL FUNCTION "CONVERT_OTF"
      EXPORTING 
       FORMAT    = "PDF"
      IMPORTING 
       BIN_FILESIZE   = FILE_LEN
      TABLES     
        OTF   = OTFDATA
        LINES  = PDFDATA
       EXCEPTIONS 
        ERR_MAX_LINEWIDTH  = 1                  
        ERR_FORMAT   = 2
        ERR_CONV_NOT_POSSIBLE = 3
        OTHERS  = 4.
    The IMPORTING parameter BIN_FILESIZE should be Number of bytes in LINES.
    TABLES parameter OTFDATA must be of type ITCOO.
                                 PDFDATA must be of type TLINE.
    EXPORTING parameter FORMAT is the Target Format.
    Reward if Helpful.

  • 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.

  • Query regarding Functional Modules

    Hi All Experts,
    I want to know that, of all the functional modules(e.g. SD, MM, FI, etc., etc.) in SAP which one is the easiest ? Can you all please provide me a complete link to that so that i am able to learn it quickly and have enough knowledge(i.e. satisfactory knowledge) to it ?
    Also, i want to know where can i get a good knowledge of SAP-FI module ? I want to know how much time will i take to have a satisfactory knowledge of SAP-FI ? ?

    HI ,
    Check these link on SD module which helps you lot to start of Your SD
    http://help.sap.com/saphelp_47x200/helpdata/en/06/57683801b5c412e10000009b38f842/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/8c/df293581dc1f79e10000009b38f889/frameset.htm
    http://sap-img.com/sap-sd.htm
    http://planetsap.com/logictics_SD_main_page.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SDSLS/SDSLS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_SD.pdf
    http://help.sap.com/saphelp_erp2005/helpdata/en/dd/55f33e545a11d1a7020000e829fd11/frameset.htm
    http://www.sap-basis-abap.com/sapsd.htm
    http://www.sapgenie.com/abap/tables_sd.htm
    http://searchsap.techtarget.com/featuredTopic/0,290042,sid21_gci961718,00.html
    http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/SD_tutorial.html
    For MM module
    http://www.easymarketplace.de/online-pdfs.php
    Best Practices Guide:
    http://help.sap.com/bp_bblibrary/500/html/J05_MM_EN_IN.htm
    http://help.sap.com/bp_bblibrary/500/html/J24_SDExtend_EN_IN.htm
    Configuration Tips:
    http://www.sap-basis-abap.com/sapmmpur.htm
    http://www.sap-img.com/materials/sap-mm-configuration-tips.htm
    http://www.erpgenie.com/sapfunc/mm.htm
    Regards
    Sridhar Goli

  • 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. .

Maybe you are looking for

  • Flat file via JMS - how to (most easy)?

    Hi experts My scenaio is R/3 -> XI (technology not decided) -> legacy system (via flat file structure and JMS) I would like to find the best way to do this. The receiving system only takes a flat file with 150 char length in each line. Until now i ha

  • Problem with CustomMenuItemUI

    Dear All, I am using my own MenuItemUI to render the disabled foreground for html text present in the Menu Item. So, in my CustomMenuUI, i am overriding the paint() method to obtain the disabled foreground when the Menu Item is disabled. But every th

  • White box in background on menu

    I have a white box behind my photos in almost every theme. It wasn't there initially and now I can't get rid of it. You can't click on it and it's not in the drop zones. Any ideas? Thanks!

  • Can any one tell me how to get rid of error code ox80010108

    can any one tell me how to get rid of error code ox80010108 when i put a dvd in my hp touchsmart 520 thanks

  • How to start / stop nodes without domain-controller / automatically on Win?

    Hi, we have a distributed installation of CMSDK 9.0.4. We have installed a 9.2.0.4 Database on Solaris and we are using the 10g(9.0.4) Infrastructure on Solaris with it. The first installation of CMSDK uses a J2EE-MidTier installation on the Solaris