Character Changing in IDOC

Hi,
There is a scenario IDOC -> PI -> JMS. When the data comes into PI from IDOC, one character gets unwantedly converted.
IDOC_FIELD = Pankaj's Address (as seen in SAP ECC system)
IDOC_FIELD = Pankaj#s Address (as seen in SAP PI - SXMB_MONI)
Can anyone tell me why is this happening in PI and how should this be avoided?
I do not want to make use of ReplaceString option as this does not seem to be a good option.
Thanks
Pankaj.

Hi All,
Thank you for the replies!
I assume the system where the IDOC is created is Non-Unicode
I logged into the source SAP R3 system using SAP Logon and checked the Status; in the status there was an entry like Unicode -- Yes (similar entry is available for SAP PI). Does this mean that both PI and R3 system are Unicode?
As mentioned by Rajesh I have made an entry into the RFC Destination of SAP PI for Unicode and this seems to be partially working.
If I use the existing value like Pankaj's Address in the IDOC, then the result in PI is still Pankaj#s Address -> WRONG
However if I use a new value like User's Address in the IDOC then the result in PI is User's Address -> CORRECT
I have deleted and re-imported the IDOC metadata into PI but still facing the issue for old values.
Please Help.
Thanks
Pankaj.

Similar Messages

  • Send Changes for IDOC ORDRSP

    Hi Gurus
      Can anyone help me in sending the changes for the IDOC for transactional data.
    For Sales Order IDOC -- ORDRSP.
    When newly sales order is created, all the sales order information should be sent. --This is not a problem.
    When changes are done on the sales order -- Only the changes should be sent in the IDOC. I have activated the change pointers in BD50, BD51 for ORDRSP and in BD52 created the entries for ORDRSP. 
    but when i trigger the IDOC using the output type, i get to see all the data instead of only the changes.
    Is there anything that i am missing???
    Any help is really appreciated.
    Thanks
    Saritha

    Hi Linda,
    I have documentataion on ALE/IDOCs which may not be helpful to you. If u need that i can send u .
    Instead i  can help u out if u r facing any issue.
    In our case: wen ever sales order is created /changed an idoc shud be genrated.
    This can be done thru Message control.
    Which involves customization from functional guys in NACE as well as Technical guy in Partner profile/port..
    do let me know where ever u r not clear.
    regards,
    Naveen

  • Is it possible to change an IDOC and save on the same IDOC number..?

    Hi all,
    I have an IDOC. When I processed the IDOC, it ended up with error status '51'. There was some problem with the data. So, I changed the data and reprocessed using the T-Code 'WE19' and it was processed successfully. When we reprocess the IDOC using 'WE19', it generates another IDOC number. But, the client is asking that, it should not generate another IDOC number. When we change the IDOC number, it should be saved under the same(ORIGINAL) IDOC number. Is it possible to change an IDOC and save under the same number..? Is there any transaction code to do so. Please give your valuable inputs.
    Thanks in advance.
    Thanks & regards,
    Paddu.

    Hi,
    You can use the transaction WE09..to edit the IDOC data...
    Then use the transaction BD87 to post the IDOC..
    Thanks
    Naren

  • Change inbound IDoc 860 overlay the old text with new text

    Currently whenever change inbound IDoc 860 gets posted new text gets appended. My requirement is: old text needs to be overwritten with new text.  Can you please advice
    Thanks

    Hi Hock,
    thanks for your answer. Unfortunately i think your are right.
    Yesterday i got an answer from debopriyo mallick, does anyone know,
    why this answer is dissapear?
    Regards, Dieter

  • How to change the IDOC Status from 30 to 03

    Hi Friends,
    In the Partner Profiles Collect IDOCS option is Selected and the Output mode is 4.
    In my Custom Program i am Using the Function Module MASTER_IDOC_DISTRIBUTE to generate the IDOCs
    I am getting the IDOCs of Status 30.
    then in my Custom Program, I am Submitting the IDOCs to RSEOUT00 program.
    to change the IDOC status from 30 to 03.
      SUBMIT rseout00 USING SELECTION-SCREEN '1000'
                   WITH docnum  IN  gt_range_idocs
                   WITH p_compl EQ 'Y'
                   AND RETURN.
    but still i am not getting the IDOCs of changed status.
    I need to get the Changed IDOC status and if the IDOC status is not changed then I need to generate an Error file for the IDOCs data and send that data to customers as a mail.
    so my requirment is to call the RSEOUT00 in the Custom Program and Change the IDOCs Status to 03.
      When i am Executing the RSEOUT00 Indidually by giving the IDOCs numbers, then the IDOCs Status is going to change to 03 from 30.
    Kindly Guide me how to proceed furthur
    Thanks in Advance,
    Ganesh

    Thanks Shrishit,
    RC1_IDOC_SET_STATUS changing the Status from 30 to 03.
    Its fine, But my Question is will IDOC Data will be reached to XI Server or not.??
    means is the functionality of this Program is same as the RSEOUT00.
    MY job is to change Status from 30 to 03 only
    and then Check the Status of those IDOCs, and if the IDOC is not sended to XI  i.e.;03 status, then I need to send the Details of IDOC (i.e.; data in filed IDOC) to Customer Mail ID through an Attachement.
    I hope you Understood my AIM, why I need to change the Status in my Custom Program only, by submitting IDOCs to this report .
    Kindly waiting for your reply,
    Thanks in Advance,
    Ganesh

  • How to change the IDOC segment data

    How to change the segment data for all IDOCs at one shot J.
    For exmple E1EDK02-QUALF - 004
                       E1EDK02-RGID  -  100000008 (Inquiry No)
                   to
           E1EDK02-QUALF - 004
                       E1EDK02-RGID  -  200000005 (Quotation)
    Any hints, tips….Appreciate your help and more rewards.
    Regards,
    Cris

    Hi,
    You can change the IDOC values using the transaction WE09
    Give the IDOC number..
    Press F8..
    Expand the tree..
    Double click on the segment..
    Then in the menu..DATA RECORD -> DISPLAY/CHANGE..
    It will go in change mode..Change the IDOC value..
    Thanks,
    Naren

  • How to chang the idoc  message type

    Hi,
    I want to change the idoc message type...because the idoc has the status 51...pls advice how to change
    I have tried it from we81 .......but i cant open the msg type ...when i double click on it.
    Regards,
    Somenath

    Hi,
    This may help u
    Steps To Create Custom IDOC
    1.Create Segment Type (WE31)
    Go to Transaction code WE31
    Enter Segment type, click on Create
    Give Description
    Enter the Necessary Fields & Data Elements for those Fields.
    Save the Changes.
    2.Create Idoc Type (WE30)
    Go to transaction code WE30
    Enter the Object Name, select Basic type and click Create icon
    Select the create new option and enter a description for your basic IDOC type and press enter
    Select the IDOC Name and click Create icon
    The system prompts us to enter a segment type and its attributes
    Choose the appropriate values and press Enter
    The system transfers the name of the segment type to the IDOC editor.
    Follow these steps to add more number of segments to Parent or as Parent-child relation
    Save it and go back
    Go to Edit -> Set release
    3.Create Message Type (WE81)
    Go to transaction code WE81
    Change the details from Display mode to Change modenAfter selection, the system will give this message u201CThe table is cross-client (see Help for further info)u201D. Press EnternClick New Entries to create new Message Type
    Fill details
    Save it and go back
    4.Assign Idoc Type to Message Type (WE82)
    Go to transaction code WE82
    Change the details from Display mode to Change moden After selection, the system will give this message u201CThe table is cross-client (see Help for further info)u201D. Press Enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back
    Regards
    Seshagiri

  • Changes in IDOC

    Hi all,
    How to find out whether any body has changed the idoc?
    Any change log for idoc....
    Regards,
    KS

    Hi,
    Changes in idoc creates a new idoc....If the program is changed then u can find who has lastly changed..
    Rewrad if helpful.
    Regards,
    nagaraj

  • How can I change an IDOC (desadv-asn-inbound)

    Please let me know how can I change a value within the IDOC (ASN)? I remembered that I have done this before but I can't remember how.
    I don't want to ask the vendor to resend the asn again.
    tks
    Eduardo

    Go to the Idoc segment for which you want cahnge the value than double click on the paper icon of the segment
    this will take you to the display data reocrd
    here from Data record menu at the header
    hit display --> change
    and this will open in change mode
    change the value and save
    also you can copy same idoc in WE19 and reprocess the newly created via BD87 if you don;t want to change
    but if it is production system than better to change the original and process.

  • Special Character error in IDOC

    All,
    I am trying to upload PO data using IDOC type "PORDCR1" from LSMW. All is well till I convert data. We have some speical characters in short text field at item level and even when I convert the data and display it from LSMW it looks fine, but when I processing idoc it's erroring out meaning if I have special character "Á" in IDOC during processing it's getting converted to "Á#" and it's screwing up the positions.
    What I am not able to understand is when I am displaying the converted data in segment mode in LSMW it's getting displayed perfectly without extra "#", but when I am checking errored idoc from WE05 it has this new #. Did anyone come across this issue?
    Your help will be greatly appreciated. Thanks for your time.

    Ok, the issue was with LSMW port (which was not marked as UNICODE) and because of which it's not translating special characters....

  • Need to change the Idoc Status based on the Text in the Idoc

    Hi All,
    I have developed Idoc--SOAP Sync Process Scenario Using BPM and Works Perfectly.
    I have used STATUS.SYSTAT01 Idoc to capture the Response that is comming from the Webservice.
    I have mapped the response Text( Success or Fail) to one of the field in the Response Idoc, this is perfect.
    Requirement:
    1) If the Response Idoc Field receives Success Text means the Idoc Status shld be in Green Status.
    2) If the Respnse Idoc Field Receives FAIL means the Idoc Status shld be in RED Status.
    How can i Do this. please suggest me......
    Regards

    Hi Santhosh,
    YES, I have to Capture the Response from Webservice in SAP R/3 by using STATUS.SYSTAT01 Idoc.
    I have mapped the response from webservice to the one of the field in the Idoc.
    If this field contains Success as text means the Idoc Status in We05 shld be 53 else it shld be 56
    With out changing the FM code, can we use any other process to achieve this???
    @ Mario
    Can u please Allobarate your views more based on my requirement
    Regards

  • Character Encoding for IDOC to JMS scenario with foreign characters

    Dear Experts,
    The scenario is desribed as follows:
    Issue Description:
    There is an IDOC which is created after extracting data from different countries (but only one country at a time). So, for instance first time the data is picked in Greek and Latin and corresponding IDOC is created and sent to PI, the next time plain English and sent to PI and next Chinese and so on. As of now every time this IDOC reaches PI ,it comes with UTF-8 character encoding as seen in the IDOC XML.
    I am converting this IDOC XML into single string flat file (currently taking the default encoding UTF-8) and sending it to receiver JMS Queue (MQ Series). Now when this data is picked up from the end recepient from the corresponding queue in MQ Series, they see ? wherever there is a Greek/latin characters (may be because that should be having a different encoding like ISO-8859_7). This is causing issues at their end.
    My Understanding
    SAP system should trigger the IDOC with the right code page i.e if the IDOC is sent with Greek/Latin code page should be ISO-8859_7, if this same IDOC is sent with Chinese characters the corresponding code page else UTF-8 or default code page.
    Once this is sent correctly from SAP, Java Mapping should have to use the correct code page when righting the bytes to outputstream and then we would also need to set the right code page as JMS Header before putting the message in the JMS queue so that receiver can interpret it.
    Queries:
    1. Is my approach for the scenario correct, if not please guide me to the right approach.
    2. Does SAP support different code page being picked for the same IDOC based on different data set. If so how is it achieved.
    3. What is the JMS Header property to set the right code page. I think there should be some JMS Header defined by MQ Series for Character Encoding which I should be setting correctly) I find that there is a property to set the CCSID in JMS Receiver Adapter but that only refers to Non-ASCII names and doesn't refer to the payload content.
    I would appreciate if anybody can give me pointers on how to resolve this issue.
    Thanks,
    Pratik

    Hi Pratik,
         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
    This link might help.
    regards
    Anupam

  • Tcode CS02 changed triggers idoc but not CS21 using BD21

    Hi
    when bom is changed using CS02 then when using BD21 triggers IDOC for the message type
    but
    when bom is changed using CS21 then it does not trigger idoc using BD21
    I checked the code for BD21 message type function
    I found that change pointer (bdcp2-object id ) is different for both transaction CS02 and CS21.
    CS02 is updating object id with mast-stlal but this entry is missing for CS21
    I am not able to find how the table (BDCP , BDCP2) for change pointers is updated for bom change.
    Can you please let me know the patof code which i should check for updating  the change pointers entries in BDCP , BDCP2 for bom

    I checked the sap system is creating enteries in cdhdr change pointer usin fm STUE_V_WRITE_DOCUMENT . I checked that when used TCODE CS05 the entry is updated for stlal as
    In CS02  the entry for OBJID hold the value for stlal (Alternative BOM)
    ie 500M0001064220110914  01            20110914
    In CS21  the entry for OBJID does not hold the value for stlal (Alternative BOM)
    ie 500M0001064220110913                20110913 (entry missing for stlal)
    It clears the value of stlal . Is ther any sap note or configration setting for CS21 to get the value for alternative bom .

  • Password Keeper - Character changes

    Hi everyone,
    I've been using a Blackberry for the last couple of years and I love them to bits!
    I recently got my hands on a new blackberry Curve 8310 running v4.2.2.181 (platform 2.5.0.35) (recently to me is about 1 year.)
    I'm security minded but lazy at the same time, this has resulted in me using the same strong 11 digit password (alpha, numbers & Special chars) for almost everything.
    Wanting to help change this, i have started using the Password Keeper on my blackberry and everythings going fine, i've populated it with details of almost every online account and physical account i have.
    The thing is now I want to start using the "Generate Random Password" function to its best effect.. only one thing is buggin me....
    I've done the math assosiated with cryptography at college.. adding more character length to your password is cryptographicaly stronger than using a wider range of characters.
    That said an 11 digit passwod using lowercase letters, numbers and special characters is stronger than a 10 digit password using lowercase letters, uppercase letters, numbers and special characters.
    I'm looking through the options on the password keeper and it allows me to choose if i want to use numbers, if i want to use letters and if i want to use special characters, but it does not seem to have an option to let me decide if I ONLY want to use uppercase or lowercase.... if i select YES to alphabetical characters its uses both.
    Does anyone know of ANY WAY i can change this?
    I idealy want to use letters as well as numbers and special characters but not uppercase letters as all they really do is add confusion.
    Thanks in advance guys.
    P.S (Sorry about any spelling errors in the above, im writing this from a public machine and the have no openoffice or MS office here for me to spellcheck this with before posting.)
    Message Edited by duncberry on 08-12-2009 01:51 PM

    If I were you, I'd try and look for a third party application that deals with passwords. Maybe one of them will provide the features you are asking for as far as generating passwords is concerned.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Change pointer - Change Document  - IDOC

    Hi,
    I have to capture changes occurring to master data (customers' table )and to distribute them via the IDOC interface (customers' IDOC)  .
    My steps:
    1. SCDO - create change document object and bind customers' table, generate update function
    2. WE31 - develop customers segments with same customers' table structure
    3. WE30 - develop new IDOC type
    4. WE81 -  create new message type
    5. WE82 - assign message type to IDOC type
    6. SW01 - build business object for supertype IDOCAPPL
    7. BD105 - supported object determonation
    8. BD104 -  assign message type to business object
    9. BD52 - define change-relevant fields
    10 .????
    It does not work. I didn't find one help for my purpose.
    Have any idea how to do it?
    Thank you very much.
    Best regards, Natalia.

    Hi,
    Yes I mark my message type in BD50 and in BD64 (Distr.model)
    May be I do extra operations?
    Thank you, Natalia.

Maybe you are looking for