IDoc ALE converting problem with BD79

Hi,
i need some help with the ALE IDoc converting BD79
i need the following mapped.
IDoc = ORDERS
Condition:
IF Sender E1EDKA1/PARVW = YP then Receiverfield ABLAD = NAME1 from Senderfield E1EDKA1/PARVW = YP where ABLAD in PARVW=WE.
ideas ?
Gordon

Hi Gordon,
Check the following blog:
/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
Hope this helps.
Regards,
Gajendra.

Similar Messages

  • Cp-1251 utf-8 converting: problems with russian letters

    Hello every one!
    I have faced a major problem in cp-1251 to utf8 string convertion (in Windows):
    String result2 = new String(result.getBytes("utf8"), Charset.forName("cp-1251"));Everything works fine, but there is a problem with russian letter И (10th letter in the alphabeth).
    cp-1251 byte code of И is 200
    The right byte code for И in utf-8 is : 208 152, but I recieve the byte code 208 63 for И. So there must be some mistake.
    So, when i try to read this string, i face a problem with wrong utf-8 charset...
    I tried this code on Debian, everything works fine.
    I will be glad if you are capable of helping me.
    Thank you.
    Edited by: smikler on Sep 27, 2009 10:25 AM
    Edited by: smikler on Sep 27, 2009 10:27 AM

    Your code makes no sense.
    You're taking a String and asking for it to be turned into a stream of bytes according to the UTF-8 character encoding. And then you're giving these bytes back and asking to have them interpreted back into characters using the CP-1251 character encoding. This is bound to fail, because the bytes aren't in CP-1251 - they're in UTF-8 as you requested.
    The very concept of changing the character encoding of a String is meaningless. Strings in Java are represented in Unicode. It's only when you convert to and from bytes (using the two methods you've used) that you worry about encoding/decoding.
    So, why not describe what you're actually trying to achieve?

  • JDBC to IDOC scenario - Mapping problem with E1FIBSEG

    Hi friends,
    I have problem when generate multiple Idocs (FIDCC1) an multiple positions based on an External Definition for a SQL Server table. I have selected all fields from this table from a SELECT into the JDBC configuration.
    My mapping is like this:
    DWCAJA.ResultSet  1..1
         IDOC.
    Thats ok and generate n IDOCs by every change of PK.
    The problem is when i want to map positions because i dont have any field in source message to identify the number of positions to map with E1FISEG.
    If I have two differents Pks and n rows, the result of testing is as folow:
    FIDCC1
      IDOC
         E1FIKPF
             E1FISEG
             E1FISEG
      IDOC
            E1FIKPF
    I cant obtain n BSEG segments according PK. I've mapped and all fields of row segment but those are created in the first IDOC node only,
    Any suggestions?
    Regards,
    Pablo.-

    Important: Primary key : DWSucCod + DWCajSec
    Payload:
    - <row>
      <DWSucCod>11</DWSucCod>
      <DWCajSec>1</DWCajSec>
      <DWCtaConCo>1100001</DWCtaConCo>
      <DWRecImp>100</DWRecImp>
      </row>
    - <row>
      <DWSucCod>11</DWSucCod>
      <DWCajSec>1</DWCajSec>
      <DWCtaConCo>1100002</DWCtaConCo>
      <DWRecImp>200</DWRecImp>
      </row>
    Result:
    IDOC
       E1FIKPF
         E1FISEG
             hkont :1100001
             dmbtr : 100
         E1FISEG
              hkont :1100002
             dmbtr : 200
    Payload:
    - <row>
      <DWSucCod>11</DWSucCod>
      <DWCajSec>1</DWCajSec>
      <DWCtaConCo>1100002</DWCtaConCo>
      <DWRecImp>200</DWRecImp>
      </row>
    - <row>
      <DWSucCod>12</DWSucCod>
      <DWCajSec>1</DWCajSec>
      <DWCtaConCo>1100003</DWCtaConCo>
      <DWRecImp>300</DWRecImp>
      </row>
    Result:
    IDOC
       E1FIKPF
         E1FISEG
             hkont :1100002
             dmbtr : 200
    IDOC
       E1FIKPF
         E1FISEG
             hkont :1100001
             dmbtr : 300
    Payload:
    - <row>
      <DWSucCod>11</DWSucCod>
      <DWCajSec>1</DWCajSec>
      <DWCtaConCo>1100001</DWCtaConCo>
      <DWRecImp>100</DWRecImp>
      </row>
    - <row>
      <DWSucCod>11</DWSucCod>
      <DWCajSec>1</DWCajSec>
      <DWCtaConCo>1100002</DWCtaConCo>
      <DWRecImp>200</DWRecImp>
      </row>
    - <row>
      <DWSucCod>12</DWSucCod>
      <DWCajSec>1</DWCajSec>
      <DWCtaConCo>1100003</DWCtaConCo>
      <DWRecImp>300</DWRecImp>
      </row>
    Result:
    IDOC
       E1FIKPF
         E1FISEG
             hkont :1100001
             dmbtr : 100
         E1FISEG
             hkont :1100002
             dmbtr : 200
    IDOC
       E1FIKPF
         E1FISEG
             hkont :1100003
             dmbtr : 300

  • Converting problems with QT file!

    I have a few Quicktime MOV files that I want to send a friend who owns a PC. The problem is - he gets audio but NO video (black screen) when he tries to play or convert these files with any of his software. I tried to convert the file on my Mac using Xilisoft Video Convertor, but I have the same results when I try to convert the files to Divx, AVI, MP4 or any other format. I can ONLY see the video when I play the original MOV file in Quicktime. Any suggestions?

    an H264 exported from QT is a safe way to go for windows play back-its a daily occurance here
    file >export >quicktime movie > H264

  • Idoc to file problem with DynamicConfiguration

    HI SAP Guru's
    I have a iDoc to File scenario and the output file requirement is bit tricky.
    output file should be xx_Region_iDoc Number_YYYYMMDDHHMMSS
    I been through couple of blogs but non of them mentioned about the iDoc all of them showed the about the FileName in FileAdapter.
    I believe it is only possibly via Dynamic configuration.
    I need to extract E1EDKA1/LAND1, DOCNUM from Source IDoc Structure and then concat it with Date and generate the output file name.
    I cannot even get the iDoc Number i.e. DOCNUM via Dynamic Configuration.
    I was trying this method but it didn't work.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/IDoc","DOCNUM");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName; 
    Can somebody please let me know how to achieve this and how?

    Hi Rodrigo,
    I have done the UDF with 3 inputs and mapped it with header of Target side and now would like to know about the setting in File Adapter.
    1. Could tell me what do I need to write in "File Name Scheme" , I am using *.xml , is it right?
    2. I also check the Use Adapter Specific Message Attributes,
        Fail if Adapter-Specific Message Attributes Missing
        FileName
    Could you please tell me is there anything else I need to do because I have been through couple of blogs and all of them mentioned about File but not about the IDoc.
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    Except you who mentioned this
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/IDoc",fileName);
    I am bit confused about the FileName because there is no FileName in IDoc;
    I found these information in IDoc Dynamic Configuration
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Determination
      -->
    - <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPOR">SAPDGE</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPRN">DGE008</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="SNDPRT">LS</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPOR">A000000012</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPRN">CITIPHMX</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPRT">B</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="MESTYP">PAYEXT</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="IDOCTYP">PEXR2002</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="CIMTYP">ZPEXR2002</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/Message/30" name="CALLER_CODEPAGE">4102</SAP:Record>
      </SAP:DynamicConfiguration>
    Please comment.

  • Idoc to File: Problem with the Idoc

    Hi All,
    I am triggring the Idoc from WE19, I am using an Business Service in the configurations but the tiggred Idoc is going into a business system every time I am sending the Idoc. In SXMB_MONI its showing an error no reciver can be determined for that Business System.
    I am not able to understand whats going on behind and I have also tried using the business system with the same logical system I have created on R/3 but still the same error presists.
    Any clues please let me know
    Thanks and Regards,
    Srikanth

    Hi Ashish,
    This is the error:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Grouping
      -->
    - <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="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks,
    Srikanth

  • IDOC to JDBC, problem with the multiple line items structure and mapping

    Hi,
    I have a scenario where the ORDERS data need to update the SQL table. for the idoc which consists one line item its ok but for multiple line item its just updating one line item. In the destination side we have only one table for purchase order which consists of lineitem as a field.(no different tables for Header data and Line item data)
    Can anyone suggest me how to create a structure for target side and how to map them.
    Regards,
    CJ

    Hi Rajan,
    The table structure is
    [PO_DATE]
          ,[VENDOR_NO]      ,[PAYMENT_TERM]      ,[MATERIAL_CODE]      ,ORDERED_QTY]      ,RECEIVED_QTY]                                 
          ,[UOM]       ,[RATE]       ,[CURRENCY]       ,[PO_EXCRATE]       ,[TAX_CODE]       ,[BASE_VALUE]       ,[TAX_VALUE]
          ,[TOTAL_VALUE]       ,[ADVANCE_PAYAMT]       ,[TOTAL_QTY]        ,[SNO]       ,[POLINEITEM]
    Datatype structure:
    PO_XI_MT_ORDERS05 1-1
    STATEMENT   1-UNBOUN
      TABLENAME 1-1
        ACTION   optional
        TABLE    1-1
        ACCESS  1-1
           PO_NO   0-1
           PO_DATE 0-1
    Correct me if im wrong.
    Regards,
    CJ
    Edited by: kuncjy on May 5, 2011 11:32 AM

  • Converting problems with my N96

    does anyone know which programme to use so that I can load videos and watch them on my N96? I tried converting the file to mp4, and just use media transfer/file transfer, but it either converts it into a mp3 or it saves it as just a file which cant be opened. The same happens when I use PC suite, it either stops halfway throu conversion, converts it into a mp3 or just saves it as a file as mentioned above.
    Please could someone help me. I've checked all my setting and nothng seems to be wrong.
    Thank You 

    the following works on the n95 8gb so should work on the 96
    hi try this
    go to www.divxmobile.com
    download the mobile player  to your pc (s60 version)
    it will ask you to trans to your phone so obv you need to do this.
    now also download the divx converer too.(its free for 30 days so shrink all your films quickly)
    on the convereter select........MOBILE..... not qmobile .
    add your films to the converter and select convert.
    yes long winded but you only need do it once.
    your films will now be found in the divx movie folder on your pc.
    conect phone to pc and do the following.
    start/mt computer/nokia/mass memory/videos
    just drop your shrank films here.
    open the divx player on your phone and enjoy.
    i hope this helps

  • Problem with Inbound Idoc

    Hi everybody.
    I´ve got a problem with an inbound idoc. I've got a standard idoc INOTIF with an extension.
    To receive this Idoc from external systema I´ve created a Z FM to process this idoc.
    The problem is that when this idoc get to SAP the FM never is executed and the idoc appears with red flag and show me
    the next error: No status record was passed to ALE by the application and the idoc is shown with the status 51.
    ¿¿How can I fix this??
    Thanks a lot
    Regards

    hi
    and also give the funtion type is function module in we57 and in BD51 give ur ZFM and give 1 in input.t field.
    now you can see ur FM in WE42 under Identification field F4 value.
    The FM which is created by you  it should be in F4 help list fo field Identification in we42.
    and give the  Message type and Process code in we20 in inbound parameters.
    i am sure this will work .
    regards,
    Kiran Jagana

  • Problem with Custom idoc sending

    Hi Experts,
    We have created partner profile and port for receiver system, our idoc is Z (custom) idoc.
    but the problem is here, when we are sending that idoc from R/3 system, it is in Yellow position with message number 30. How we can solve this problem.
    Is there any other configuration required for Z (Custom) idoc.
    Please help,
    Regards,
    Study SAP

    hi check this...
    http://www.****************/Tutorials/ALE/CustomIDOC/Create.htm
    check  the process followed or not if u miss any steps then it will give warning....that is not a problem..see one thing after creating the idoc u need to give the status back to the idoc_status. otherwise it will not show the green message 51...we have to do it if this is the custom idoc ...otherwise if it is a standard one there is nothing to do it will automatically catch the message back.

  • Problem with HR inbound IDoc

    Hi,
    I have a problem with processing inbound IDocs from an external payroll system to infotype 0008.  The process is quite simple; salary changes from the payroll system is recorded to the corresponding employee's infotype 0008.  When testing I noticed that that the new record is recorded as is.  For example if there is already an existing record with the validity dates 01.01.2010 - 31.12.9999 and the new record in the IDoc is 01.01.2011 - 31.12.9999, the new record is written as is.  I would expect the system to delimit the old record correctly - similar to what would happen if you maintain records online.  There is no error checking or any kind of processing done by the system. 
    I did some debugging and found out that the function module linked to process code HRMD writes the information directly to the database.  If this is a standard way of doing this, it is really unusual.
    Has anybody else encountered this?  Any pointers?
    Thanks.
    Edited by: Theo Droste on Jan 20, 2011 11:56 AM

    Hi
    This is correct, the ale programme writes the data directly to the database, I have faced this isssue on occassion. I once raised an oss message on this as well, and sap confirms this is what happens. If it is a sap to sap ale, it somehow seems to work, - this could be because the outgoing idocs are created by sap itself  but if it is a non sap to sap ale the onus is on us to ensure that the external system sends the correct data to sap in the way we intend it to be displayed.
    that is how it has been in my experience. It is unusual, but apparently not impossible. Please let us know if you find out anything different.

  • Problems with sending IDOC in tRFC.

    Hi All,
    I am sending IDOC to websphere from SAP.
    Problem is very weird. All the IDOCs have status 03, but some of them never reach webshpere.
    I checked SM58 and there are some tRFC entries for the same.
    Following is the error there:
    Check SAP Connector log. Error in BO Handler.
    I think problem is after the data has been sent to ALE layer.
    Can anyone suggest what can be the issue? And how can this be resolved.
    Regards
    Anuj

    Hi Anuj,
    As it seems like from the error message there is some problem with the way BO handler is responding to request BOs .
    The base class to initialize the connector has been set properly though.
    Check the log in SM21 on this and it might give you the detailed information.
    Also check if you are passing the large objects, which might require some additional config.
    Hope these pointers help in solving the issue.
    Cheerio,
    Disha

  • Problem with IDoc for an outbound delivery

    Dear All,
    I am facing a problem with the IDoc defined for an outbound delivery.
    Scenario:
    Implementation of a small enhancement for an IDoc (DESADV, DELVRY01) created for an outbound delivery (in VL02N).
    What I did:
    I implemented the EXIT_SAPLV56K_002 exit in the V56K0001 enhancement, activated in SMOD, assigned V56K0001 component in CMOD and acivated it. Then I put a breakpoint on the ZXTRKU02 include. For me everything in SMOD and CMOD looks OK.
    I have also created a partner profile, port, outbound message config. (message DESADV, basic type DELVRY01, application V2, output message type LAVA, process code DELV. function module used for this process code is IDOC_OUTPUT_DELVRY).
    What I can do:
    I can issue an IDoc message, it looks ok and contains the standard data.
    Problem:
    It seems that the enhancement does not work. Finally I put there only one line of code to avoid a program bug and just to check . The system does not stop at the breakpoint (set on the ZXTRKU02 include in the EXIT_SAPLV56K_002 exit).
    Am I using the proper exit? I appreciate any suggestions.
    Thanks,
    Grzegorz Skorus

    Hello Grzegorz
    Not an expert on this, but noone is responding so I thought let me try and help you. You seem to be doing the right things as mentioned in OSS note 1498409.
    Firstly since this can be called form Shipment Idoc also, you may need to make a differentiation by the interface parameter 'MESSAGE_TYPE' or segment name. See the attached OSS note, though it belongs to older releases,  it may help you.
    Also help says 'The callup of this function module is programmed for each enhancement of the internal table for the IDoc (in other words, when you add an extra segment'. So may be you need to add an extra segment/field to make it work.
    Futher  the user exits are replaced by BADIs. May be you should use exit_badi_v56k.
    Hope this helps and others will pitch in.
    1498409 - Valuation Type unavailable when creating deliveries using IDOC
    631913 - Exit after formatting delivery IDoc type DELVRY

  • Acrobat 11 Pro - problem with right-click "Convert to Adobe PDF" output folder

    I'm migrating from one machine running Windows XP Pro with Acrobat 8 Pro to Windows 7 Pro with Acrobat 11 Pro.
    On the XP machine, when I right-click on a document and select "convert to Adobe PDF" the process works just fine - it always outputs the file to the target destination I have set in the Adobe PDF printer definition.
    On the Windows 7 Pro/Acrobat 11 Pro machine, the exact same settings are ignored: the PDF will always end up in the same folder as the source file.
    Both the source folder and the destination folder are on one of my office's networked drives.
    Under the Printing Preferences, I have the output folder address set the same on both machines, so it *should* go to the right location on the new machine.
    Oddly enough, on the Acrobat 11 Pro machine, if I select Adobe PDF as the default printer and do a test print, it *does* print to the correct folder!
    This has got me stumped!
    Thoughts?
    (update from later in the day)
    If Adobe PDF is selected as the default printer, I *can* select a bunch of documents, right-click, select "print", and Word will open up, and they'll print to the correct target folder.
    So, it's "just" the right-click "Convert to Adobe PDF" that doesn't work correctly.

    The reinstall is typically the last ditch effort to do. The first step is Help>Repair and Help>Updates. As far as Office 2013, the PDF Maker of AA X is not compatible and you can only print. In your list of errors it showed a problem with AcroTray.exe. As a first step, go to the print and select print-to-file. The file will be a PS file (maybe with a PRN extension). Once the printer if finished, open the file in Distiller to complete the process. If that is successful, then the problem is with AcroTray. Check your running tasks to be sure AcroTray is indeed running. If not, that is likely the problem. If it is, then restart it (it is located in the Acrobat folder). AcroTray provides the interface between the PS creation and Distiller to automate the process of creating the PDF.

  • Problem with Nokia Music Manager 2.0 converting mp...

    Hi everyone!
    I have a problem using the Nokia Music Manager 2.0. I want to convert some mp3-files into "Mobile Optimized Format". If a start conversion it fails and says Track cannot be converted because it is already in the target format or file format is not supported. However, the files worked on my previous computer with WinXP. Now I'm using Vista Business. The conversion will always proceed to 50% and break then. I have the feelng it's a problem with the rights to write the new file. Running it with administrative rights or in compatibility mode did not either.
    Can anyone provide help?
    Thanks!
    Toonfish

    i'm having the same problem... ever since nokia upgraded pc suite a few months ago, and i had to get a new version due to a problem with my computer, i can't put music onto my phone using the music manager 2.0. so i've been just copying them in their mp3 formats but of course it's alot more space that could be saved if i could have them in the AAC+ pr M4A formats.
    i checked out download.com (they offer alot of free to try and free in general programs) and i searched for mp3 to m4a
    i found this program " Abcc Free Music to MP3 AMR AAC OGG Converter 3 "
    I downloaded it, which only took maybe 5 minutes, and then installed it (another maybe 2-3 minutes)
    I'm trying the program now and.... IT WORKS.
    i just converted about 6 pm3's to m4a's and it took about 3-4 minutes. try it !

