Idoc to FCC error.

HI,
Scenario is Idoc to File scenario using BPM, needs to drop the file using FCC and BPM collect messages is used
All the fields are populating successfully but facing issues with serial number and date fields,
1. With respect to Serial Number:
from the source i will be getting 18 digit serial number padded with zeros
For eg:
Source :  000000001234506789 -- Need the ouput as 01234506789 for this i have writen UDF using substring.
but when i check this in message mapping i could see 01234506789 but at the output file i see as 1234506789
i need o to be prefixed
2. the second issue is also as similar;
i have used the data transformation,
YYYYMMDD  -- using date transformation i have changed to MMDDYYYY
here when the month is below 10, i mean 1 to 9 the dates are populating at output as 9102010 --> 9th Month date 10 and the year 2010, here also when i check in Message mapping i could see 0 prefixing as 09102010.
i have the fcc parameters as:
FCC:
recordheader.fieldSeperator  -- ,
recordheader.endSeparator  -- "nl"
Need ;your valuable inputs ASAP..
Thanks,
--Sai

Hi Sai,
--> For your first case use FORMATNUM funciton and try it.
-->For the second case check the incoming date and as per that alter the date parameters in the data transformation step as per requirement.
Thanks

Similar Messages

  • STPPOD Idoc creation status : Error in ALE Service

    Experts,
    I am trying to send GR from MM to SUS in MM-SUS Classic Scenario on ECC 6.0 Server. I have also configured Goods REceipt Notifications Functionality to sending GR from MM to SUS.
    When i am trying to send GR Idoc is generated (STDPOD) but i am getting the Error whose status - 29 in WE02 t-code :
    Status Message for Selected IDoc
    Status Text:   IDoc: 0000000000211243 Status: Error in ALE service
    T100 Text:     Entry in outbound table not found
    While i have properly configured Partner Profile for  Message Type STPPOD :
    Partner Role          Basic Type     Receiver Port           Application     Output Mode
    LS        DELVRY03       A000000018 (XI port)           GRN               Transfer Idoc Immediately
    When i try WE19 t-code for this idoc, i found  the error "Port '' does not exist in the table of port descriptions"
    while  i have already defined port (A000000018)in WE21 t-code  and this port also working fine for other messages.
    Please suggest.
    Thanks.
    Regards,
    Pawan Keshwani

    Nikhil,
    Issue is resolved it was the wiered error. As i removed LS from the field  Partner Role in STPPOD message at  partner profile(WE20) for SUS Client in ECC. Now the message STPPOD outbound message working fine.
    Thanks.
    Regards,
    Pawan Keshwani

  • IDOCs Packaging ... What if one IDOC is in error in the packet ?

    Hi all,
    What will happend to the rest of the IDOC in the packet ?
    Lets say, i packaged my IDOC in a bunch of 5.  The first 3 IDOCs, their payload are ok. However the 4th has a bad payload and it crash in the mapping section ...
    Does the first 3 IDOC (and the 5th one) will be sent and the one in error (4th one) will remain (in XI for mapping error) ?
    Thank.
    michel osborne

    Hi chandrakanth.k,
    Thank for your response. I have seen these blogs. I am not using the BPM.
    I am using the IDXPW + Messages filter (sxmsfilter) to packaged the IDOCs.
    I have made some tests ... wird enough ...
    test #1:
    idoc (1) - error
    idoc (2) - valid
    idoc (3) - valid
    .... etc ...
    test #2:
    idoc (1) - valid
    idoc (2) - error
    idoc (3) - valid
    test #3:
    idoc (1) – valid
    idoc (2) – valid
    idoc (3) - valid
    idoc (4) - error
    In the "test #1", idoc (2) & idoc (3) are processed correctly (idoc sent to the SAP ECC backend system). Idoc (1) is stuck in XI with errror (mapping) which is OK.
    In the "test #2", work the same as in “test #1”, idoc(1) & idoc(3) hs been delivered to the SAP ECC backend system.
    However, in the "test #3"all idoc (1, 2, 3,4) are stuck in XI ... idoc(4) in error (which is ok), idoc(1) – up to -  idoc(3) in sxmb_moni has the racing flag .... but not delivered to the SAP ECC backend system ... they have the status: Message Schedule for outbound side ....
    It seem that each time the package end with and idoc in error, the entire “batch’ get stuck in XI ….
    How can i get sent them (test case #3) !!?!?
    Thank in advance !

  • IDOC Tables with Errors Post System Refresh

    Hi Everyone,
    Is there any Report  or other way through which one can get List of  IDOC Tables with Errors Post System Refresh.
    Thanks,
    Regards,
    - Ishan

    Hi,
    While selecting the Infopackage to run the INIT load, it is taking me to the ECC login screen. Once i enter my credentials, its showing a dump with the message:
    Short text of error message:
    No RFC authorization for user XXXXX ( RSA8 ).
    Long text of error message:
    Technical information about the message:
    Message class....... "RSAR"
    Number.............. 051
    Variable 1.......... "No RFC authorization for user XXXXX ( RSA8 )."
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    Please advice.
    Regards
    sneha

  • Idoc or trfc error

    Hi sap bw'iets
    can any one describe step-by-step process to sloving IDOC or TRFC ERROR  in production support.
    thank you.
    regards,
    kiran

    hi kiran,
    sometimes idocs stucks in the source system, so it shows yellow in the monitor even if every thing else is showin green. so to correct this, go to environment -> Transact RFC -> In the Source System. If the status is showing "Executing" then leave it, otherwise u can drag it to BW by selecting execute LUW (F6), by selecting the tRFC.
    hope this helps.
    Regards,
    Purvang
    Assigning Point is to say Thanks in SDN *

  • Transfer(IDocs and TRFC) error when use infopackage to load data from R/3

    I create an infopackage to load data from R/3, when start immediately ,there is no data transfered. The return error is :
      transfer(IDocs and TRFC): Errors occurred
         request IDoc: Application document not posted
    Does anybody know how can correct this error?
    Thanks great.

    Hi Yimeng,
    Check in SM58 transaction code in R/3 and see if any LUWs are stuck there. If so you can execute them manually and complete the data load.
    regards,
    Sumit

  • FCC Error in RWB

    Hi All,
    My scenario is Idoc to File scenario in which i am using FCC at the target end,
    My data type structure was
    RootNode
    Level -
    1
    5 Fields
    Level  -
    2
    5 Fields
    Level -
    3
    5 Fields
    and my FCC parameters was ..
    Level1.fieldFixedLengths  --- 0,0, (As i dont want all these fields i marked as 0,0,....)
    Level1.fixedLengthTooShortHandling  -- Cut
    Level1.endSeparator                           -- 'nl'
    Level2.fieldFixedLengths                    --- 10,15,10,12,15
    Level2.fixedLengthTooShortHandling  -- Cut
    Level2.endSeparator                           -- 'nl'
    Level3.fieldFixedLengths  --- 10,15,10,12,15
    Level3.fixedLengthTooShortHandling  -- Cut
    Level3.endSeparator                           -- 'nl'
    but, unable to find where actaully the error is..
    This is the folllowing error which i am getting in Receiver comm channel monitoring in RWB.. I think the error is with FCC
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error occurred while connecting to the FTP server "rps37ykf.rim.net:21": java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:RootNode' found in document', probably configuration error in file adapter (XML parser error)'
    request your inputs to solve this issue..
    regards,
    sai

    Hi..
    RootNode ..is it the name of your Message type?
    Yes Root Node is my message Type
    Also are Level1,Level2,Level1 on same level?
    Yes all the levels are in same level ..
    If i need to suppress any one level at the output end how can i suppress it..
    If i alter the Data type structure i can do it but the values which is populated at that level will be used by the other levels
    Eg: i want to suppress level 1 but some functionality of that level will be used by the other 2 levels. so in the structure it is essential but at the target end i need to suppress those values..
    can i suppress it using any other fixedlength funcitonality
    regards,
    sai

  • JDBC - XI - IDOC scenario, SM58 error

    I am trying to set up a scenario with JDBC -> XI-> IDOC.  I seem to get the data, but when I look at it in SXMB_MONI, I get the checkered flag, for the overall status, but a red flag for the outbound status.  This led me to SM58 where I see this error "No authorization to send IDocs with message type Z...".  It shows the caller ID as being XIAFUSER (which is different from the ID I have created on the receiving SAP system) and is in function module IDOC_INBOUND_ASYNCHRONOUS.   On XI, I have the RFC (SM59) and Port (IDX1) setup for the receiving SAP system.  The receiving system has an ID setup (used in the RFC on XI), has a partner profile, port, logical system, and a RFC to XI setup.
    Any ideas on where to track this down?  I tried giving XIAFUSER sap_all, and it still fails and this ID does not exist on the receiving system.

    HI,
    Just to inform you that, if any SM58 error, mainly because of IDX1 entry and RFC destination .
    So that;s the reason , i just suggested to check this SAP note.
    Now you have given SAP_ALL access to test right ? Even you can check with this SAP note-837595
    Also check that SM59 (RFC destination) in XI system uses any User ID ? DO not select CURRENT USER option here.. and check it
    Regards,
    Moorthy

  • Goods receipt - IDOC (WMMBXY/WMMBID02) error

    I am creating an inbound goods receipt with IDOC WMMBID02 and get the error 'Document date / / is incorrect in item 0000000001'. Error code: F5833.
    Error Diagnosis: 'Service financial accounting:  document date "  /  /" is technically incorrect in item "0000000001" of the accounting document.'
    Anyone know why I get this error. Appears to be FI related.

    Hi,
      The error occurs in the following function module:
    CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
           EXPORTING
                DATE                      = I_BLDAT
           EXCEPTIONS
                PLAUSIBILITY_CHECK_FAILED = 01.
      CHECK NOT SY-SUBRC IS INITIAL.
      MESSAGE E833 WITH I_BLDAT I_POSNR.
    Please check the documentation for the function module for details.
    regards
    Aveek

  • RECEIVER FILE ADAPTER FCC ERROR

    Hi team
    My scenario is a text file has to be picked up by PI, has to processe it and the receiver is Proxy and it has to get updated and sent back to FTP location.
    i am using Sender File Adapter with FCC and Also receiver File Adapter with FCC.
    Both the sender and receiver structures are same; i am using the same FCC parameters for both the sides.
    in Receiver File Adapter i am getting the following errors
    1) Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing
    2)Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing
    please help me out
    thank you
    Edited by: vemugantivn on Aug 16, 2010 12:19 PM

    Hi,
    > 1) Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    >  Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing
    > 2)Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    > Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing
    It is saying that you are not using the fieldSeparator parqameter.
    have you provided the field separator parameter? if not then give like below
    order_row.fieldSeparator : ,  (give what ever the separater you are using)
    or 
    order_row.fieldSeparator : 10,5,...  (if you are using fixed length)
    Regards
    Ramesh

  • B2B Add on (Edi separator) IDOC AAE Receiver Error

    Hi
    We are getting an error, Transmitting the message to endpoint <local> using connection EDISeparator_http://sap.com/xi/XI/EDISeparator failed, due to: com.sap.engine.interfaces.messaging.api.exception.ConfigException: No sender agreement configured that matches the message's header fields (sender party: "xxxx", sender service: "", interface: "xxxx", receiver party: "", receiver service: "xxxx") when using IDOC_AAE Receiver adapter with ICO, scenarion works fine with standard IDOC adapter on integration engine
    We have 7.31 dual stack with B2B addon sp03
    We are using control records from mapping (reciver idoc adapter >advanced>control record in IDOC XML> all options selected)

    Hi,
    Yes, I filled the information on EDI separator channel, however this works fine with standard idco reciever adapter on integration engine, the issue is when I use ICO with Idoc_aae reciever adapter
    you mean to say I have to use (.*) filling all sender edispeartor channel information mandatorily
    what if I have to use the information to filter the message type from a multiple message type EDI file
    Again this works absolutely fine with idco adapter on IE

  • Flat Idoc to Idoc XML conversion error.

    Hi All,
    We are using PI 7.1 EHP1, Where in we would like to see the capabilty of User-Module for Conversion of IDoc Messages Between Flat and XML Formats. Gone thru the below blog and maintained the necessary NWA configurations:
    How to Use User-Module for Conversion of IDoc Messages Between Flat and XML Formats
    While testing phase, The file is not been picked by the Sender File Adapter and the below error is been displayed in RWB:
    "MP: exception caught with cause com.sap.conn.idoc.IDocParseException: (7) IDOC_ERROR_PARSE_FAILURE: Invalid character encountered in XML input data source: state=INITIAL, charPosition=0, lineNumber=1, columnNumber=1, invalidChar=U+0045, sourceSnippet=...EDI_DC40  510000000002889077846C 3012  SHPMNT05                      ZSHPMNT9                      S...                 ^"
    Any Clues?
    Thnx

    Hi Stefan,
    You are right i have maintained the mandatory parameters (SAPRelease, SourceJRA, TargetDestination) within the sender File adapter module key parameters.
    Now getting another error within Comm Channel Monitoring:
    MP: exception caught with cause java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    Any Clues?
    Thnx

  • IDOC created with errors!

    Hello All,
    I am sure that I am not posting this in the right forum. But I did this because, I get more responses in this compared to others. Sorry if this has caused any trouble.
    I had extended a standard idoc with 2 customer segments and procesed the idoc file. An idoc got created witht he following error message.
    EDI: Syntax error in IDoc (mandatory segment missing)
    Message no. E0072
    Diagnosis
    The segment E1EDK14 has the attribute 'Mandatory' in the syntax description of the basic type /IRM/CHGBACKS01 (customer enhancement ). However, the segment is missing in the IDoc. The segment number logged in the status record identifies the item before which the segment is missing.
    This error may have been triggered by an unidentifiable segment before the expected mandatory segment.
    Procedure
    Please check the IDoc or the syntax description of the basic type /IRM/CHGBACKS01 (customer enhancement ).
    When we insert new segments, where should we insert? How important is the segment number? Why is this error message even though that mandatory segment is there in the idoc?
    Please help.
    Thanks,
    Lavanya

    Hi,
    I got the following error message.
    Basic type ZCHGBCK does not exist
    Message no. EA447
    Diagnosis
    IDoc type ZCHGBCK could not be found.
    Procedure
    Please enter an IDoc type that exists.
    Srinivasan,
    I had tested this with the standard idoc and it was perfect. i am having these issues after extension only.
    Thanks,
    Edited by: Lavanya Boora on Jun 2, 2008 10:55 PM

  • IDOC---JDBC scenario error: "INTERNAL" HTTP_RESP_STATUS_CODE_NOT_OK

    i have a IDOC-XI--JDBC   scenario,
    the scenario fails at  the Call Adpater Pipeline step............giving following error:
    <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
    <SAP:Stack>HTTP response contains status code 401 with the description Unauthorized Authorization error when sending using HTTP (error code: 401, error text: Unauthorized)</SAP:Stack>
    pls help me.....
    Message was edited by:
            sudeep dhar

    but this error occurs after few message pass successfully.....
    means at an interval this error happens...then again few messgae pass successfully,
    This is the error which i get in MONI:
    ERROR_CATEGORY: INTERNAL
    ERROR_ID: HTTP_RESP_STATUS_CODE_NOT_OK
    and in the pipeline step i can see the error:
    <?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>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      </SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 401 with the description Unauthorized Authorization error when sending using HTTP (error code: 401, error text: Unauthorized)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

  • IDOC- XI- DB2 Error

    I am working on IDOC-XI-DB2 scenario and when I am executing the same, i am getting folllowing error. Can anyone please help in resolving the same.
    Error while sending message: com.sap.aii.af.ra.ms.api.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=Svr_DB2;TS=;AN=oa_I805_CustOutlet_MI;ANS=http://ccamatil.com/amatil_i_sap_appl/mtc/;
    Regards

    I am getting following error, with JDBC adapter,
    JDBC message processing failed; reason Error 'com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -104, SQLSTATE: 42601, SQLERRMC: <;( END GET SET CALL DROP FREE HOLD LOCK OPEN WITH ALTER BEGIN' executing service raw2sql with SQL statement '<?xml version="1.0" encoding="UTF-8"?> <ns0:I805_Abstr_CustOutlet_MT xmlns:ns0="http://ccamatil.com/amatil_c_ccaml/mtc/"><StatementInsert><STATUS action="INSERT"><table>BSOMSAPP</table></STATUS></StatementInsert><StatementStoreProc><BSOMPSAP action="EXECUTE"><Para1><isInput>true</isInput><type>CHAR</type></Para1><Para2><isInput>true</isInput><type>CHAR</type></Para2></BSOMPSAP></StatementSto
    2008-06-23 10:52:59 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error 'com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -104, SQLSTATE: 42601, SQLERRMC: <;( END GET SET CALL DROP FREE HOLD LOCK OPEN WITH ALTER BEGIN' executing service raw2sql with SQL statement '<?xml version="1.0" encoding="UTF-8"?> <ns0:I805_Abstr_CustOutlet_MT xmlns:ns0="http://ccamatil.com/amatil_c_ccaml/mtc/"><StatementInsert><STATUS action="INSERT"><table>BSOMSAPP</table></STATUS></StatementInsert><StatementStoreProc><BSOMPSAP action="EXECUTE"><Para1><isInput>true</isInput><type>CHAR</type></Para1><Para2><isInput>true</isInput><ty
    2008-06-23 10:52:59 Error Exception caught by adapter framework: null
    2008-06-23 10:52:59 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error 'com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -104, SQLSTATE: 42601, SQLERRMC: <;( END GET SET CALL DROP FREE HOLD LOCK OPEN WITH ALTER BEGIN' executing service raw2sql with SQL statement '<?xml version="1.0" encoding="UTF-8"?> <ns0:I805_Abstr_CustOutlet_MT xmlns:ns0="http://ccamatil.com/amatil_c_ccaml/mtc/"><StatementInsert><STATUS action="INSERT"><table>BSOMSAPP</table></STATUS></StatementInsert><StatementStoreProc><BSOMPSAP action="EXECUTE"><Para1><isInput>true</isInput><type>CHAR</type></Para1><Para2><isInput>true</isInput><ty.
    2008-06-23 10:52:59 Error The message status set to NDLV.

Maybe you are looking for