How to post idoc ORDERS05 from ABAP standalone program to the same R3 syst?

Hi Masterminds,
I need to post IDoc from ECC to same R/3 system. For that i need to develop a standalone program which will post Idoc 'ORDERS05'.
I had the following data:
E1EDKA1                         - PARTN
E1EDK02; QUALF = 001        - BELNR
E1EDP19; QUALF = 003     - IDTNR
E1EDP02; QUALF = 997        - BELNR
E1EDP01     MENGE               - Space
E1EDP02; QUALF = 999        - BELNR
E1EDK01     BSART               - Space
E1EDP19; QUALF = 002        - IDTNR
E1EDP01     ABGRU              - Space
E1EDKA1     PARVW              - Space
Please provide me details how to write the program and what necessary steps do i need to follow.
Thanks......

Hi,
Do ALE settings and Fill two tables of type EDIDD and structure of type  EDIDC
and pass it to function module 
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
    EXPORTING
      MASTER_IDOC_CONTROL                  = P_WA_EDIDC
  OBJ_TYPE                                              = ''
  CHNUM                                                   = ''
    TABLES
      COMMUNICATION_IDOC_CONTROL           = P_I_EDIDC
      MASTER_IDOC_DATA                                = P_I_EDIDD
   EXCEPTIONS
     ERROR_IN_IDOC_CONTROL                        = 1
     ERROR_WRITING_IDOC_STATUS               = 2
     ERROR_IN_IDOC_DATA                              = 3
     SENDING_LOGICAL_SYSTEM_UNKNOWN       = 4
     OTHERS                                                            = 5.

