How to get know the Sales Order IDOC#, if I know the created Sales Order#?

Hi Experts,
Let me know that, How to get know the IODC #, if I know the Sales Order#?
Scenario is that, sales order(say 12345678) was created from Inbound EDI. I also Know the MATERIAL too.
So, How to pull the associated Inbound ORDERS idoc, which is created this Sales order-12345678?
Is it from EDID4 table? or EDIDC? or any thing else?
reples r appreciated.
thanq
Edited by: SAP ABAPer on Sep 8, 2008 5:29 AM

Hello
This can be done much easier using fm SREL_GET_NEXT_NEIGHBORS:
Input:
OBJECT-OBJKEY = <number of sales order>  " with leading zeros!!!
OBJECT-OBJTYPE = 'BUS2032'
MAX_HOPS = '01'
Result:
NEIGHBORS-OBJKEY = <IDoc number with leading zeros>
NEIGHBORS-OBJTYPE = 'IDOC'
NEIGHBORS-ROLETYPE = 'INIDOC'.
Regards
  Uwe

Similar Messages

  • How do I turn on my ipad, I just got it and I don't know how to get to the home screen. Also, is itunes free on the ipad

    How do I turn on my ipad, I just got it and I don't know how to get to the homescreen. Everytime I turn it on there is a black screen, the white charger, and the blue itunes circle. Also, are itunes free.?

    You must activate the iPad within iTunes on your computer. Make sure you have the latest version of iTunes on your computer (read the minimum requirements for the iPad printed on the iPad box) and connect the iPad to your computer with the supplied cable to a 2.0 USB port - not a port on a hub- a port on your computer. iTunes should start and take you through the process.
    iTunes on the iPad is a store where you purchase media - it is not the music player. The iPod app is the music player. Both apps are pre installed on the iPad.

  • How to get my images always order by file name, and not by time of captur, in all the folders in the library?

    How to get my images always order by arquive name, and not by time of captur, in all the folders in the library?
    Sorry for the poor english, but im portugues.
    In the library we can change the order of classification of image by, time of capture, name of file etc... I'm wondering if its possible define to be always by the name of file.
    It ´s possible?
    And i have other question, in print label we have an option to auto rotate to feet in page to have the image using the maximum area in the page (auto rotate, zoom etc), its possible to change the orientation of the rotation to be always in  the other direction?

    The Muvos are USB Mass Storage devices and do not have the ability to display track information based upon ID3 tags.
    The Zens all read and display track info based upon ID3 tag information that is either gathered from an online source or entered by the end-user.
    If you want the track information displayed instead of the ID3 tag information, you could edit the ID3 tags and rename the title to whatever you have as the file name. Not sure why your file names would differ so much from the ID3 tag info though, almost all of my content has the same name for the filename as it does on the ID3 tag title.

  • Does somebody know how to get to the desktop via hot corners whilst being in full screen mode? it doesn't work on my mac... :/ thx for helping!

    does somebody know how to get to the desktop via hot corners whilst being in full screen mode? it doesn't work on my mac... :/ thx for helping!

    bump

  • Anyone know how to get to the security screen with a " Crashed" phone?

    Getting the message "Restore Needed" but it says I can't connect with my Iphone because my phone has a security code. I can't get to the Security code screen on the phone.  Anyone know how to get to the security screen with a " Crashed" phone?

    Restore the phone on the same computer it was last synced to and it will not require the unlock code.
    If you don't have access to that computer you will have to use Recovery mode, which will wipe all content. See: http://support.apple.com/kb/HT1808

  • I've tried safe mode but I dont understand what is happening. I tried pressing the power button on and off for several times and nothing happens, I'm always stuck on an apple logo and a spinning wheel. I dont know how to get to the Partition and the DiskU

    I've tried safe mode but I dont understand what is happening. I tried pressing the power button on and off for several times and nothing happens, I'm always stuck on an apple logo and a spinning wheel. I dont know how to get to the Partition and the DiskUtility. The Apple Logo and the Progress Indicator will continue to spin and I have literally no idea what to do. i am in desperate need of help. help me pls

    Turn it off.
    Start it up again and (at the sound of the chime) press and hold the command and the R keys, hold them down until Recovery loads. When it does you will select Disk Utility and you should be on the First Aid tab when it opens, if you are not please select it. Then select the partition (in the side bar, 2nd entry on the list, see picture).
    Yours is probably called Macintosh HD.
    Once you have selected it go to the lower righthand corner of the First Aid dialog and press Repair Disk.
    This will take 10 minutes approximately. Post back when it is finished and tell me what it says.

  • I've tried safe mode but I dont understand what is happening. I tried pressing the power button on and off for several times and nothing happens, I'm always stuck on an apple logo and a spinning wheel. I dont know how to get to the Partition

    I've tried safe mode but I dont understand what is happening. I tried pressing the power button on and off for several times and nothing happens, I'm always stuck on an apple logo and a spinning wheel. I dont know how to get to the Partition and the DiskUtility. The Apple Logo and the Progress Indicator will continue to spin and I have literally no idea what to do. i am in desperate need of help. help me pls

    Reboot hold the command R for recovery.

  • How to get all the values from the dropdown menu

    How to get all the values from the dropdown menu
    I need to be able to extract all values from the dropdown menu; I know how to get all those values as a string, but I need to be able to access each item; (the value in a dropdown menu will change dynamically)
    How do I get number of item is selection dropdown?
    How do I extract a ?name? for each value, one by one?
    How do I change a selection by referring to particular index of the item in a dropdown menu?
    Here is the Path to dropdown menu that I'm trying to access (form contains number of similar dropdowns)
    RSWApp.om.GetElementByPath "window(index=0).form(id=""aspnetForm"" | action=""advancedsearch.aspx"" | index=0).formelement[SELECT](name=""ctl00$MainContent$hardwareBrand"" | id=""ctl00_MainContent_hardwareBrand"" | index=16)", element
    Message was edited by: testtest

    The findElement method allows various attributes to be used to search. Take the following two examples for the element below:
    <Select Name=ProdType ID=testProd>
    </Select>
    I can find the element based on its name or any other attribute, I just need to specify what I am looking for. To find it by name I would do the following:
    Set x = RSWApp.om.FindElement("ProdType","SELECT","Name")
    If I want to search by id I could do the following:
    Set x = RSWApp.om.FindElement("testProd","SELECT","ID")
    Usually you will use whatever is available. Since the select element has no name or ID on the Empirix home page, I used the onChange attribute. You can use any attribute as long as you specify which one you are using (last argument in these examples)
    You can use the FindElement to grab links, text boxes, etc.
    The next example grabs from a link on a page
    Home
    Set x = RSWApp.om.FindElement("Home","A","innerText")
    I hope this helps clear it up.

  • Alter a BAPI Result Table, how to get into the display "loop" ?

    Hello all,
    i have a problem regarding the result rows of a RFC/BAPI Call.
    There are three views, let's say 1,2,3. In View 1, i call a BAPI, and display the results in a table in View 2. I added a button in each row, which calls View 3 and displays some details concerning the selected row.
    I now want to store a flag for each row, that has been displayed in this way.
    In View 3 i store the key value of the displayed row in an own value node in the context.
    When i go back from View 3 to View 2, i want to see that flag (in an extra column) in every row, that has been selected in this session.
    So i do not know, how to alter a single row in the BAPI result table, how to get into the "loop" that is used by WD to display the table.
    already tried a supply function, but i was not able to alter single rows.
    Any suggestions/tips or perhaps code fragments of working supply functions ?
    Thank you !

    Hello,
    I'm not sure whether I understood your problem correctly, but I will try to give an answer.
    The easiest way I see is to copy the RFC Results to a Component Controller Context structure with an additional Flag field. You can use WDCopyService for copying.
    Then on the event of selecting you set your flag as appropriate for you (e.g. if you want to use an image as flag you set the Image path) on the current element of your table. Then display View 3.
    On going back View 2 should show now the new flag values...
    The trick is to copy the values (as at Time structures can not be expandend with new fields) and set the Flag on the onSelect event.
    Hope this helps,
    Frank

  • How to get(copy) the contents i.e the cell of an excel sheet to other excel

    How to get(copy) the contents i.e the cells of an excel sheet to another excel sheet.
    I can read the contents i.e the text in the cells and able to display it in the Java console
    i want these contents to be copied to another excel sheet with the cells data.
    I am using Java Swing for the UI, POI framework for the excel work.
    Please anyone suggest some code to this requirement.

    [spreadsheets with poi|http://poi.apache.org/spreadsheet/converting.html] Hi
    on the poi apache site there's a number of good examples...
    I started with poi only a week ago, but just from reading these examples
    (especially SS Usermodel code) i managed all i needed to know (so far).
    kind regards
    BB
    Edited by: BugBunny on Feb 22, 2010 4:36 AM

  • How to get past the grey start up screen after mavericks update

    I have recently installed a free update of Mavericks on the App store. However after installing this, the Macbook Pro that i've installed on will not boot beyond the Grey start up screen. I was running Snow Leopard on a machine with intel core 2 duo processors 4 Gb of RAM and over 100Gb of free memory.
    I have attempted a safe boot (holding down shift while while holding the power button down), and Reseting the NVRAM by pressing 'command', 'option', 'P' and 'R' at the same time.
    I do not have an installation disk or a time machine back up.
    Does anyone know how to get passed the Grey start up Screen?
    Any Suggestions would be mucho appreciated.

    I have recently installed a free update of Mavericks on the App store. However after installing this, the Macbook Pro that i've installed on will not boot beyond the Grey start up screen. I was running Snow Leopard on a machine with intel core 2 duo processors 4 Gb of RAM and over 100Gb of free memory.
    I have attempted a safe boot (holding down shift while while holding the power button down), and Reseting the NVRAM by pressing 'command', 'option', 'P' and 'R' at the same time.
    I do not have an installation disk or a time machine back up.
    Does anyone know how to get passed the Grey start up Screen?
    Any Suggestions would be mucho appreciated.

  • Satellite 2540xcdt: How to get into the BIOS

    Hi there,
    I've just bought one of the above computers and would like to know how to get into the bios before it boots up to the OS,
    anybody out there have any ideas?
    Many thanks
    F

    Hi
    Pres ESC button just after starting the unit and keep it down for a short time.
    Bye

  • How to get only the first result in extract function

    do you know how to get only the first element of the function extract.
    v_result := p_response.doc.extract('//'||p_name||'/child::text()').getstringval();
    if i have 5 responses like '100','100',100','200','200' e get '100100100200200' and i want only '100'.
    thanks in advance

    Two ways .....
    1. Use Javascript E4X instead ...there are nice functions for getting children of parents.
    2. Cycle through all of the form1.nodes and look for objects that have a className of "subform". For loops are useful for this task.
    Make sense?
    Paul

  • How to get to the  PSA maintance in BI 7.0

    Hi All,
    Can any one please let me know how to get in the PAS to maintain the request.
    Regards,
    Ashutosh D

    Hai Asuthosh.
    Goto RSA1 --Infoprovider >  find the datasource> Right Click and manage,it will take to you to the PSA Maintaineance Tab.
    asign points if helpfull
    regards
    Kp

  • OMB Plus : how to get all the generated messages into a text file ?

    Hello,
    I wrote an OMB TCL script and I would like to know how to get all the messages generated during the exécution into a text file.
    I tried this, but it works only for a puts command :
    set DesProjet ACT_1
    set filename [ open "c:\\temp\\INFDE_010_IMPORT_REPOSITORY_$DesProjet.log" w]
    puts "test"
    Thank you for your help

    Hello Alain, you should try the OMBLOG variable. If you set it inside OMBPlus:
    set OMBLOG c:/temp/mylog.txtthen all the OWB specific commands are logged with their output. By OWB specific I mean all those that start with OMB.
    This is more than what you see in the interface, because:
    - messages inside procedures are logged; you wouldn't see them on std.output when you call a proc
    - variables are resolved, so if you issue the command
    set my_var VERY_IMPORTANT_TABLE
    OMBDROP TABLE '$v_myvar'the log will show:
    OMBDROP TABLE 'VERY_IMPORTANT_TABLE'
    Table dropped
    and you know something is wrong... so OMBLOG is very useful to intercept all manipulations on you repository.
    If what you want instead is a dump of the screen output when you execute a script, I suggest you redirect standard output from the operating system command line. Unfortunately OMBPlus doesn't support all advanced redirection and tracing features of the TCL language.
    Hope this helps, Antonio

Maybe you are looking for