Position data not getting ALEd correctly through change pointers

Hi All,
When Posiiton is updated in One system, it gets transfers to another systems through ALE/IDOCs using change pointer method.
when a new holder is assigned to the position in system A,  the updated data is not getting tranfered to system B.
All the ALE settings are correct, background jobs are scheduled correctly for the change pointers.
How ever the updated position data is not getting transfered to system B.
The IDOCs are faling with message " Relationship starting from 01O XXXXX impossible - 01S XXXX does not exist/is not active".
Please let me know how to over come this error and tranfer the posoition data when ever it is changed.
Thanks & Regards,
Preethi G

hello Sagar,
u r dynamically generating dropdowns in ur view say VIEW1.U must be generating ur UI dropdowns on click of the button under a trnsparent container with a particular DROP DOWN INDEX ID .
in ur onActionAdd method if u r generating drop downs with ID say DD101, DD102, DD103 and so on ...
thn in ur close button , u need to use the method REMOVE_CHILD_NODE and try to remove the dropdowns with same index .
u cn take reference of this code :
DATA :
    DATA:
            lr_node_info     TYPE REF TO if_wd_context_node_info ,
            lr_node          TYPE REF TO if_wd_context_node,
            dd_indx_id       TYPE string .
CONCATENATE lv_node wd_this->count_sysdel INTO lv_node.
        dd_indx_id = 'DD_1'.
        wd_this->count_sysdel = wd_this->count_sysdel + 1.
        wd_this->count_dd_sys = wd_this->count_dd_sys + 1.
        CONCATENATE dd_indx_id wd_this->count_dd_sys INTO dd_indx_id.
        lr_node = wd_context->get_child_node( name = lv_node ).
        lr_node->invalidate( ).
        CALL METHOD lr_node_info->remove_child_node
          EXPORTING
            name = lv_node.
        lo_drdwn = lo_container->remove_child( id = dd_indx_id ).
here lv_node is the name of ur node , I am using count_sysdel of type NUM and concatenate statement
to provide unique names to the generated node.
u cn declare it under the attributes tab .
u can have dd_indx_id = 'DD_1' and increment count each time using
wd_this->count_dd_sys  which is another counter .
do revert back if u need any assitance ,it shud help .
rgds,
amit

