"Could not ascertain code page" Error.

Hello,
I have created an program for getting FI docs from BSEG table and downloading into excel file after doing some processing on the fetched data. The job, if run as a dialog process, works ok. But if scheduled to run in the background, gives the following error.(viewed through SM37).
Job started                                                                         
Step 001 started (program ZFI_BUSINESS_AREA, variant &0000000000003, user ID LSMW_FI)
Could not ascertain code page                                                       
Job cancelled after system exception ERROR_MESSAGE                                  
Any help is appreciated.
Thanks.
N.K.Verma.

It is soooooooooooooooooooooooooooooooo difficult to understand:
SAP is a client-server-system. Online means that you can DOWNLOAD something from SAP server to client PC.
There is no such thing like a background client PC.
PERIOD.
-EOF-

Similar Messages

  • RFC_ERROR_SYSTEM_FAILURE: Could not ascertain code page

    Guys:
    Here is the solution i discovered and its going to error.
    PI is in windows environment.
    File to RFC ( in PI itself no remote SAP ECC sytem or any system)
    -Sender com channle I am using the file adapter with FCC
    -Receiver I am using a RFC fucntion mdoule (FM). Remember this RFC function module to convert the file (itab and masaget he data as required and use gui_downlaod and write to PI file system)is on PI ABAP
    stack and I imported the function module . I Remote-enabled button in SE37 FM in PI ABAP stack.
    I did the file to RFC mapping in PI java stack.
    -Receiver Comm channel I used RFC and pointed to PI system itself with the PI appserver/sysno/userid/passowrd.
    In SXMB_MONI i see a checkered flag as success and failing on the receiver adapter with the error
    "RFC_ERROR_SYSTEM_FAILURE: Could not ascertain code page". The xml files on inbound payload and technical routing looks good.
    Please help !

    Hi Kumar,
    Refer the last post in the forum post Re: RFC_ERROR_SYSTEM_FAILURE and see if there is any issue due to code page as mentioned.
    Regards,
    Srinivas
    Edited by: Srinivas on Apr 29, 2010 8:28 PM

  • Could not determine code page Error in remote sys in XI

    Hi,
    When we try to send some IDOCS from ECC 5.0 sys to 4.6C sys via XI (M70) we are encountering below issue.
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
      <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page with XXXXX system I::000 FM NLS_GET_LANGU_CP_TAB</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: FM NLS_GET_LANGU_CP_TAB: Could not determine code page with XXXX I::000 FM NLS_GET_LANGU_CP_TAB</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    When i checked table TCPDB is empty in 4.6 C system. Does it ring any bells guyz....
    Regards
    Vish

    Hi,
    Check out this thread
    "Could not determine code page" inbound side error
    XI IDOC Error...
    Thanks,
    Prakash
    Message was edited by: Prakash Arunachalam

  • Error when Calling a BAPI in ALV custom button "could not ascertain code"

    Hi,
    I am getting the error "Could not ascertain code page" when i try to call my BAPI (to export to excel sheet) on click of a custom button in ALV.
    I have done the creation and event handling etc for the custom button.
    Kindly help if anybody knows this error.
    Thanks
    Roshan

    I am creating a custom export button(after disabling the standard export button) to download the data into an excel sheet in my own format. I have created the new button. The code is given here.
    data lr_buttonui2 type ref to cl_salv_wd_fe_button.
    data input2 type ref to cl_salv_wd_function.
    data: lr_column_settings type ref to   if_salv_wd_column_settings,
    lr_input_field type ref to cl_salv_wd_uie_input_field.
    create object lr_buttonui2.
    call method lr_buttonui2->set_text
      exporting
        value  = 'Export'
      input2 = lo_value->if_salv_wd_function_settings~create_function( id = 'EXPORT' ).
      input2->set_editor( lr_buttonui2 ).
    data lr_ref3 type ref to cl_salv_wd_fe.
      call method input2->get_editor
        receiving
          value  = lr_ref3
    I have also created the event handler for my button and written the below code thr. I am caling a BAPI to download the data into my excel format. The problem is coming here only.
    data: lt_return type table of bapiret2.
    data lo_nd_methcode type ref to if_wd_context_node.
      data lo_el_methcode type ref to if_wd_context_element.
      data ls_methcode type wd_this->element_methcode.
      data lv_methcode like ls_methcode-methcode.
    navigate from <CONTEXT> to <METHCODE> via lead selection
      lo_nd_methcode = wd_context->get_child_node( name = wd_this->wdctx_methcode ).
    get element via lead selection
      lo_el_methcode = lo_nd_methcode->get_element(  ).
    get single attribute
      lo_el_methcode->get_attribute(
        exporting
          name =  `METHCODE`
        importing
          value = lv_methcode ).
    call function 'ZBAPI_EXCEL_DLOAD_METHODOLOGY'
      exporting
        i_methcode       = lv_methcode
      tables
        et_return        = lt_return
    Plz give me a solution

  • Idoc Error: Could not find code page for receiving system

    hi,
    I am facing the following error while processing Idocs.
    ERROR: Could not find code page for receiving system
    Diagnosis
    For the logical destination BWFIN, you want to determine the code page in which the data is sent with RFC. However, this is not currently possible, and the IDoc cannot yet be dispatched.
    Can somebody suggest a solution for this. I have verified that the RFC destinations have been created both on the sender and receiver, ports (WE21) have been defined, and partner profiles (WE20) also created. How would I troubleshoot this problem?

    Hi,
    I did analyse on this issue.It is all because of the Langauge settings in the SM59.This can be done by the BASIS person.The Language field would be empty, but when ever we send the IDoc from the unicode to a non unicode system we have to mention the Langauage used.
    If this helps you really award me the points.
    ~Katty

  • "Could not determine code page" inbound side error

    Guys,
    We are receiving a flat text file and sending an IDoc, but now I'm getting this error.
    Any idea what's wrong?
    And what is that "I::000" in the message?
    Any help is much appreciated.
    Thanks a lot,
    Viktor
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
      <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page
    with TABWDV100 I::000 FM NLS_GET_LANGU_CP_TAB</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: FM NLS_GET_LANGU_CP_TAB: Could not
    determine code page with TABWDV100 I::000
    FM LS_GET_LANGU_CP_TAB</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    PS:By the way, super sorry if this is a duplicate, my first post didn't show up,
    not sure what I messed up...

    Hi All,
    I have a similar problem, But with a small variation in the Log.
    <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER"><b>ATTRIBUTE_IDOC_RUNTIME</b></SAP:Code>
      <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page with PSRCLNT310 I::000 FM NLS_GET_LANGU_CP_TAB</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
    It says the "ATTRIBUTE_IDOC_RUNTIME", And I have checked all possible related threads and made my settings in synch. Did anyone had a similar problem?

  • BW Monitor error  Could not find code page for receiving system

    Hi All,
    Frequent BW Monitor error  - Could not find code page for receiving system
    I checked SM59 and every setting is fine there. Any other possibility ?
    Regards
    Srinivas

    The log updated in the status tab was:
    Error when updating Idocs in Business Information Warehouse
    Diagnosis
    Errors have been reported in Business Information Warehouse during IDoc update:
    Could not find code page for receiving system
    System Response
    Some IDocs have error status.
    Procedure
    Check the IDocs in Business Information Warehouse . You do this using the extraction monitor.
    Error handling:
    How you resolve the errors depends on the error message you get.

  • Error "could not find code page for receiving system"

    Hello Everyone,
    We are trying to load data and receive the message:
    Could not find code page for receiving system
    We have searched notes and this forum and can't find anything.  We also checked WE20 and could not find anything wrong.
    Can someone please elaborate specifically what this error is and where to fix it?
    Thanks so much.
    Colleen

    I just upgraded to NW 2004 SR1, and when loading data from a non-unicoded R/3 system to our BW unicoded system I experienced the exact problem.  Here is the resolution that is stated in note #613389 (it's not very clear in the note).
    - Language “EN” must be specified in sm59
    - Under Special Options -> RFC Bit Options
    Make sure that “Use Found Communication Code Page” has a check mark.
    Once this was done, the data loads started completing successfully.

  • IDoc Status 02 ( Could not find code page for receiving system )

    Hi All,
    I am getting Idoc status 02 when I am trying to send IDocs from ECC to PI system ( Production ).
    Error description.
    Could not find code page for receiving system
    Message no. E0266
    Diagnosis
    For the logical destination PIP001, you want to determine the code page in which the data is sent with RFC. However, this is not currently possible, and the IDoc cannot yet be dispatched.
    Procedure for System Administration
    Possible causes are:
    1. The entry no longer exists in the table of logical destinations.
    2. The target system could not be accessed at runtime.
    3. The logon language is not installed in the target system.
    4. In the destination system, no logon language is maintained
    Please help.
    Thanks - Vinay.

    Hi Vinay,
    Status 02 occurs when data is not passed to port suceessfully. Check the RFC desination  is working fine and your able to connect to target system and also check correct port is assigned.
    Regards,
    Vinod.

  • Idoc failed in Bi system "Could not find code page for receiving system".

    Dear Experts,
    i am getting below error ,Idoc failed in Bi system "Could not find code page for receiving system".
    All the idocs have been successfully posted except one which is giving this error
    Idoc status 02 - could not find code page for receiver system.
    Please guide me
    thanks
    vamsi

    Hello Vamsi,
    check Note 647495 - RFC for Unicode ./. non-Unicode Connections
    If your ERP system sends e. g. chinese data to the SCM system, how should the system know which codepage to use? You have to set the MDMP flag in your ERP system in SM59 and configure in the MDMP extended settings which codepage should be used for what language.
    Please check this thread - IDoc error - Could not find code page for receiving system
    Hope it helps,
    Thanks & Regards,
    Amit Barnawal

  • DB Tab RFCDES: Could not determine code page

    Hello,
    I have a simple scenario File->XI->IDOC(orders05)
    The R/3 who receive the IDOC is an 46c system. When sending a file to the XI I receive the following error message in sxmb_moni on the last step "Call Adapter"
    DB Tab RFCDES: Could not determine code page with <myr3>
    Does anyone have an idea whats wrong ?
    Regards Bernd

    Hi Bernd,
    did you have a look at SAP notes for idoc adapter code page problems? : 747322, 804570
    Regards,
    michal

  • ATTRIBUTE_IDOC_RUNTIME: Could not determine code page ... I::000

    Hi guys,
    well we have strange problem with code page. Scenario is IDoc2IDoc.
    We receive IDoc from french-system and when IDoc comes in, we get following error:
    <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page with E01CLNT100 I::000 FM NLS_GET_LANGU_CP_TAB</SAP:P1>
    Does someone has experience with this?!
    br

    Can somebody help me with this?! in RFC-Dest. we thought to use MDMP but with no success.
    Could it be that this depends on user-permissions of the RFC-User in target system?! What permissions are needed for this?!
    br

  • Could not find code page for receiving system

    Hi  Experts,
              When I scheduled a PC i got this Error Msg. What is the real cause and how can i correct it?? Thanks
    Dave
    "Could not find code page for receiving system"

    Hi Praveen,
    The detailed error msg says the following.
    Error when updating Idocs in Business Information Warehouse
    Diagnosis
    Errors have been reported in Business Information Warehouse during IDoc update:
    Could not find code page for receiving system
    System response
    There are IDocs with incorrect status.
    Procedure
    Check the IDocs in Business Information Warehouse . You can get here using the BW Monitor.
    Removing errors:
    How you remove the errors depends on the error message you receive.

  • Infopackage Idocs in status 2 - could not find code page for receiver system

    Hi,
    We just migrated our production system from BW 7.01 non unicode to BW 7.4 on HANA.
    We now encounter issues with idocs while loading data into bw from our ECC5 source. When we analyze idocs in the source system it appears with the message "could not find code page for receiver system"
    One weird thing is that the idoc seems to have been created before we started the infopackage in bw.. We controlled system time and AS time and everything seems ok.
    We did not encounter this issues on our previous migration test runs..
    Hope someone can help
    Christophe

    Hi,
    Thanks for responding. We finally found out what the problem was.
    We have two applications servers on our ECC with 2 different OS. One of them could not reach the new BW HANA server.
    Regards
    Christophe

  • Could not find coding page for receiving system

    Hi,
    We have set up the configuration of RFC connections in SM59. We want to send an IDoc from a Unicode to a non-Unicode system. Message 'Could not find coding page for receiving system' appears. We activated some solutions described in OSS notes and added the required authorization to the communication user but it still doesn't work. What else can cause (solve) this problem?
    Regards, Jan

    Hello Jan,
    I had the following situation:
    After seup of an ALE/IDOC scenario with another SAP but Non unicode system sometimes the outbound PROJECT idocs failed with the error message "Could not find code page for receiving system". Status of Idoc was 02. When reprocessed some minutes later with report RBDAGAIN it worked.
    It turned out that for what'o'ever reason the connectivity was down for a very short time but long enough to get the Idocs failed.
    That's what I meant with the error text could be misleading.
    We solved this problem with a daily job with report RBDAGAIN for reprocessing.
    Regards
    Michael

Maybe you are looking for