BUPA_MAIN stays in Intermediate state Function Module missing

We noticed that on our Productive system, since yesterday most
of the BUPA_MAIN BDOCs status are in yellow "After qRFC step (intermediate
state)" since last two days on PRM. Before it was working fine.
We got o SMW01 & re-process it, then we get a short dump which says:
" Function module "/1CRMGC/CGBUPA_MAIN_RRR" not found."
We compared in th eTxn: SBDM the BUPA_MAIN on Production & Test systems.
We found that the Module "/1CRMGC/CGBUPA_MAIN_RRR" is not there in Production but it
is there on other systems where its working.
Please let us know how we can generate this,
Is it the normal process to Generate on the dsired system in our case production directly? or do we do it in Development & then Transport it.
We have this bug in Production and fix this asap.
Thanks
Regards
Rahul
Edited by: Rahul Kumar Lal on Sep 2, 2010 1:50 PM

Hi Rahul,
Goto Trxn. GNRWB -
Generator Group : REPLI
Industry : Consumer Goods
Select BUPA_MAIN on L.H.S. and all Generators on the R.H.S.
Click on Generate/Check icons.
or you can goto trxn . SMOGGEN and select BUPA_MAIN.
Tnx,
Rohit

Similar Messages

  • In WE19 getting error Message as Function module missing

    Hi Friends,
    I need to debug the Inbound function module
    so in WE19 i am providing the IDOC number and clicking on the Inbound function module then i am getting pop-up
    i am able to select my function module name
    and checking the Fore ground processing Radio button
    for debugging
    I am getting a Warring Message as
    Interface or Function module <NAME> is Incorrect
    Kindly suggest me
    where the mistake might be
    and how to correct IT
    Thanks in Advance
    Ganesh

    Hi Ganesh,
    I believe you are using a non IDOC function module, that's the reason you are getting that error.
    Use the appropriate IDOC function module and then select the Debug check box and it will stop.
    If you can provide me the IDOC message then I can help you by giving the correct Function Module.
    Thanks,
    Mahesh.

  • Standrad Function Module Missing

    Hi,
    When i try to post Goods receipt in MIGO It is throwing a dump saying " Function Module ANLBZW_CREATE_TRANSFER Not found ".
    Can any body help me regarding this

    hi,
    I guess you are working on a  4.7 or ECC 5 systems.
    The funciton module you have mentioned you can find it in ECC 6 system but with
    NOT RELEASED status.
    This means that this function module hasn't yet been given  released status by SAP.
    If you have ECC6 system, GOTO SE11--> RODIR --> check for this function module.
    You get a  message that no entries exist. This means that it is not yet a released object hence not preferred to use.
    For your requirement try out with MIGO_DIALOG.
    Thanks
    Sharath

  • Function Module does not exist error during query run time.

    Hi,
    During the execution of one of our queries we get the error "Function module RSD_(InfoObject Tech Name)_TXT_GET does not exist.
    Now, this InfoObject is used in the query as a filter to restrict on certain values.
    I searched in SE37 and no such function exists.
    Let me know  if you have any suggestions/resolutions to this issue.
    Thanks,
    AR.

    even if the question is quite old already, maybe some other people need the answer to this, too:
    In our case this error which Sudhir Anandarao describes meant, that there was no data found for given input. This is quite strange, but definitly was the source as I dont get the error if something is found by the query. The Query, InfoObject were correct, just the data asked for was wrong (like get me all ID's greater than 5, if there are only ID's smaller or equal 5 it would state "Function module RSD_(InfoObject Tech Name)_TXT_GET does not exist.")

  • IF statement in Standard function module PRICING

    Hi,
    In standard function module PRICING
    I found one if statement like this.
    if  xkomv-kntyp na '1$' .
    Plz tell me the meaning of thai '1$' value.
    Regards,
    Upender Verma.

    Hi,
         NA means Contains Not Any ..
         if xkomv-kntyp na '1$'  means .. xkomv-kntyp does not contain '1' or '$'.
         Read help on comparision operator 'NA'
    Regards,
    Srini.

  • Select Statement or Function Module

    Hi all,
    I have lakhs of records in my database.When I am using the SAP standard function module C1F2_SUBSTANCES_READ for retreiving data it is taking time.I know all the data base tables .Shall I use to retreive data using select statements instead of the mentioned SAP standard function module.Could any one please explain which is best method to retrieve huge data and also explain reason?
    Thanks and Regards,
    Kanth

    Hi Shiva,
    If your Sure about exactly what data you want to fetch from the database, I would follow the below process.
    1) I would search if there is any standard function module or Bapi to do this... The reason why i do this is becuase as SAP has created those standard function modules or Bapi, the first advantage would be the program has good performance ( Moreever it also depends on how do you handle that in your program ).
    Moreover it handles varies business functionalities and authorizatiions etc..
    2)  If i dont find any standard function module or Bapi then if the data what you are selecting from database if it is used multiple times then i would create a zbapi or Zfunctionmodule and inlude my code in it... ( Here this custom function module can be used in many program : ie : modulerization ).
    Regards
    Satish Boguda

  • Function module to get GL account statement

    Is there any function module to get GL account statement ....
    ..Thanks
    .Ashish

    hi
    please search in SDN
    Check tihs link ,May be it will useful
    [Re: Function module to get GL statement]
    Thanks

  • Missing Function Modules - EWA_MAIN_BUSINESS_HOURS & READ_STAMP

    Hi Gurus,
    When i am generating EWA for system in Solution Manager, i am getting the error
    under Service Preparation
    - Missing Function Modules
    1. EWA_MAIN_BUSINESS_HOURS
    2. READ_STAMP
    *In the satellite system,tcode-sdccn*
    Below are the 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
    Can Anybody help me to resolve this issue.
    Regards,
    Ashok

    The modules EWA_MAIN_BUSINESS_HOURS, READ_STAMP and READ_RFC_LIST are supplied with the next version of ST-PI, which is currently scheduled to be released for customers on December 15. I can only ask you to ignore the error until after the next version of ST-PI has been installed on the system.
    Please be informed that the errors are not critical and will disappear
    by installing the latest ST-PI which will be release around december the
    15th 2008.
    Edited by: Felipe Pitta on Dec 2, 2008 12:22 PM

  • Financial Statement Version - Value Help Function Module

    Hi,
    I want a function module or a bapi which retrieves all the Financial Statement Versions defined in the system, just like bapi_companycode_getlist which list down all the company code.
    Thanks,
    James.

    Hi Drogo ( sorry u didn't make it to more sessions )
    that Ledger above which Dinesh Kumar Rengarajan menitone is only relevant when New GL is activated. I think you didn't have New GL active or?
    Please use simply in F.01 "Special evaluatioins" and field Alternative period selection ( for referenc use simply F1 ... it will show this example
    Examples
    Company code 0001 with fiscal year end 12
    Company code 0002 with fiscal year end 09Calendar reporting period............. 01/01/1990 - 12/31/1990
    The periods 1990/01 to 1990/16 are used as reporting periods for company code 0001 and the periods 1990/04 to 1990/16 and 1991/01 to 1991/03 are used as reporting periods for company code 0002. The same is valid for the comparison period.
    I think this is what you want or?
    Regards
    Jan

  • Obsolate statement for function module TABLE_COMPRESS

    Hi all,
    What is the alternate function module for TABLE_COMPRESS?
    This is going fine in 4.7 version.
    But in ECC 6.0, if we use this function module we r getting SLIN error (Obsolate statements) .
    How can we rectify this SLIN error?
    So we have to use another funtion module for the same purpose.
    Can any one help on this?
    Rewards to all.
    Thanks & Regards
    Anu.

    Hello,
    This Function Module belongs to the Function Group SYST. I really doubt if this is going to be made obsolete without providing an alternative. In such a case there would almost certainly have been an OSS Note. However, I could not find any OSS note for this.
    Moreover, the Function Module doesn't have "obsolete" flag set if you see from SE37. Therefore it must be really safe to use this function module in your program.
    Still, I will try to get a confirmation for this.
    Regards,
    Anand Mandalika.

  • Function module to get GL statement

    Hi...
    Is there any function module or BAPI to get GL statement .....
    Thanks and Regards
    ..Ahsish
    Moderator message - Please do not ask the forum to do your work for you - post locked
    Edited by: Rob Burbank on Jun 1, 2009 10:29 AM

    The next part is:
    LOOP AT ITAB.
    WRITE :/5 C AS CHECKBOX,
             ITAB-SAKNR UNDER 'G/L ACCOUNT CODE',
             ITAB-TXT50 UNDER 'DESCRIPTION'.
    HIDE : ITAB-SAKNR, ITAB-BELNR, ITAB-TXT50, ITAB-BUZEI, ITAB-DMBTR.
    DBCNT = DBCNT + 1.
    ENDLOOP.
    TOP-OF-PAGE DURING LINE-SELECTION.
    CASE SY-LSIND.         "TO PRINT TOP OF PAGE ON PROPER SECONDARY LIST
    WHEN '1'.             "FIRST SECONDARY LIST
    WRITE :/ 'COMPANY NAME : xxxLtd.' COLOR 1.
    WRITE :/15(35) SY-ULINE.
    SKIP.
    WRITE :/20 'PROGRAM NAME :  GL ACCOUNT DOCUMENTS FOR ' COLOR 6 INVERSE ON.
    WRITE :/20 'USER NAME    :  ' COLOR 6 INVERSE ON ,
            SY-UNAME COLOR 6 INVERSE ON.
    WRITE :/45 'PAGE : ', SY-PAGNO.
    WRITE :/45 'DATE : ', SY-DATUM.
    ULINE.
    WRITE :/5 'GL A/C NO.' COLOR 5,
            17 'A/C DESCRIPTION' COLOR 5,
            65 'DOC. NO.' COLOR 5,
            78 'ITEM' COLOR 5,
            85 'DOC. AMOUNT Rs.' COLOR 5.
    ULINE.
    SKIP.
    WHEN '2'.              "SECOND SECONDARY LIST
    WRITE :/ 'THIS IS SECOND SECONDARY LIST' COLOR 6.
    SKIP.
    WRITE :/10 'GL ACCOUNT NO.' COLOR 5.
    SKIP.
    ENDCASE.
    AT LINE-SELECTION.
    CASE SY-LSIND.
    WHEN '1'.           "FIRST SECONDARY LIST
    CNT = 0.
    DO DBCNT TIMES.
    B = SY-INDEX + 5.
        READ LINE B FIELD VALUE C.
        IF C = 'X'.
        CNT = CNT + 1.
           IF CNT > 2.
           MESSAGE E000(ERROR) WITH 'U HAVE SELECTED MORE THAN TWO RECORDS'.
           ENDIF.
           WRITE :/ ITAB-SAKNR UNDER 'GL A/C NO.' ,
                    ITAB-TXT50 UNDER 'A/C DESCRIPTION',
                    ITAB-BELNR UNDER 'DOC. NO.',
                    ITAB-BUZEI UNDER 'ITEM',
                    ITAB-DMBTR UNDER 'DOC. AMOUNT Rs.'.
           HIDE : ITAB-SAKNR.     "HIDE THE VALUE FOR SECOND SECONDARY LIST
        ENDIF.
    ENDDO.
    IF CNT IS INITIAL.
    MESSAGE E000(ERROR) WITH 'PLEASE SELECT RECORD'.
    CLEAR C.
    CLEAR CNT.
    ENDIF.
    WHEN '2'.          "SECOND SECONDARY LIST
    WRITE :/ ITAB-SAKNR UNDER 'GL ACCOUNT NO.'.
    ENDCASE.
    This is 2 parts...chk if this helps u in any way.
    Regards,
    Nikhil.
    Edited by: Nikhil Kanegaonkar on Jun 1, 2009 1:37 PM

  • ME_JSP_SMOMO_CHECK_AUTHORITY function module is missing

    Hi
    I am setting up a MI system with Web AS 6.40 sp 13 as middelware. As backend system I have an IDES client 4.6C sp 50, and PI 2004_1_46C: patch 0008.
    My problem is that I can't log in on the Mobile Web Console, I get the error: Access denied. No authorization.
    When I check in my backend I find a short dump that tells me that ME_JSP_SMOMO_CHECK_AUTHORITY function module is missing.
    I belive this is the problem? How can I solve this?
    Any good ideas?
    Best Regards,
    Morten

    Morten,
    Make sure your user account has the authorization to use the WebConsole. Check P17-18 of the MI 2.5 SP13 Installation Guide. It has a list of authorization objects for the users to user certain functions.
    Use S_TCODE authorization object for WebConsole usage.
    Hope that helps.
    Peter

  • Function module "/IXOS/DCEP_RMAPI_READ"  is missing

    Hi,
    We are trying to setup doculink for SAP to integrate with doculink for opentext ECM. During the configuration we are getting error for missing function module "/IXOS/DCEP_RMAPI_READ" for function group "/IXOS/DCEP_RMAPI".
    Tried to search the function module "/IXOS/DCEP_RMAPI_READ" in sap, but no data exists.
    Please help us to rectify the issue.
    Regards
    Nikhilesh Ray
    +91-9819069840

    Dear Ray,
    regarding the name of the mentioned function module I would recommend you to get in touch with your IXOS archive vendor company. I think they should be aware of how to  create this function modules in your system.
    Best regards,
    Christoph

  • Dropdown values are missing while using the function module KCD_EXCEL_OLE_TO_INT_CONVERT

    Hi all,
    when i am trying to upload the excel template by using the function module " KCD_EXCEL_OLE_TO_INT_CONVERT" to an internal table some field values are missing.
    i am using the function module " KCD_EXCEL_OLE_TO_INT_CONVERT"  and i am uploading an excel template and downloading that excel data into an internal table but some field values are missing while uploading the excel template and i found that the field which contains the drop down list values those values are missing.
    And also when i am uploading the excel template by using the function module" KCD_EXCEL_OLE_TO_INT_CONVERT"  when i am coming out of this function module one pop up is coming. how can i avoid this popup, can any one please provide me the solution thanks in advance.
    FYI...it is showing the below popup screen ..
    Thanks,
    Koushik

    hi Feiyun,
    below is the code(highlighted in bold)and after coming out of the function module i am getting popup and also the drop down values are missing.
    DATA: ls_control         TYPE zsfi_fiupload_control,
             ls_header          TYPE zsfi_fiupload_header_v13,
             ls_item            TYPE zsfi_fiupload_item_v13,
             ls_trailer         TYPE zsfi_fiupload_control,
             l_line_count       LIKE zsfi_fiupload_control-rec_count,
             l_current_curr     TYPE kcde_cells-value,
             l_current_postdate TYPE kcde_cells-value,
             l_current_compcode TYPE kcde_cells-value,
             l_currentrow       TYPE kcde_cells-row,
             l_filename         LIKE rlgrap-filename.
       DATA: BEGIN OF lt_intern OCCURS 0.
               INCLUDE STRUCTURE  kcde_cells.
       DATA: END OF lt_intern.
       DATA: BEGIN OF lt_items OCCURS 0,
               a TYPE kcde_cells-value,
               b TYPE kcde_cells-value,
               c TYPE kcde_cells-value,
               d TYPE kcde_cells-value,
               e TYPE kcde_cells-value,
               f TYPE kcde_cells-value,
               g TYPE kcde_cells-value,
               h TYPE kcde_cells-value,
               i TYPE kcde_cells-value,
               j TYPE kcde_cells-value,
               k TYPE kcde_cells-value,
               l TYPE kcde_cells-value,
               m TYPE kcde_cells-value,
               n TYPE kcde_cells-value,
               o TYPE kcde_cells-value,
               p TYPE kcde_cells-value,
               q TYPE kcde_cells-value,
               r TYPE kcde_cells-value,
               s TYPE kcde_cells-value,
               t TYPE kcde_cells-value,
               u TYPE kcde_cells-value,
               v TYPE kcde_cells-value,
               w TYPE kcde_cells-value,
               x TYPE kcde_cells-value,
               y TYPE kcde_cells-value,
               z TYPE kcde_cells-value,
               aa TYPE kcde_cells-value,
               ab TYPE kcde_cells-value,
               ac TYPE kcde_cells-value,
               ad TYPE kcde_cells-value,
               ae TYPE kcde_cells-value,
               af TYPE kcde_cells-value,
               ag TYPE kcde_cells-value,
               ah TYPE kcde_cells-value,
               ai TYPE kcde_cells-value,
               AJ TYPE KCDE_CELLS-VALUE,
               AK TYPE KCDE_CELLS-VALUE,
               END OF lt_items.
       l_filename = p_flpath.
    * the file must be an xls file, not xlsx or comma seperated
       IF p_flpath NS '.xls' AND p_flpath NS '.XLS'.
         MESSAGE i261(zfi).
         g_error = 'X'.
         EXIT.
       ENDIF.
    * upload excel file to a generic table
       CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
         EXPORTING
           filename                = l_filename
           i_begin_col             = 1
           i_begin_row             = 1
           i_end_col               = 150
           i_end_row               = 65000
         TABLES
           intern                  = lt_intern
         EXCEPTIONS
           inconsistent_parameters = 1
           upload_ole              = 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.
    * validate that the format is in the restatement format
    *  this is the only template to have the ledger group in cell G-2
    **  READ TABLE lt_intern WITH KEY row = '0002' col = '0007'.
    **  IF sy-subrc <> 0 OR lt_intern-value IS INITIAL.
    **    MESSAGE i260(zfi).
    **    g_error = 'X'.
    **    EXIT.
    **  ENDIF.
    * create control record values
       ls_control-rec_type = 'C'.
       ls_control-global_id = 'GLU-03000'.
       ls_control-local_id = ''.
       ls_control-rec_count = ''.
       CONCATENATE sy-datum sy-uzeit INTO ls_control-date.
       ls_control-version = '12'.
       ls_control-email = ''.
       ls_control-eor = 'X'.
       ls_trailer = ls_control.
    * open output file and add the control record
       OPEN DATASET p_unixfilename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
       TRANSFER ls_control TO p_unixfilename.
    * create header record values, will be transfered to file in the item loop
       ls_header-rec_type = 'H'.
       READ TABLE lt_intern WITH KEY row = '0017' col = '0003'.
       IF sy-subrc = 0.
         ls_header-header_txt = lt_intern-value.
       ENDIF.
       READ TABLE lt_intern WITH key row = '0020' col = '0002'.
       IF sy-subrc = 0.
         ls_header-comp_code = lt_intern-value.
       ENDIF.
    ************doc date
       READ TABLE lt_intern WITH KEY row = '0011' col = '0003'.
       IF sy-subrc = 0.
         ls_header-pstng_date = lt_intern-value.
       ENDIF.
    ************posting date
         ls_header-doc_date = sy-datum.
       READ TABLE lt_intern WITH KEY row = '0009' col = '0003'.
       IF sy-subrc = 0.
         ls_header-doc_type = lt_intern-value.
       ENDIF.
       READ TABLE lt_intern WITH KEY row = '0014' col = '0003'.
       IF sy-subrc = 0.
         ls_header-ref_doc_no = lt_intern-value.
       ENDIF.
    ************currency moved to line items
         READ TABLE lt_intern WITH KEY row = '0020' col = '0001'.
       IF sy-subrc = 0.
       ls_header-currency = lt_intern-value.
       ENDIF.
       ls_header-trans_date = ''.
       READ TABLE lt_intern WITH KEY row = '0010' col = '0003'.
       IF sy-subrc = 0.
         ls_header-period = lt_intern-value.
       ENDIF.
       READ TABLE lt_intern WITH KEY row = '0006' col = '0003'.
       IF sy-subrc = 0.
         ls_header-reason_rev = lt_intern-value.
       ENDIF.
       READ TABLE lt_intern WITH KEY row = '0007' col = '0003'.
       IF sy-subrc = 0.
         ls_header-rev_date = lt_intern-value.
       ENDIF.
    *  READ TABLE lt_intern WITH KEY row = '0002' col = '0007'.
    *  IF sy-subrc = 0.
         ls_header-ledger_grp = ''.
    *  ENDIF.
    *  READ TABLE lt_intern WITH KEY row = '0013' col = '0013'.
    *  IF sy-subrc = 0.
         ls_header-exch_rate = ''.
    *  ENDIF.
       READ TABLE lt_intern WITH KEY row = '0008' col = '0003'.
       IF sy-subrc = 0.
         ls_header-calc_tax = lt_intern-value.
       ENDIF.
       ls_header-eor = 'X'.
    * loop at the line items and append them to a table with multiple columns
       LOOP AT lt_intern WHERE row GE 20.
         IF l_currentrow <> lt_intern-row AND l_currentrow IS NOT INITIAL.
           APPEND lt_items.
           CLEAR lt_items.
         ENDIF.
         l_currentrow = lt_intern-row.
         CASE lt_intern-col.
           WHEN '0001'. lt_items-a = lt_intern-value.
           WHEN '0002'. lt_items-b = lt_intern-value.
           WHEN '0003'. lt_items-c = lt_intern-value.
           WHEN '0004'. lt_items-d = lt_intern-value.
           WHEN '0005'. lt_items-e = lt_intern-value.
           WHEN '0006'. lt_items-f = lt_intern-value.
           WHEN '0007'. lt_items-g = lt_intern-value.
           WHEN '0008'. lt_items-h = lt_intern-value.
           WHEN '0009'. lt_items-i = lt_intern-value.
           WHEN '0010'. lt_items-j = lt_intern-value.
           WHEN '0011'. lt_items-k = lt_intern-value.
           WHEN '0012'. lt_items-l = lt_intern-value.
           WHEN '0013'. lt_items-m = lt_intern-value.
           WHEN '0014'. lt_items-n = lt_intern-value.
           WHEN '0015'. lt_items-o = lt_intern-value.
           WHEN '0016'. lt_items-p = lt_intern-value.
           WHEN '0017'. lt_items-q = lt_intern-value.
           WHEN '0018'. lt_items-r = lt_intern-value.
           WHEN '0019'. lt_items-s = lt_intern-value.
           WHEN '0020'. lt_items-t = lt_intern-value.
           WHEN '0021'. lt_items-u = lt_intern-value.
           WHEN '0022'. lt_items-v = lt_intern-value.
           WHEN '0023'. lt_items-w = lt_intern-value.
           WHEN '0024'. lt_items-x = lt_intern-value.
           WHEN '0025'. lt_items-y = lt_intern-value.
           WHEN '0026'. lt_items-z = lt_intern-value.
           WHEN '0027'. lt_items-aa = lt_intern-value.
           WHEN '0028'. lt_items-ab = lt_intern-value.
           WHEN '0029'. lt_items-ac = lt_intern-value.
           WHEN '0030'. lt_items-ad = lt_intern-value.
           WHEN '0031'. lt_items-ae = lt_intern-value.
           WHEN '0032'. lt_items-af = lt_intern-value.
           WHEN '0033'. lt_items-ag = lt_intern-value.
           WHEN '0034'. lt_items-ah = lt_intern-value.
           WHEN '0035'. lt_items-ai = lt_intern-value.
           when '0036'. lt_items-aj = lt_intern-value.
           when '0037'. lt_items-ak = lt_intern-value.
         ENDCASE.
       ENDLOOP.
       APPEND lt_items.
    * sort rows by the post date, comp code, curr.
    *  SORT lt_items BY ah a ai.
    * loop at the items, creating a header record if the comp code, curr. or post date changes
       LOOP AT lt_items.
         ls_item-rec_type = 'I'.
         ls_item-post_key = lt_items-c.   "lt_items-b.
         IF lt_items-c GE '20' AND lt_items-c LE '39'.
           ls_item-vendor_no = lt_items-d.
         ELSEIF lt_items-c GE '0' AND lt_items-c LE '19'.
           ls_item-customer = lt_items-d.
         ELSEIF lt_items-c EQ '70' AND lt_items-c EQ '75'.
           ls_item-asset = lt_items-d.
         ELSE.
           ls_item-gl_account = lt_items-d.
         ENDIF.
         ls_item-asset_type = lt_items-m. "lt_items-l.
         ls_item-trans_type = lt_items-n. "lt_items-m.
         ls_item-print_flag = ''.
         ls_item-item_text = lt_items-j. "lt_items-i.
         ls_item-comp_code = lt_items-b. "lt_items-a.
         ls_item-bus_area = ''.
         ls_item-alloc_nmbr = lt_items-l. "lt_items-k.
         ls_item-tax_code = lt_items-q. "lt_items-p.
         ls_item-taxjurcode = lt_items-r. "lt_items-q.
         ls_item-profit_ctr = lt_items-g. "lt_items-f.
         ls_item-costcenter = lt_items-h. "lt_items-g.
         ls_item-orderid = lt_items-ac. "lt_items-ab.
         ls_item-wbs = lt_items-i. "lt_items-h.
         ls_item-trade_id = lt_items-o. "lt_items-n.
         ls_item-part_prctr = lt_items-p. "lt_items-o.
         ls_item-material = lt_items-t. "lt_items-s.
         ls_item-salesorg = lt_items-aa. "lt_items-z.
         ls_item-distr_chan = lt_items-ab. "lt_items-aa.
         ls_item-pmnttrms = ''.
         ls_item-pmtmthd = ''.
         ls_item-pmtmthsupl = ''.
         ls_item-alt_payee = ''.
         REPLACE ALL OCCURRENCES OF '(' IN lt_items-e WITH ''.
         REPLACE ALL OCCURRENCES OF ')' IN lt_items-e WITH ''.
         ls_item-amt_doccur = lt_items-e. "lt_items-d
         REPLACE ALL OCCURRENCES OF '(' IN lt_items-f WITH ''.
         REPLACE ALL OCCURRENCES OF ')' IN lt_items-f WITH ''.
         ls_item-loc_amt = lt_items-f. "lt_items-e
         ls_item-loc  = lt_items-k. "lt_items-j.
         ls_item-sas_revtype = lt_items-s. "lt_items-r.
         ls_item-rev_type = lt_items-u. "lt_items-t.
         ls_item-rev_chnl = lt_items-v. "lt_items-u.
         ls_item-bill_to = lt_items-x. "lt_items-w.
         ls_item-payer = lt_items-z. "lt_items-y.
         ls_item-ship_to = lt_items-y.
         ls_item-tax_amnt = lt_items-x.
         ls_item-func_area = ''.
         ls_item-expend_date = lt_items-ae. "lt_items-ad.
         ls_item-wtax_code = lt_items-af. "lt_items-ae.
         ls_item-wtax_base = lt_items-ag. "lt_items-af.
         ls_item-wtax_amount = lt_items-ah. "lt_items-ag.
         ls_item-payment_block = ''.
         ls_item-grp_amt = ''.
         ls_item-anc_amt = ''.
         ls_item-permit_payee = ''.
         ls_item-value_date = ''.
         ls_item-pernr   = ''.
         ls_item-legacy1 = ''.
         ls_item-legacy2 = ''.
         ls_item-legacy3 = ''.
         ls_item-legacy4 = ''.
         ls_item-legacy5 = ''.
         ls_item-legacy6 = ''.
         ls_item-legacy7 = ''.
         ls_item-legacy8 = ''.
         ls_item-legacy9 = ''.
         ls_item-legacy10 = ''.
         ls_item-eor = 'X'.
         TRANSLATE lt_items-ai TO UPPER CASE.
         TRANSLATE lt_items-b TO UPPER CASE.
         TRANSLATE lt_items-a TO UPPER CASE.
         TRANSLATE lt_items-aj TO UPPER CASE.
         IF l_current_curr <> lt_items-a "lt_items-ai
           OR l_current_postdate <> ls_header-pstng_date "lt_items-aj
           OR l_current_compcode <> lt_items-b.
           l_current_curr = lt_items-a.
           l_current_postdate = ls_header-pstng_date. "lt_items-aj.
           l_current_compcode = lt_items-b.
           ls_header-comp_code = l_current_compcode.
           ls_header-currency = l_current_curr.
           ls_header-pstng_date = l_current_postdate.
           ls_header-doc_date = l_current_postdate.
           TRANSFER ls_header TO p_unixfilename.
           l_line_count = l_line_count + 1.
         ENDIF.
         TRANSFER ls_item TO p_unixfilename.
         l_line_count = l_line_count + 1.
       ENDLOOP.
       ls_trailer-rec_type = 'T'.
       ls_trailer-rec_count = l_line_count.
       TRANSFER ls_trailer TO p_unixfilename.
       CLOSE DATASET p_unixfilename.
    * change the format to fixed format for the remainder of the load program
       p_fixed = 'X'.
       p_rstmnt = ''.
    Thanks,
    Koushik

  • BW Upgrade and Missing Function Modules

    We just upgraded our BW development system from 3.1 to 3.5 with 353 content and we found out all our customer developed function modules are missing from the upgraded version. Our custom function groups are named "ZBIW" and function modules start with "ZBW*". Would this have caused any problems? Should our modules have started with "Z_" as opposed to "Z".
    Any help is greatly appreciated.
    Thanks
    Shai

    Hi Dinesh,
    But the back up is taken prior to upgrade. I do not know if we will end up in more problems, trying to restore objects from different versions of BW.
    Thanks
    Shai

Maybe you are looking for