Similar Messages

  • Arabic data not getting printed correctly

    Dear Freinds,
               I have developed a smartform where in i have to print the English Name and Arabic name one below the other .
    So to ge the ARabic letters to be get printerd i have used the Device type ARSWIN,
    i can see now the data  being displayed correctly for Arabic name in PRINT PREVIEW ,however when i take printout of the same in the printer which is assigned to my system i can see that the data is getting jumbled on the printed stationery and i can very cleary see that data which is there on Print preview is different to that printed matter , so i have checked with my Arabic collegue and he said  after reading the print preview that it is getting displayed correctly but the data in the printed output paper is not correct  .
    So  I really not able to figure out why it is displaying correctly in Print Preview and not getting this printed  on the printed stationery .  Could any one please help me out what i should do in gettign the data also correctly in the Printed data on the Stationary paper.
    Thanks & Regards
    Divya.
    Edited by: Divya Kumari on Oct 3, 2011 7:48 AM
    Moderator Message: Moved to right forum.
    Edited by: kishan P on Oct 3, 2011 11:24 AM

    Hi,
    Now i understood your problem.
    I think you are using Text Elements to print Arabic Text.
    Use Include Text instead of Text Elements.
    By using So10 you can create Standard Texts.
    Note: Create these standard texts under language key "AR".
    Hope it solve your problem.
    Regards,
    Suresh
    Edited by: suresh kumar on Oct 16, 2011 6:33 PM

  • Item data not getting populated correctly

    Hi All,
    I am using the following code to fill item data while creating order using BAPI_BUSPROCESSND_CREATEMULTI.
    loop.
    *----Fill the Item details
    lv_number = lv_number + 10.
    lv_schdno = lv_cshdno + 1.
      ls_item-handle            = '0000000001'.
      ls_item-header_handle     = '0000000001'.
      ls_item-ordered_prod      = lv_ordered_prod.  "material
      ls_item-number_int        = lv_number.
      INSERT ls_item INTO TABLE lt_item.
    *----Fill the Scheduline Details
      ls_scheduleline-item_handle      = '0000000001'.
      ls_scheduleline-handle           = '0000000001'.
      ls_scheduleline-quantity         = lv_quan.
      ls_scheduleline-schedlin_no      = lv_schdno.
      INSERT ls_scheduleline INTO TABLE lt_scheduleline.
    endloop.
    Order is getting created fine but it has only the last item. Previous line items are not getting added to the order. Do I need to pass any other parameters ot the item or scheduleline table?
    Please help me.
    Thanks in Advance!
    Sonali.

    Hi Marisa,
    Thank you for the reply!
    I have incremented the ls_item-handle and ls_item-header_handle fields. Now it is taking the first line item only and ignoring the rest of them.
    Should I increment the ls_input-fields-ref_handle value also?
    Thanks,
    Sonali.

  • Dynamic data not getting populated correctly

    Hello Experts,
                            I have a button on click of which, i m dynamically generating drop downs,In the same view i hav another button
    "CLOSE" on click of which i m navigating back to main view.
    Now the problem is ,when i select the second row from table of my main view and again when i m back to this view. the drop
    downs are getting populated which i genrated earlier.I don't want these dynamically generated drop downs to appears.
    I am using the method "REMOVE_CHILD_NODE" of the interface "IF_WD_CONTEXT_NODE_INFO"
    Any pointers rgding dis would be appreciated.
    rgds
    Sagar

    hello Sagar,
    u r dynamically generating dropdowns in ur view say VIEW1.U must be generating ur UI dropdowns on click of the button under a trnsparent container with a particular DROP DOWN INDEX ID .
    in ur onActionAdd method if u r generating drop downs with ID say DD101, DD102, DD103 and so on ...
    thn in ur close button , u need to use the method REMOVE_CHILD_NODE and try to remove the dropdowns with same index .
    u cn take reference of this code :
    DATA :
        DATA:
                lr_node_info     TYPE REF TO if_wd_context_node_info ,
                lr_node          TYPE REF TO if_wd_context_node,
                dd_indx_id       TYPE string .
    CONCATENATE lv_node wd_this->count_sysdel INTO lv_node.
            dd_indx_id = 'DD_1'.
            wd_this->count_sysdel = wd_this->count_sysdel + 1.
            wd_this->count_dd_sys = wd_this->count_dd_sys + 1.
            CONCATENATE dd_indx_id wd_this->count_dd_sys INTO dd_indx_id.
            lr_node = wd_context->get_child_node( name = lv_node ).
            lr_node->invalidate( ).
            CALL METHOD lr_node_info->remove_child_node
              EXPORTING
                name = lv_node.
            lo_drdwn = lo_container->remove_child( id = dd_indx_id ).
    here lv_node is the name of ur node , I am using count_sysdel of type NUM and concatenate statement
    to provide unique names to the generated node.
    u cn declare it under the attributes tab .
    u can have dd_indx_id = 'DD_1' and increment count each time using
    wd_this->count_dd_sys  which is another counter .
    do revert back if u need any assitance ,it shud help .
    rgds,
    amit

  • Contact person Rel.ship Data not getting updated in B2B Web User Mngt

    Hi CRM Gurus,
    Need some help on Web User Management functionality.
    Sub: Contact person Relationship data not getting updated when we change the company (to wich contact person belong to) in ISA CRM 5.0 Web User Management.
    we are currently on CRM ISA 5.0 and using Web User Managment for our B2B scenario. New creation of users is working fine. But when we want to change the company (Sold to pary) for the existing contact person, the relationship data in CRM is not getting updated and the below are the details.
    Contact person No: XXXX (has a Relationship: "Is contac person for YYYY company in CRM)
    Company/Sold to Party: YYYY (has a relationship "Has contact person XXXX in CRM).
    When I chage the contact person's (XXXX) company  from  YYYY to ZZZZ,
    - Relationships of the new assignment for ZZZZ in CRM not getting updated.
    - Old Records in YYYY is not getting deleted (i.e. relationships.
    - There is No relationship data appear in XXXX.
    Appreciate any inputs on the same.
    Thanks,
    Rahul >>>

    Hi Rahul,
    I'd suggest you running a session trace / ABAP debugging to see if some information is not getting passed from the Java stack onto the ABAP stack. An alternate move would be to create a new OSS customer message.
    Cheers,
    Ashok.

  • HT4859 The guy at the verizon store programmed my phone before I got the chance to restore my apps, etc. from icloud- therefore i did not get to go through the setup assistant..  How do i get my apps and app data back on my phone w/o having to go through

    The guy at the verizon store programmed my phone before I got the chance to restore my apps, etc. from icloud- therefore i did not get to go through the setup assistant..  How do i get my apps and app data back on my phone w/o having to go through and re-

    To restore from an iCloud backup you have to erase the phone and start over.  To do this, go to Settings>General>Reset, tap Erase All Content and Settings, then go through the setup assistant again and when given the option, choose Restore from iCloud Backup.  There is no other way to do this.
    Be sure you phone is connected to wifi and your charger as this is likely to take some time to finish.

  • Not getting the correct data at reciever side

    Hi
    I have done mail adapter... My senario is Mail --> XI --> File... In this mail adapter is sender. i have give the url as pop://<ip address> the xi server is picking up the file...
    Source File Is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Mail_Message_Type xmlns:ns0="http://mailtofiledemo.com/ravi">
       <Order>
          <Header>
             <Name>Ravi</Name>
             <Address>Vsp</Address>
          </Header>
          <Item>
             <material>Computer</material>
             <units>3</units>
             <price>90000</price>
          </Item>
       </Order>
    </ns0:Mail_Message_Type>
    Target File is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:File_Message_Type mlns:ns0="http://mailtofiledemo.com/ravi">
    <row>
       <name>Ravi</name>
       <address>Vsp</address>
       <material>Computer</material>
       <units>3</units>
       <price>90000</price>
    </row>
    I have  an unread mail in my Inbox and i have attached the source file to that mail... the server is picking up the file but in receiving side i am not getting the correct target file... i am getting the target file like:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:File_Message_Type xmlns:ns0="http://mailtofiledemo.com/ravi"></ns0:File_Message_Type>
    </ns0:File_Message_Type>
    eventhough if i dont have any unread mails in my inbox i am getting the same file at target side continuosly...so please give me the solution as early as possbile or else my folder will going to be overflow with that target file
    Thanks & Regards
    Ravi Shankar

    Ravi,
    Have to check the Transport Protocol used by internal Mail Server. The parametes you pass to the mail adapter should be same to the internal mail sever where you are trying to send and also check with XIPAYLOAD option.
    If this helps to u. Allot the points please.
    Thanks
    Gowri K

  • Data not getting populated in Payslip in ESS Portal

    Hi All
    I am tryig to display Payslip in Portal. Have done all the necessary configuration in Benefits and payments->Salary statement->HRFOR/ EDTIN features.
    Correct Payslip form is visible but data is not getting populated in the payslip.
    Have tested the Payslip in PC00_M40_CEDT transaction with the variant i have set for HRFOR/EDTIN features and Payslip data is displayed correctly.
    Have checked for PZ11_PDF transaction but i get a message saying it cannot be accessed through Easy access.
    Can anyone pls let me know what might be the reason for data not getting populated in Payslip in Portal?
    what is role of PZ11_PDF transaction in Payslip display in Portal?
    Regards
    Asha

    Hello,
    Do one thing for executing the PZ11_PDF trsaction please follow following steps.
    1. Once you log in SAP system with same User - Id which you r using on Portal .
    Once log in PUT "/N" in the command box . Then put the trasaction "PZ11_PDF" and execute it will
    Call the salary statement .
    Or
    Once you log in SAP system put the trasction "/nsbwp" then give the trasaction "PZ11_PDF" it will
    call the salary statement ..
    give inputs once you done
    .....The issue with  Authorisations please check it ...
         Add this object in ESS role "S_SERVICE' ...
        and this object in ESS role "P_PERNR" ---infotype 0008
    Edited by: Vivek D Jadhav on Jun 15, 2009 11:49 AM

  • Data not getting populated in ESS Payslip in portal

    Hi All
    I am tryig to display Payslip in Portal. Have done all the necessary configuration in Benefits and payments->Salary statement->HRFOR/ EDTIN features.
    Correct Payslip form is visible but data is not getting populated in the payslip.
    Have tested the Payslip in PC00_M40_CEDT transaction with the variant i have set for HRFOR/EDTIN features and Payslip data is displayed correctly.
    Have checked for PZ11_PDF transaction but i get a message saying it cannot be accessed through Easy access.
    Can anyone pls let me know what might be the reason for data not getting populated in Payslip in Portal?
    what is role of PZ11_PDF transaction in Payslip display in Portal?
    Regards
    Asha

    Asha,
    Maintain Feature EDPDF which determines the SMARTFORM being used to make the payslip available for employees. This is more of a HR related issue and I believe if you post this in the ESS or HR Forum you would be able to resolve this issue.
    Good Luck!
    Sandeep Tudumu

  • Adhoc Query data not getting displayed on Portal

    Hi,
    I have a problem with custom Adhoc query data not getting displayed on the portal.
    It was getting displayed initially but after a user made some changes to the query its not getting displayed.
    The query is displaying data perfectly on R/3 but on portal ..Its giving the message no data found.
    Can anyone help me on this.
    Also if anyone can tell me how do i debug an Adhoc query from potal.
    Is there any tool to debug an Abap program from portal.
    I dont want to use trace,
    Thanks
    GT
    Message was edited by: GT

    Hi GT
    find out the EXACT query u want to launch if it's display
    in BW buisness explorer then change the iview property
    for that query in portal . right click on iview
    BEx Web Application Query String -> assign correct query
    regards,
    kaushal

  • Data not getting inserted in R/3 System from Webdynpro

    Hi,
    We were trying to insert some data into r/3 z-table using a Custom BAPI using RFC.
    But the data is not getting inserted.
    Through I commit is being performed explicity.
    Please help:
    Below is the code :
    Controllor code :
    public void wdDoInit()
        //@@begin wdDoInit()
         try{
            Z_Bapi_Rfq_Test_Input objStatus = new Z_Bapi_Rfq_Test_Input();
            wdContext.nodeZ_bapi_rfq_test().bind(objStatus);
    //        Create a new element in node Bapi_Transaction_Commit_Input
          Bapi_Transaction_Commit_Input inputCommit =
          new Bapi_Transaction_Commit_Input();
          wdContext.nodeBAPI_TRANSACTION_COMMIT()
          .bind(inputCommit);
            //Bapi_Transaction_Commit_Input obj;
           // wdContext.nodeZ_Bapi_Quo_Salesrep_Status_Input().invalidate();
            //wdContext.nodeOutput().invalidate();
            //wdContext.nodeRfq_Status().invalidate();
              } catch(Exception rfqException){
                        wdComponentAPI.getMessageManager().reportException("rfqException="+rfqException.getMessage(),true);
        //@@end
    public void executeBapi( )
        //@@begin executeBapi()
         try{
                   Z_Bapi_Rfq_Test_Input  obj = wdContext.currentZ_bapi_rfq_testElement().modelObject();
                   AbstractList   objAbBapiPartner = new Bapiparnr.Bapiparnr_List();
                   Bapiparnr objBapiPartner = new Bapiparnr();
                   objBapiPartner.setPartn_Numb("0000001046");
                   objBapiPartner.setPartn_Role("AG");
                   //obj.addPartner(objBapiPartner);
                   objAbBapiPartner.add(objBapiPartner);
                  obj.setPartner(objAbBapiPartner);
                  Bapisdhd1 objBapisdhd1 = new Bapisdhd1();
                   objBapisdhd1.setSales_Org("2500");
                   objBapisdhd1.setDistr_Chan("30");
                   objBapisdhd1.setDivision("20");
                   objBapisdhd1.setDoc_Type("ZRFQ");
                 obj.setHeader(objBapisdhd1);
                 obj.execute();
    //             Synchronise the data in the context with the data in the model
                   wdContext.nodeZ_bapi_rfq_test().invalidate();
              wdContext.nodePartner().invalidate();
                   wdContext.nodeHeader().invalidate();
                   wdContext.nodeOutput().invalidate();
                   wdContext.nodeReturn().invalidate();
    //               Z_Bapi_Quo_Salesrep_Status_Output outPut= obj.getOutput();
    //               if(outPut!=null){
    //                    List materialList=outPut.getRfq_Status();
    //                    if(materialList!=null){
    //                      wdComponentAPI.getMessageManager().reportSuccess("materialList="+materialList.size());
              } catch(Exception rfqException){
                   wdComponentAPI.getMessageManager().reportException("rfqException="+ rfqException.toString(),true);
        //@@end
    public void executeBapi_Commit( )
        //@@begin executeBapi_Commit()
         try {
    //       Calls remote function module BAPI_Transaction_Commit
         wdContext.currentBAPI_TRANSACTION_COMMITElement().modelObject().execute();
         wdContext.nodeBAPI_TRANSACTION_COMMIT().invalidate();
         wdContext.nodeOutput1().invalidate();
         wdContext.nodeReturn().invalidate();
         wdContext.nodeReturn1().invalidate();
         } catch (WDDynamicRFCExecuteException ce) {
              wdComponentAPI.getMessageManager().reportException(ce.getMessage(), false);
        //@@end
    View Controlloer Code:
    public void wdDoInit()
        //@@begin wdDoInit()
         wdThis.wdGetCControllerController().executeBapi();
         wdThis.wdGetCControllerController().executeBapi_Commit();
                 IWDApplication wedDynApplication=wdComponentAPI.getApplication();
                 IWDApplicationInfo applicationInfo=wedDynApplication.getApplicationInfo();
                 Collection collection=applicationInfo.getApplicationProperties();
        //@@end

    Hi Gareth,
    I was not getting enough time to reply, so replying late.
    Actaully the problem was with r/3 BAPI Code itself.
    There was condition in the begining of the code to check the data in the workare of R/3, so this condition was failing here.
    But when we try to invoke that bapi from r/3 workbench it works fine because the data first comes to R/3 workarea then to R/3 Tables.
    But when we insert data from Webdynpro framework , the data directly goes to R/3 Tables rather than the R/3 Workarea. So in Bapi the first condition was failing and no data was getting inserted.
    So this was the problem, and we solved it.
    Thanks,
    Regards,
    Aditya metukul

  • Cost center data distribution through change pointers

    HI
    I need to distribute cost center data through change pointers
    Can anyone please tell me the steps i need to follow
    please dont give links, but would be helpful if some1 can tell me step by step
    and how to do testing, ie which tables i need to check to see whether my change pointers are working or not.
    Thanks in advance
    Regards
    Manu

    Hi,
    Please follow the following steps.
    Check if Change pointer is active Globally via BD61
    Check if change pointer is active for COSMAS via BD50
    Maintain required field entries for which you need the change pointer to be triggered vai BD52.
    Maintain distribution model for Source and Traget System for message type COSMAS in source system
    Maintain partner profile via WE20.
    Then run transaction BD21 to trigger change pointer idocs.
    Hope it helps.
    Regds,
    Rudra

  • I can not get the correct anser

    Hi, Please help me.  As the following sch I can not get the correct sqrt value.  if changing resistor of R1 I always get 12v direct flow output.
    Attachments:
    op_divider.zip ‏121 KB

    Thanks for your answers.  I want the sch to do the operation of square root.
     1. in my sch the inverting input is DC -5v, I want to get the square root of 5?
     2. In my feedback path I use a multiplier, I Originally thought it is a negative feedback?
     3. it Already have ground in the sch, I do not understand that you say "did not ground the scope"?
    Thanks again, Could you give me the further pointing. if possible Could you give me a correct sch.
    (in fact, I get the sch from a rough sch in a textbook(the rough sch not for multisim). I just give the values for the all components)

  • TS4036 My wife and I have iPhones that backup to iCloud I upgraded my iPhone to iPhone 5 when I see stored from iCloud it restored all of my wife's phone data not mine how do I change it

    My wife and I have iPhones that backup to iCloud I upgraded my iPhone to iPhone 5 when I see stored from iCloud it restored all of my wife's phone data not mine how do I change it

    You need to restore from your backup and not your wife's. You need to check if your backup is under the same or different apple id. If Id is the same you need to erase phone and find correct backup to restore from. If different you just need to use it at restore time.
    Instructions for restore from backup here.
    iOS: How to back up and restore your content - Support - Apple

  • In VA01  In Schedule line Delivery date not getting populated

    Hello,
    We have developed enhancement for VA01 tcode.
    Depending upon the quatity entered for a material it should show one more item as free good.
    If quatity is 10 for a line item 10 then it should show item 20 by default same mateerial and quatilty as 1.We have done this it is working fine.
    But if we select free good item in our case it is 20 and click on schedule line item buttom all quaitity fields getting populated.but delivery date not getting populated for only free good.for line item 10 it showing properly.
    Can any one please suggest what i need to do in order to display delivery date for free good.
    Thanks in advance.
    Regards.

    Thanks for your response.
    Actually i have seen technical settings for that field.it is rv45a-etdat.this field has value till MV45AFZZ.seen in debugger.
    Looks like it is clearing some where after the above include.Any suggisitions welcome.Thanks again.

Maybe you are looking for

  • Select / extractValue and Datatype

    Database: Oracle 9.2.0.1.0 I am selecting from "XML Schema Validating" data stored in column of XMLTYPE datatype. SELECT extractvalue(value(t), '/path1/element1') DateVal1, extractvalue(value(t), '/path1/element2/@attribute') Date2 FROM XML_TABLE A,

  • How do I display Tools Developer Page Source without HTML Character Entities, such as & and

    I am using Firefox 8.0 on Windows XP. In earlier versions of Firefox, when I would display the page source, the page would be displayed in all its original characters, including < > & and so on (including the HTML reserved characters.) Now when I dis

  • Viewing Aperture library in Front Row

    Hello all Front Row now supports the Aperture library. I noticed that the images are not as sharp as you can see them directly in Aperture when you edit them. So I guess that Front Row just displays some post-rendered JPG image. How can I set the qua

  • Quicktime error in Final Cut Studio II

    Hello everybody, since yesterday I am figthing with the following problem in Final Cut Studio II. First I wanted to export my subtitles through the XML Export in Final Cut Pro 7.0.3 but this did not work out, as it looks like the stack had an overflo

  • EDI IDOC's

    Hi Guyz..I want to know the difference between EDI & IDOC's. 1) How are IDoc created 2) EDI technical details like what are you GD ID's , ISA qualifiers etc. 3) X12 , how to read an X12 I would appreciate any help or links to url as well. Thanks in a