Similar Messages

  • How can I plott data from a text file in the same way as a media player using the pointer slide to go back and fort in my file?

    I would like to plott data from a text file in the same way as a media player does from a video file. I’m not sure how to create the pointer slide function. The vi could look something like the attached jpg.
    Please, can some one help me?
    Martin
    Attachments:
    Plotting from a text file like a media player example.jpg ‏61 KB

    HI Martin,
    i am not realy sure what you want!?!?
    i think you want to display only a part of the values you read from XYZ
    so what you can do:
    write all the values in an array.
    the size of the array is the max. value of the slide bar
    now you can select a part of the array (e.g. values from 100 to 200) and display this with a graph
    the other option is to use the history function of the graphes
    regards
    timo

  • How to Post Idoc's from ECC to SCM

    Dear Friends,
    This is Shalini Shah.
    how to post the Idoc(MATMAS05)
    from ECC to SCM-APO.
    please give me the details on this topic.
    Regards,
    ShaliniShah

    Please see the Wiki page details mentioned in this [sticky|Wiki page for SCM-APO; thread at the beginning of the forum.
    Refer to the [CIF|https://wiki.sdn.sap.com/wiki/display/SCM/CIF] Wiki page for details on setting up and using CIF. I am not aware of the IDOC details but if it material master (as SB has mentioned) then your best option of transferring the master data from ECC to SCM / APO will be to use the CIF.
    After intial CIF settings are maintained (see details inthe CIF Wiki page) you will need to create Integration Models and activate them for transferring the data.
    Somnath

  • How to upload 2 amounts from FDM to HFM in the same Account/diff Custom 1?

    Hi,
    We are using Hyperion System 9.3.1 FDM.
    In the past, we always upload one amount only per account through FDM into our Custom 1(flows) into closing. Now, we have in the source file (accounting system) not only the closing balance but also the movements in another column.
    This means that from now on we will need to upload the closing balance as well as the movement flow through FDM into HFM into the same account but in diferrent Custom 1.
    At this point, we succeed to upload one of the amounts into Custom 1 (either closing either movement) but we do not succeed to upload both Custom 1.
    source file
    ENTITY ACCOUNT MOVEMENT CLOSING
    x 120000 10 20
    y 121000 -3 -17
    in HFM
    ENTITY ACCOUNT C1-OPENING C1-MOVEMENT C1-CLOSING
    (calculated)
    x 120000 10 10 20
    y 121000 -14 -3 -17
    As you see above, what we need is to be able to upload 2 different C1 into the same account.
    Could any one help us with this ?
    Did anyone had this kind of upload ?
    Thank you.

    Hello,
    Unfortunately this is probably going to be outside the scope of the forum members; as it will take billable hours and a engagement to write all the scripting required.
    Basically it can be done ... and it has been done before. You will just need to add an import script or an ImportAction script to do the additional work. FDM can only read 'one' amount at a time by default; and other customizations must be put into place to achieve the results.
    Thank you,

  • How can I delete email from iPhone and ipad at the same time

    How can I delete emails on my iPhone and ipad at the same time

    Use IMAP Mail e.g. Gmail

  • Reminders: How to view Todo's from multiple Exchange accounts at the same time

    Does anyone know of an IOS app that:
    Displays a concatenated view of all Tasks from all of my (3) exchange accounts.
    The problem is, that I cannot see what tasks I have for e.g. today without going in and out of all of the Exchange accounts. Just like the calendar is able to view all of the appointments in different colors, I would like the reminders (or a simliar app) to do the same.
    Yes, I'm willing to pay for an app, it's not that :-)
    Thanks for any input!
    Bjoern Dirchsen

    You can look at one of these if you want to sign on with different identities at the same time:
    * CookiePie: http://www.nektra.com/oss/firefox/extensions/cookiepie/
    * CookieSwap: https://addons.mozilla.org/firefox/addon/3255
    * Multifox: http://br.mozdev.org/multifox/ - Different logins at the same time

  • How do I move music from desktop to iTunes on the same computer?

    I have new music on my Macbook desktop. I want to move it into iTunes.  This was easy with iTunes 10, but it doesn't work with iTunes 11. So how can I manage new music that isn't purchased throught the iTunes store? How can I move music into iTunes?
    I'd really like to go back to iTunes 10 since it was user-friendly and iTunes 11 is extremely iTunes friendly; os if you know how to do that I'd appreciate it greatly.  Or I'd appreciate learnig about another music management system - other than iTunes since iTunes 10 isn't available any more.

    =Downgrading from iTunes 11 to iTunes 10.7=
    You may be able to go back with Time Machine but this may involve restoring other items too (https://discussions.apple.com/message/20441404).  Alternatively:
    Back up your computer first, in case the unexpected happens.
    Quit iTunes.
    Get iTunes 10.7 from http://support.apple.com/kb/DL1576 or the direct download link at:  http://appldnld.apple.com/iTunes10/041-7195.20120912.d3uzQ/iTunes10.7.dmg
    Do a few preparatory steps by making sure all iTunes components are not running and cleaning old files.   See https://discussions.apple.com/message/20475394.  Do steps 3 and 4.  Steps 6-8 may be also useful but I don't know if they are essential.  Some of the other steps are not necessary, duplicate steps listed later in my post or are perhaps even unhelpful in the process.
    Replace the iTunes 11 application with iTunes 10.7.  Simply dragging the application to the trash may not work. Lion (OSX 10.7) and newer systems have iTunes integrated into the operating system and deleting is a bit more involved.  Two ways to do this are:
    1.  Use the shareware Pacifist utility (http://www.charlessoft.com/) to install iTunes 10.7 including all associated system files. Details at http://forums.macrumors.com/showpost.php?p=16400819&postcount=6
    2. Check this reference on how to delete the iTunes application itself:
        Delete iTunes in Mac OS X 10.7 Lion - http://osxdaily.com/2011/09/13/delete-itunes-in-mac-os-x-10-7-lion/
        After deleting the application there may be other files that need downgrading too. See the note about error -42408 at the end of this post. You may want to tuck these away somewhere safe until you have completed the installation of iTunes 10.7.  I have not tested this but ideally if newer versions are not found then the installer will put in the old versions. This may include these files in /System/Library/PrivateFrameworks/ which apparently get updated by iTunes 11:
    AirTrafficHost.framework
    CoreFP.framework
    DeviceLink.framework
    iTunesAccess.framework
    MobileDevice.framework
    After doing one of the two procedures above you will have to rescue the most recent old iTunes library from your iTunes > Previous Libraries folder. Rename it "iTunes Library.itl"  and replace the existing one in the iTunes folder. A newer version of iTunes irreversibly updates your library file so you have to replace it with the old one or you will get an error message. Note, this will revert your library to the version at the time of the upgrade and you will have to update any changes made since.  See:
    https://discussions.apple.com/message/20401436 - turingtest2 11/2012 post on rebuilding empty/corrupt library from previous iTunes library file after upgrade/crash.
    iTunes: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451
    Other issues:
    - https://discussions.apple.com/message/20432309 - solution to mobile devices saying they need to be restored after downgrading
    - If you encounter error -42408:
    iTunes: Advanced iTunes Store troubleshooting - http://support.apple.com/kb/TS3297 > Specific Conditions and Alert Messages: (Mac OS X / Windows) - including specific error codes.
    Alternatively, check https://discussions.apple.com/message/20441424 which requires you have a Time Machine backup (though possibly if you remove the newer version of these files old ones may be installed with the iTunes 10.7 installer - untested).  A  variant of this is at: https://discussions.apple.com/message/20448184
    - Persistent "Show in iTunes Store" arrows after downgrade - https://discussions.apple.com/thread/4567064

  • How do I make links from three list/menus on the same page?

    I've got three list/menus on one page. How do I make it so
    the choices in all three menus link to different pages?

    > When I insert the three form list/menus Dreamweaver does
    not allow me to turn
    > the lists into links. Javascript allows you to turn them
    into links. All I
    > want to know is what script to write.
    That is because you inserted a plain select form item.
    Insert a JUMPMENU and dw will do the coding for you.
    Open the F1 help, click search and type jumpmenu
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • How do I share music from different itunes accounts in the same Mac, in different users account on that Mac with different iPhones?

    Hi
    My wife and I share the same Mac.
    She has her session and I have mine thus each of us has our iTunes session with our own music and settings.
    She has her iTunes account and I have mine too.
    And..;)...she has her Iphone and of course I also have mine.
    So, the big question:
    Both like music that the other has bought but we do not want to buy it twice! (through her account and mine).
    Is there a way to share music I purchase so she can have it in her iTunes session and therefore have it also on her iPhone when she syncs..and of course viceversa for me too?
    It goes without saying that although we like music the other one has, we do not like all of the music, so basically we want to have the possibility to share those special songs we like so we can have them both in our phones and individual Itunes sessions.
    Was that clear or I lost you???
    Any answer will be greatly appreciated.
    Thanks in advance

    First of all if you havent done it yet i think u shold authorize the mac on both accounts on itunes. You also can switch the accounts on your Iphones at itunes while you are in the internet adn download the music.
    This is just an idea you should think of. For sure there are other ways I dont know.

  • How can I download a past downloaded Acrobat version on the same computer after loosing it in a crash?

    How do I download  Acrobat from my account on to the same computer that crashed and is rebuilt? I see my purchase and SN in my account?

    Acrobat XI, X - http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
    Acrobat 9, 8 - http://helpx.adobe.com/acrobat/kb/acrobat-8-9-product-downloads.html

  • Is it possible to output multiple clips from a multitrack session, at the same time?

    I'm using Audition CC 2014.2
    on Windows 7 Pro x64
    I am trying to figure out how to output several clips from a multitrack session, at the same time.
    A session like this:
    Is it possible to output 5 files right now?
    I can select each one (or even multiple) and use File > Export > Multitrack Mixdown > Selected Clips to do one at a time only.
    I'm hoping for a way to give each clip (or group of clips) a predefined filename, by perhaps using markers or something like that, which would then allow me to faster "automate" the exporting of each section into a different sound file.
    This ability would be really helpful when using a single multitrack session to generate multiple sounds and a change to globally applied effects is made and all sounds now need to be updated.
    Any ideas?

    They are, yes, but I'm also working with multitrack sessions using clips made from various different sound files.
    Ahh ok, use markers?
    So, this sort of thing isn't possible in multitrack mode then?
    If not, it sounds I'll have to "mix down" my multitrack session into a single file and set up the markers in Waveform Edit view.
    That's an extra step I'd have to do, and after editing the multitrack session, surely some markers . . . oh wait, no . . . every time I output the new mix down file from the multitrack I'd need to redo all the markers. Drat . . .
    Honestly, I am very new to Audition, but I'm about to plow into it, big-time, and I'm hoping for a nice non-destructive and fast workflow that'll enable me to output sets of sounds from the same multitrack session.
    But, it seems like this functionality is currently missing.

  • How to trigger IDOC'S from SAP

    Hi All,
    How to trigger IDOC's from SAP(ECC 6)..where can we check this in mii 11.5 weather it is fail/success
    Thanks,
    Abhi

    You can trigger LOIPRO, LOIPLO and a few others manually from POIT (SAP Txn).  Master Data related to orders can be triggered from POIM.  Depending on which IDocs you which to generate, there are other transactions to trigger different IDocs.
    You can also use Triggers from MII to generate IDocs in SAP using CLOI_DOWNLOAD_TRIGGER_MDAT (POIM equivalent) and CLOI_DOWNLOAD_TRIGGER_TRANS (POIT equivalent).
    There is also a rather nice post which detailed the process of using change pointers to automate the IDoc generation and download, but I am having trouble finding it.  Will continue to look and will post link when I find it.
    Regards,
    Mike
    I couldn't find the post I was looking for, but there is an informative note 390635 which may help.
    Edited by: Michael Appleby on May 5, 2009 1:29 PM

  • How to consume WEB SERVICES from ABAP ??

    Q: How to consume WEB SERVICES from ABAP program??
         the point here is i am using SAP release 620 and the creation of proxy is out of scenario
         and also no XI.    Its only through ABAP program i need to consume one web service (its a HTTPS one ),
        Using cl_http_client... i tried it but i am totally confused of whats happening ???
    Req some senior ppl advice on the same/approach.
    any hints will suffice my way of approach...!!!
    Please do put in your valuable advices..!!
    Thanks in advance..!!!!

    Hello Srinivas,
    Following is the code for calling web service:
    data: client type ref to if_http_client,
          host   type string value 'server url',
          service type string value '8080',
          path type string value '/sap/public/ping',
          errortext type string,
          proxy_service type string,
          scheme type i value 1.
    call method cl_http_client=>create
    exporting host  = host
            service  = service
         proxy_host  = host
       proxy_service = service
       scheme        = scheme
    importing client  = client
    exceptions
        argument_not_found = 1
        internal_error     = 2
        plugin_not_active  = 3
        others             = 4.
    case sy-subrc.
      when 0.
         write 'Server reached successfully'.
      when others.
         write: 'sy-subrc =', sy-subrc.
    endcase.
    Once you got the client object you can call following methods:
    "Set the requrie URL for the web service you want to call. This is not WSDL anyway!!
    cl_http_utility=>set_request_uri( request = client->request
    uri =' url 2 be called ').
    *Then you can call send method with proper inputs for sending request to WS
    CALL METHOD client->send
    Then you can use receive method for getting the response
    CALL METHOD client->receive
    *You can get last error in case of exceptions
    CALL METHOD cl_http_client=>get_last_error
    *Close the client object
    CALL METHOD client->close
    For more information on full code refer my link in previous replay.
    Thanks,
    Augustin.
    Edited by: Augustarian on Aug 18, 2009 1:49 PM

  • How to invoke java application from ABAP

    How to invoke java application from ABAP  ? Suppose I needto execute a EJB wihic is running on my SAP J2EE Enigne from an ABAP Program .
    Thanks,
    Manish

    Hi Manish,
    did you get some further documents concerning "abap program calls ejb"?
    If yes, could you please send me some informations.
    Thank you for your help.
    Kind regards, Patrick.

  • How it will be related from  ABAP to BW

    Hi..Friends,
            I have 1 yr of experience in ABAP,But  I m looking to migratre ABAP to BI.
             How it will be related from  ABAP to BW
            can anybody give best advise to suit my carrer.
    Cheers
    Lohit.

    BIW: Business Information Warehouse
    BW: Business (Information) Warehouse
    See here:
    http://help.sap.com/saphelp_nw04/helpdata/en/b2/e50138fede083de10000009b38f8cf/content.htm
    /people/sap.user72/blog/2006/01/27/sap-netweaver-bi-versus-sap-bw-the-sequel
    Just go through these for BI learing materials
    If you are going to Start BI 7.0 courses
    you could follow the books
    TBW10 Datawarehousing concepts
    TBW20 Reporting
    TBW42 Adavnced Data warehousing concepts (authorization,Broadcasting,etc)
    TBW45 Integrated Palnning
    Online courses on APD,XI
    Tamong these,TBW10 and TBW20 will be sufficient for you to start and know basic concepts
    For more information please
    refer these links
    http://www.psimedia.ws
    http://www.sap.com/uk/services/education/courses/bw.epx
    http://www50.sap.com/useducation/curriculum/print.asp?jc=1&rid=285
    http://www50.sap.com/useducation/curriculum/print.asp?jc=1&rid=458
    http://www50.sap.com/useducation/certification/examcontent.asp
    http://www50.sap.com/useducation/certification/curriculum.asp?rid=506&vid=5
    http://www50.sap.com/useducation/certification/curriculum.asp?rid=420
    http://csc-studentweb.lrc.edu/swp/Berg/BB_index_main.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c27a9990-0201-0010-a393-e6e8bed520fe
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/79f6d190-0201-0010-ec8b-810a969028ec
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/620b406d-0601-0010-3b9a-ac51c445860f
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f243d6d-0601-0010-2aae-abe0a4dcfadb
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0d16261-80c0-2910-149a-97b017a900e4
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20b0d390-0201-0010-408c-f27f82427e23
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9be229f6-0901-0010-8288-824675320301
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/508d0387-001d-2a10-a394-faa4e57f6751
    Hope it helps you,Revert me back if you have any queries
    Regards
    Bala

Maybe you are looking for

  • New iPhone User... Does AT&T offer insurance plan??

    Just changed my carrier to freaken AT&T and was wondering if they have an insurance plan? Do you know how much it is? At verizon i think it was like 7 bucks a month.

  • Use Best Practice to Import Master Data

    Hi, I am SAP beginner, i glad someone can guide me on my issue. How can I using best practice to import 1000++ material master data into SAP system ??? I already prepared the data in Excel spreadsheet. Can any one guide me on step? Thanks.

  • ClassNotFoundException in running jdbc servlet

    hi i've wrote a servlet to connect to my Teradata db but when i run it on tomcat i get this java lang exeption: ClassNotFoundException: com.ncr.teradata.TeraDriver the thing is that the connection and sql code work on an application withoput any prob

  • How can I define a new Search Node type?

    Hi experts! I'm trying to modify PPOME transaction, but I can't create a new Search Node type. Can anybody give me the necessary steps I have to do? Other question, Is it possible to create a new Search Node for a Organizational unit? Or this only co

  • Turning a LabVIEW built DLL into an ActiveX server

    Does anyone have a list of the steps you must go thru to convert a LabVIEW generated DLL into an ActiveX server. Do the functions become methods?