JDBC to IDOC scenario and database update the idoc number

Hi SDNers,
I am willing to pull data from a database table to generate IDOC in SAP and want to update the  DATABASE with IDOC number in a single scenario.
Kindly suggest ?
REGARDS!!
SSR

Hi,
    Please keep in mind that the idoc no generated in PI will be different than the one generated in SAP...for idoc...
the correlation between the idocs in both systems is the message id...
HTH
Rajesh

Similar Messages

  • File to IDOC Scenario: where to import the idoc structure?

    Dear all,
    I have a short organizational question for you all. I have created a scenario where the MDM server places a file in a FTP directory and XI will take it from there for processing to IDOC towards the SAP system.
    During design time I need to import the IDOC structure as the inbound interface for the SAP system.
    My question in this situation is: do I import the IDOC into the namespace of the MDM (in which I keep the outbound interface and the mappings) server or do I place it in the namespace of the SAP system?
    I ask this because in the latter case the IDOC structure will be the only object in the SAP namespace. If I do not do this, I don't have to create this.
    What is the right thing to do from an organizational point of view?
    Thanks in advance for your input.

    Hi Yomesh and Sudheer,
    thanks for your answers. To conclude this topic I will demonstrate how I have understood this all by giving you a short overview of how I will proceed now. Could you please comment???
    Sender system is a SAP MDM system. For which I will create a SWC called <Company name>_MDM_DEV version 1.0.
    For the receiving SAP Enterprise system I will create an additional SWC called <Company name>_SAP_DEV version 1.0.
    And thus I do not put any objects under SWCs from the original installed product components.
    Then I create a SWC for common objects as IDOCs (to what product does that need to be assigned???)
    Then I will put the interface and message types in the corresponding SWCs and put the mappings in the source SWC as our landscape is not that huge.
    How's that???
    So under which product to create the SWC for common objects is my final question...
    I will provide points to you both.
    Cheers,
    Auke
    Message was edited by:
            A. Schotanus

  • Steps For Updating the IDOC Status using ALEAUD

    Hi all,
    My Scenario  is : R/3(IDOC)--> Legacy System(File).After the IDOC is received successfully on the Receiver System.I should Update the Status of IDOC on the Sender System.
    Can anyone help me out :
    What all the Steps & Configurations involved for Sending an Acknowledgement & Updating the IDOC status  from the Legacy System.
    Thanks in Advance,
    Dattatreya.

    Hi,
      You may need to set up another flow (a reverse one), where the Legacy sends a msg to XI with the Idoc number of the initial idoc you sent (onward flow).
      now, you can map the idoc number in E1ADHDR/E1STATE/DOCNUM and other statuses as required (in various tags) and also other information as per your environment. Pls see the below links
    Re: Acknowledgements ever switch to Status 39
    Re: Asyncronous acknowledge from file adapter
    Re: R3<->XI<->Auto-ID:How to check result of Idocs sending out from R3 in aii ?
    Regards
    Vishnu

  • File to Idoc Scenario and Idoc to File Scenario's

    Hi Friends ,
    This is Shalini Shah,
    Please give me the details of how many busines sytems required in File to Idoc Scenario and Idoc to File sceanrio's.
    In business system , what is the name of Integration server(this name is related to XI ot Third Party)
    Please give me the full details of these two scenarios from Scratch.
    Thanks in Advance.
    Regards,
    Shalini Shah.

    Hi
    These r few links which gives u complete scenarios...
    for idoc to file:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    for file to idoc:
    part1
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    part2
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    part 3
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    This link is also good:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
    Troubleshooting File-to-IDOC Scenario in XI.
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    kindly rewards points if helpful.

  • My iMessage is not working, i have an iPhone 4s and just updated the software to iOS 5.1

    My iMessage is not working, i have an iPhone 4s and just updated the software to iOS 5.1

    I turned my phone off and on again and it works now.

  • If buyer side created an PO and send out the IDOC to us...

    Hi,
    I am seller side.  Normally to say, this IDOC will be automaticlly loaded and corresponding SO could be created.
    But for now, the corresponding SO has not beeen created.  How do i analysis what happened to this inbound IDOC?
    Currently i have the IDOC number which provided by Buyer, this IDOC number is not from my system.
    Based on this IDOC number, which Transaction could i analysis why the IDOC couldnt be loaded successfully...?
    Thanks!!

    First of all, request the below information from the buyer about the PO's IDOC.
    PO#
    IDOC Date
    IDOC Control numbers (interchange, message group control # and transaction control #).
    Then go to WE05 and give a date range per the information provided by customer. Without giving IDOC number, provide the message as ORDERS (hopefully you are using standard orders processing). Provide the port from where you receive EDI orders.
    Then on WE05, you should see the EDI selection tab. GO to that tab and enter the interchange control # (on Interchange file reference), group # (Reference to message group) and transaction control #(Message reference).
    You should see the corresponding IDOC in your system if you have received it in SAP. Otherwise, I suggest that you then follow up with your EDI team on whether the EDI sub-system received this PO or not.
    Thanks
    Nikhil

  • I have an iPhone 4 and recently updated the software.  Since then, the screen will not turn off after the 1 minute autolock.  How do i fix this?

    I have an iPhone 4 and recently updated the software. Since then, the screen will not turn off consistently after the 1 minute auto-lock.  How do I fix this?

    Settings>General>Auto Lock

  • Installation of EBS 12.1 and Database on the same server

    Hi,
    Due to resource crunch, I would like to do new installation of EBS 12.1 and Database on the same server where already EBS 12.1 and Database installed.
    I have one server where EBS 12.1 and Database installed (Single node installation).
    Now I want to create another environment for other purpose (another test env.). But I don't have another server .
    So Can I start new installation of EBS 12.1 and database on the same server ?
    I have enough space and memory on server.
    Are the installtion conflict with each other ? any implications happen on the first environment ?
    I want my first environment run fine without any prob., after installing EBS and DB on the same server.
    Please guide me.
    Regards,
    Sanjay Patel

    So Can I start new installation of EBS 12.1 and database on the same server ?
    I have enough space and memory on server.Yes you can as long as you have sufficient resources.
    Are the installtion conflict with each other ? any implications happen on the first environment ? If you install in different ORACLE_HOMEs you should be OK.
    Thanks,
    Hussein

  • How do i skip process validations and still update the model?

    how do i skip process validations and still update the model? This has got to be a bug or a really huge design flaw. And no I don't want to using 'binding' to bind to every component on my form just so I can set its value. I just want to use value binding.
    Perhaps there should be a FacesContext.getCurrentInstance().updateModel() method?

    how about if I want clear the form or load a new model:
    <h:commandButton action="#{customer.clear_action}" immediate="true" value="clear" />
    <h:commandButton action="#{customer.load_action}" immediate="true" value="load" />
    public void clear_action() {
    Customer c = new Customer();
    this.setBean("customerModel",c);
    FacesContext context = FacesContext.getCurrentInstance();
    context.renderResponse();
    public void load_action() {
    Customer c = new Customer(1000);
    this.setBean("customerModel",c);
    FacesContext context = FacesContext.getCurrentInstance();
    context.renderResponse();

  • Wifi grid is not gray and i update the software still facing this problem what can i do?

    Wifi grid is not gray and i update the software still facing this problem what can i do?

    Read here:
    http://support.apple.com/kb/ts1559
    If nothing helps, make an appointment at any Apple store, whether under warranty or not.

  • To Update the IDOC segment values through report program

    My requirement is to update the Idoc segment through the report program. Any SAP provided standard function module is available to update the Idoc segment values. Please help needed.

    DATA: LT_EDIDD TYPE STANDARD TABLE OF EDIDD."Local Table to Hold EDIDD
        LT_EDIDD = I_EDIDD. "table should have the data
    *-- Opening the IDoc for Edit
        CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_EDIT'
          EXPORTING
            DOCUMENT_NUMBER               = X_EDIDC-DOCNUM
          TABLES
            IDOC_DATA                     = IT_EDIDD
          EXCEPTIONS
            DOCUMENT_FOREIGN_LOCK         = 1
            DOCUMENT_NOT_EXIST            = 2
            DOCUMENT_NOT_OPEN             = 3
            STATUS_IS_UNABLE_FOR_CHANGING = 4
            OTHERS                        = 5.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    *-- Editing the IDoc
        CALL FUNCTION 'EDI_CHANGE_DATA_SEGMENTS'
          TABLES
            IDOC_CHANGED_DATA_RANGE = LT_EDIDD
          EXCEPTIONS
            IDOC_NOT_OPEN           = 1
            DATA_RECORD_NOT_EXIST   = 2
            OTHERS                  = 3.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    *-- Closing the IDoc after Edit
        CALL FUNCTION 'EDI_DOCUMENT_CLOSE_EDIT'
          EXPORTING
            DOCUMENT_NUMBER  = X_EDIDC-DOCNUM
            DO_COMMIT        = 'X'
            DO_UPDATE        = 'X'
            WRITE_ALL_STATUS = 'X'
          EXCEPTIONS
            IDOC_NOT_OPEN    = 1
            DB_ERROR         = 2
            OTHERS           = 3.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    thanks
    vijay

  • How can i update the phone number associated with my iMessage and FaceTime on my macbook air?

    I recently moved to the US from Canada and have a new US #.  I have updated the phone number on my apple ID but the iMessage and FaceTime on my macbook air are still connected to my old Canadian phone number.  How can I update this?  Thanks so much!

    Associate your mobile number with your Apple ID, if you haven't already done so.
    Sign out of iMessage on the Mac:
              Messages ▹ Preferences ▹ Accounts ▹ Sign out
    and on the iPhone:
              Settings ▹ Messages ▹ Send & Receive ▹ Apple ID ▹ Sign out
    Then, on the phone, tap
              Use Your Apple ID for iMessage
    Sign back into iMessage on both devices and test.
    Credit for this solution to ASC member SmittyLove and to Glenn Fleishman of tidbits.com.

  • Ajax is caching the output and not updating the page.If you force a second postback after you should have seen a popup (but didn'), you then see popup displayed

    Ajax is caching the output and not updating the page.If you force a second postback after you should have seen a popup (but didn'), you then see popup displayed

    Hey, thanks for replying. It is the user who needs to manually submit the page.
    Basically our page has a hidden div with various text fields and combo boxes. When the user click on specific links on the page, this div is populated and made visible to the user in server side code.
    What happens for all other browsers other than firefox 23 onwards (worked fine in 22) is that after the user clicks on the link, our server side code is executed via a HTTP post. The server then renders the hidden div and sends the additional HTML down to the browser via ASP.NET AJAX.
    With Firefox 23, the additional HTML is not rendered on the first postback. Subsequent clicks of the same link execute the same server side code but the additional HTML is rendered on the browser without issue.
    We've done a lot of debugging now and the issue is localised to a specific third party supplier's (Infragistics) control. I think Firefox 23 must have changed the way that the viewport or screen bounds are calculated or reflected back to this control as the issue seems to stop when we remove the control's MaintainPositionOnScroll attribute. It might be that the Firefox 23 DOM is not able to provide the screen dimensions accurately when the page is first rendered. I say this as the second postback renders the additional HTML fine.
    The control in question is quite an old version so I don't think it's your issue to be honest.
    Just so that this might be helpful to other developers using the Infragistics Window Dialog Control, setting MaintainPositionOnScroll to false solved this issue for us.

  • I own Lightroom 4 and have updated the software however, I am unable to import images taken on the Sony A6000. I have also updated the raw converter and am still having this issue.

    I own Lightroom 4 and have updated the software however, I am unable to import images taken on the Sony A6000. I have also updated the raw converter and am still having this issue.

    You can either upgrade to Lightroom 5.4 or later, or use the free Adobe DNG Converter version 8.6 to convert your RAW photos to DNG, which then will import into Lightroom 4.

  • HT1937 i have iphone 3gs u.s and i updated the ios after that the tel. was locked ? what can i do?

    i have an i phone 3gs and i updated the ios the phone locked ? what can i do ?

    Locked in what way?

Maybe you are looking for