Maybe you are looking for

  • "Authorization error" while accessing Multiprovider in Analysis for excel tool

    Hi, We are using "Analysis for excel" 1.4 version. My users are executing all queries out of any MP with out any issue. But while accessing Multi Provider in "Analysis for excel" tool they are geeting "Authorization" error.  Any suggestions please. T

  • IMAP Mail Messages Deleted Not Moved to Trash on Server

    Hi, I'm having a heck of a time trying to get the server to update my account after I delete e-mail messages using my IMAP account in Mail. I am using Mail Version 2.0.7 and my Mailbox Behaviors in Preferences>Accounts for Trash are set to Move delet

  • Can I have the warrinaty of IPHONE 4S in other countries?

    Can I have the warrinaty of IPHONE 4S in other countries?

  • URL LINK -DMS

    Dear all, My requirement was hyperlinking to a original file which is stored in one DIR from another file which is stored in same or another DIR. MY client requirement is to open of original of nay document thrperlinkough giving hyperlink . he wants

  • Problem sending a value to pls/ql procedure

    Hi i have a weirdly probelm in my MDB. I will try to explain the problem below. I have an MDB that recives an XML and retrieves a vlue from XMl and sends it to a pl/sql procedure for processing and storing it. String input = ixml.getParent(); cs = co