Problem in updating CT04 through IDOC

hi,
The main problem is the same code working in one server and not working in other.
I am creating characteristic using IDOC with message type CHRMAS and standard function module.
characteristic  created successfully. But while trying to update the characteristic through Idoc, the Basic data description field becomes empty though it processes successfully.
I am also passing values for the description tab for language EN and Z1.
Passing the following values in both create and change :
E1CABNM-->
ATNAM
ATFOR
ANZST
ATKLA
ATMST
FUNCTION
E1CABTM-->
ATBEZ
SPRAS_ISO
Any suggestion.........
Regards,
Tanmay

Hi,
Populate it this way :-
LOOP AT IT_DATA into wa_data.
  CALL METHOD CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
    EXPORTING
      IM_VALUE               = WA_DATA
    IMPORTING
      EX_CONTAINER           = EDIDD-SDATA
    EXCEPTIONS
      ILLEGAL_PARAMETER_TYPE = 1
      others                 = 2    .
append EDIDD.
ENDLOOP.
Thanks,
Best regards,
Prashant

Similar Messages

  • Problem while updating Data through IDOC

    hi!
    I have declared an Internal Table like a structure which has 10 fields.
    To generate Idoc i need to pass the records from Internal Table to EDIDD-SDATA.
    Since SDATA is a string of Char 1000, i'm concatenating all the columns of internal table to a variable.
    In debug mode all the fields size are adopting to its correct size.
    but after generating the IDOC and view through WE02 the data are miss placed bz of inclusion of space.
    Example:
    field1 (Size 4) - ABCD
    field2 (Size 10) - 0000001234
    field3 (size 10) - 09.02.2010
    field4 (Size 6) - _12345
    field5 (Size 4) - 6 AB --> missed character is continuing in next field after a space data of its corresponding field starts
    field6 (Size 3) - C 2 -->missed character is continuing in next field after a space data of its corresponding field starts
    Tried by suppressing the space. CONDENSE NO-GAPS. . . .it dnt help me
    How to solve this
    Regards
    Kv

    Hi,
    Populate it this way :-
    LOOP AT IT_DATA into wa_data.
      CALL METHOD CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
        EXPORTING
          IM_VALUE               = WA_DATA
        IMPORTING
          EX_CONTAINER           = EDIDD-SDATA
        EXCEPTIONS
          ILLEGAL_PARAMETER_TYPE = 1
          others                 = 2    .
    append EDIDD.
    ENDLOOP.
    Thanks,
    Best regards,
    Prashant

  • Problem with Update Account through WS - newbie

    Hi everyone,
    I'm having problem when updating an Account through the web services. The error is SBL-EAI-04381, it seems like a duplicate error... but it is an update and isn't the ID the primary key? or is it compound and I am missing another field?
    The error I receive is this:
    +La instancia de componente de integración 'Account' con la clave de usuario '[Id] = "AAFA-3WME5H"' ya existe en la base de datos de Siebel.+
    Asegúrese de que los valores de campo del mensaje de entrada no estén repetidos.(SBL-EAI-04381)
    I am using C# for this project. I am first making a query of the account and then creating a new account1 object for making the update.
    The portion of code where I am making the WS call is this. The Account accRef object is the proxy class made by the WSDL tool.
    Account accRef = new Account();
    accRef.Url += ";jsessionid=" + this.sessionManager.JSessionID;
    AccountWS_AccountUpdate_Input qIt = new AccountWS_AccountUpdate_Input();
    qIt.ListOfAccount = new Account1[1];
    qIt.ListOfAccount[0] = accountData;
    AccountWS_AccountUpdate_Output qOt = new AccountWS_AccountUpdate_Output();
    qOt = accRef.AccountUpdate(qIt);
    The code where I am filling the AccountData object is this:
    Account1 ac = new Account1();
    ac.AccountId = fields[0];
    ac.AccountName = fields[1];
    ac.CreatedDate = fields[2];
    Am I missing some fields or option to check? I will appreciate any input.
    Thanks,
    Mario

    I have found the problem and it was because I made a mistake in coding when creating the Account Object.
    I have been putting the ID in the ID and the accountname too...
    The error of duplicate could be because AccounName and ID are identity fields as you have said. I debug it again and found the problem.
    Thanks for your help Jaya,
    Mario

  • Unable to send PO through IDOC

    Hello!!
    Good Evening.
    I have a problem, while sending PO through idoc orders03, some idocs are going fine and some are stucking and i cross checked the succesful and failed idocs and came to know that, one segment is missing.
    How this has happened.
    Actually, E1EDKA1 is the segment.
    How to track this issue and rectify the mistake.
    Reply ASAP...!!

    It is the case that from sender system, you are sending data in a segment(we31) which you have not maintained in the idoc type(we30)  in the receiver system.there may be an extension which you have to add in the message type in the patner profile.
    doing this will completely resolve the issue.
    you may reprocess your i/b idoc from BD87 after maintainng the extension(we30)
    let me know if you have any doubt

  • HT4623 Hi,        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be ac

    Hi,
        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be activated because the activation server is temporarily unavailable,try connecting your iphone to itunes to activate it,or try again in a couple of minutes.i tried many times but it again shows the same message,
    after installation,when i connect my iphone to itunes it shows a message that we are unable to activate your iphone at this time please try again or contact customer care.please reply me urgently to resolve this problem.

    That is usually a symptom thet the phone was hacked or jailbroken. Was it?

  • Updating Street2 for Ship-To through Idoc in Sales Order

    Hi,
    I am trying to update Street 2 for the Ship-To / Bill-To customers while creating the Sales Order through Idoc by updating the value in E1EDKA1-STRS2 but it is not getting reflected in Sales Order.
    Please suggest if there is any way to handle this.

    Hi,
    Option 1)
    Search in the oss notes with the keyword E1EDKA1-STRS2.
    Option 2)
    Use the user exit EXIT_SAPLVEDA_001 and modify the following internal table in the user exit
    DXVBADR   = XVBADR
    Thanks
    Naren

  • Function Module to Update Shipment Cost Document through Idoc.....?

    Is there any EDI function module which can Update Shipment Cost Document through Idoc.....

    Hi Vijendra,
    Welcome to SDN.
    You can use FM IDOC_INPUT_SHPMNT with message SHPMNT and IDoc type SHPMNT01/02/03/04/05 to update shipment document.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if very helpful.

  • Facing problem while updating IInfotype 0009-bank details through workflow

    Dear SAP Gurus,
    I am facing a problem while updating Infotype 0009 through workflow which is integrdated with portal.
    Scenario:
    Employee logins to portal and changes his/her bank details like payee name, bank key, account number, postal code and city of bank, bank name etc.
    Once he submits the request, my workflow is triggered through SAP_WAPI_START_WORKFLOW which is called from portal and goes through various approval steps and finally reaches the step where the container elements are finally to be updated in IT0009.
    Field bank account number (BANKN), which is part of table PA0009 are easily updates using the FM HR_INFOTYPE_OPERATION by first enqueuing the employee number and after the update dequeuing it.
    However fields like payee name (EMFTX) bank key (BANKL) , bank name(BANKA -structure BNKA_BF-this is automatically fetched based on bank key) and postal code(BKPLZ) and city of bank (BKORT) are from structure Q0009 (on the infotype 9 screen level) and from table BNKA (at table level). The problem is that these are not getting updated by HR_INFOTYPE_OPERATION as they are not the part of infotype 9.
    Can anyone help me to understand how can these fields be updated ?
    Quick help will be highly appreciated.

    Hi Spantaleoni,
    Thanks for your quick response.
    Well actually the table BNKA is a master table for the bank information and we must not create entries in it or update the table programatically,  rather we should  use the available data in it.
    Now say employee currently has bank as A and he wants to change it as B which is available in BNKA then he will just select the bank B from search help provided in portal which again comes from table BNKA only. Employee then submits the info and it must get updated in the infotype PA0009.
    As far as think, this should be done on screen level of infotype PA0009 as I have already mentioned that certain fields are coming from structure Q0009 and they cannot be updated on PA0009 table level.
    I am just looking for way through which I can update the screen of infotype PA0009 of employee through workflow.
    Regards

  • Updating Cnfigurable Material through IDOC to AFS material master

    Hi Guru's,
    Well i am trying to create a afs material through IDOC, i created all the views in the afs material master using /AFS/MATMAS type in WE19 and i got the result as well all the master data views came. But the thing is i am not able to pass the configurabile material in MRP3. As of , SDN or OSS note is saying that it is not possible to do that.
    I hope there will be some possiblities to get done it. It will be greatfull if any one provide the information about it.
    Thanks and Regards,
    Madhu.G

    Hi Gurus,
    Well my previous question about the creating configurable material through IDOC.?
    At last we find the solution for that, as in SAP OSS note says there is nopossibility in some way and also said that STD PD field was added wrongly in /AFS/MATMAS05.
    But the ultimate solution is we need to add a segment in the IDOC which contains the characteriastics will be updated automatically and  add up the segment E1CUCFG.
    Here is the solution:
    *add up the segment E1CUCFG
    Thanks & Regards,
    Madhu.G
    Edited by: madhu333mac on Aug 25, 2011 1:07 AM

  • Problem regarding updation of Z-table through maintenance view

    hi ,
    I m facing problem in updation of Z-table through maintenance view (SM30).
    The scenario is that I have one customizing field in my Z-table which is checkbox.
    Now I need to populate 2 fields in Z-table on tick of this checkbox and clicking of SAVE button.
    For this I have created one module  ''change_field''  in PAI.
    Actually my database table is being updated but as soon as the control left my module all the updation that take place vanishes away.....
    So please help me in this matter.

    Thanks for ur previous effort it is updating the database but its effect is not shown immediately on screen.After i referesh the transaction it is dispalying the data.
    So can u please suggest me any way....
    Now i have one scenario infront of me....
    I need to restrict the data shown in maintenance view.
    I think it would be same as pop-up window displayed when we tick on 2nd radiobutton ("ENTER CONDITIONS")
    of intial screen of t-code SM30.
    Please suggest what shud i do....
    Thanks and reagrds,
    Amit
    Edited by: amit gupta on Jul 18, 2008 1:35 PM

  • TS4006 Facing problem in updating my apps through wifi since last two weeks?

    Facing problem in updating my apps through wifi since last two weeks?

    Hi there,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398
    -Griff W.

  • I bought an iPad in June 2012 and have it worked fine, but after 2 weeks of purchase, he began to hang up, then the sound disappeared and the screen became black. I updated all through itunes, but the sound is still absent, and still problem with sound an

    I bought an iPad in June 2012 and have it worked fine, but after 2 weeks of purchase, he began to hang up, then the sound disappeared and the screen became black. I updated all through iTunes, but the sound is still absent, and still problem with sound and iPad still doesnt work.

    Take it to an Apple Store for evaluation.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
     Cheers, Tom

  • Failing Search String in EBS through IDOC

    Dear All,
    we upload our EBS through idoc processing of type finsta. The problem is that for a particular bank theres a search string attached which will replace the posting rule if a certain but fix narration (say "Trf 66852")  is received in note to payee field apart from the fixed external transaction code. The problem is that, in the idoc segment, though i am putting the same fixed narration as Trf66852 however the posting rule is not replacing. I am not able to determine even if the search string is working. I tried checking in EBSTS but apart from two blank lines nothing much is appearing. If anyone ever come across this issue pls share your experience.
    best regds
    Subha

    Hi Subha,
    The Notes to payee updates from FINSTA IDoc should work.
    1. If you want to know if the configured search string is working or not, you can simulate it in OTPM, where the  search strings are defined in the search string definition > Simulation. You need to entry the text from bank in Simulation and click on test.
    2. Secondly, you can check in table FEBRE where the notes to Payee fields are updated.
    Regards,
    Kavita

  • Creation of Business Partner through IDOC

    Dear All,
    I have to create a business partner which happens through Idoc of message type DEBCOR. My problem is that though I am getting the IDOC message as incoming type which is also getting processed however the creation of BP is not happening. Since IDOC is also showing in green as successfully processed, I dont have any clue where to check it. Any idea as to what could be the possible problem ?
    best regds
    Subha

    IDocs and BAPIs sometimes behave differently than transactions. You might need to add a user exit specifically for IDoc processing. Otherwise send a message to SAP and have them look at it.

  • Item text is not appearing in the print output through IDOC?

    Hello ,
    I am changing the PO through IDOC. When ever there is change in the quantity ,net price and delivery date  the print out put is generated autoamtically and changes are appearing the print output.
    when ever there is change in the item text of PO print output is not generatiing but item text is updated in the PO.
    If i change manually print out is generating for item text also but through IDOC print output is not generated . please help to slove this isuue.
    i am passing the value as :
        idoc_data-segnam = 'E1BPMEPOTEXT'.
        e1bpmepotext-po_item = Po line item number .
        e1bpmepotext-text_id = txtid.
        e1bpmepotext-text_form = textform.
        e1bpmepotext-text_line = line item text .
        idoc_data-sdata = e1bpmepotext.
        APPEND idoc_data.
        CLEAR idoc_data.
        CLEAR e1bpmepotext.
    please help me it is urgent
    Thanks
    Venkatesh

    Hi Venkatesh,
    Check the condition record in transaction NACE. Whether the print output field is present in the condition record.
    Regards,
    Gajendra.

Maybe you are looking for

  • Print RFKORD50 only for customer line ?

    I have to print credit note only for  customer line (account type 'D'). Then I use TCode F.62 using printing program RFKORD50. But RFKORD50 will print for customer & vendor line. Could you please to help me to only print customer line ? Is there any

  • Oracle Real Application Clusters Guard

    Is that separate install different from RAC install ? Is Cluster Guard is mandatory for Oracle 9i RAC environments ?

  • Oracle 10g Lite Review

    Hello, It seems there are a lot of folks out there who have successfully implemented Oracle Lite solutions for their remote users and leverage database snapshot replications. Can anyone please share their input about this product from implementation/

  • CutOver

    Hi, Can we upload previous transactions ( Sales Order, Deliveries, Invoices etc...) during CutOver thru (LSMW,BDC....)? For that I heard there should be no Open order, open delivery or open billing, is that right? What is the standard duration for Cu

  • Safari will not load my website. Driving me totally insane.

    Okay. This problem is pretty much UNSOLVABLE and if anybody can help me get to the bottom of this, I will be their best friend for eternity. Every single support person I have asked has had no idea how to fix this. THE PROBLEM: My portfolio website l