Status for idoc to edit and reprocess it

Hi ,
I have a senario in which i need to hold the idocs for invoice coming as inbound in SAP .
Then once the PO is created editing the Invoice idocs to add PO by editing the IDOC and reprocess the same idoc and post invoice corresponding to PO in SAP and then change the status of that idoc to 53.
Can someone help me,with the status that i need to set to only have the idocs in SAP  .
And then use those idocs to edit anf add PO and save it for status 32 (idoc edited).
And run some standard program to change the status to 53 with invoice created.
Thanks,
Richa

Richa,
You can set the idoc status to '51' in the customer exit of inbound idoc processing function module . Check the TABLES/CHANGING/EXPORT parameter of FM for something like EX_PROTT .. here you can pass the error message after checking the PO number ..
I'm not sure how are you linking Accounting document to PO.. you can use your logic to update the PO/set the idoc in error status in customer exit .
-Tushar Shukla

Similar Messages

  • Signature status for just submitting signature and yet to validate the email

    Hi,
    I need to get a specific signature status for just submitting signature and yet to validate the email. I need to restrict the user to submit my web form with out signing in the widget. So here, while submitting the form, Im fetching the signature status via ajax though API and based on the status the web form is restricted to submit.
    But using API, I could only able to get the complete signature status(submitting signature and validating email). Is it possible to get the status of only submission and yet to validate email ?
    Thank you,

    Hi Asmusz,
    Thanks for the reply.
    I created the widget with API createEmbeddedWidget and got documentKey in return from the result. Here is the result when I tried to get the status of the document from getDocumentInfo by passing documentKey:
    object(stdClass)#75 (1) {
      ["documentInfo"]=>
      object(stdClass)#76 (10) {
        ["events"]=>
        object(stdClass)#77 (1) {
          ["DocumentHistoryEvent"]=>
          object(stdClass)#78 (8) {
            ["type"]=>
            string(7) "CREATED"
            ["actingUserIpAddress"]=>
            string(13) "123.143.44.82"
            ["actingUserEmail"]=>
            string(27) "[email protected]"
            ["comment"]=>
            NULL
            ["participantEmail"]=>
            string(27) "[email protected]"
            ["date"]=>
            string(25) "2013-12-03T05:02:23-08:00"
            ["description"]=>
            string(31) "Document created by Naveen"
            ["documentVersionKey"]=>
            string(15) "X38BTTMN4D734M3"
        ["latestDocumentKey"]=>
        string(15) "X38BTTP3X7XKK4W"
        ["locale"]=>
        string(5) "en_US"
        ["message"]=>
        NULL
        ["name"]=>
        string(19) "[DEMO USE ONLY] ew9"
        ["nextParticipantInfos"]=>
        NULL
        ["documentKey"]=>
        string(15) "X389U3WXM663X76"
        ["securityOptions"]=>
        NULL
        ["participants"]=>
        object(stdClass)#79 (1) {
          ["ParticipantInfo"]=>
          object(stdClass)#80 (8) {
            ["roles"]=>
            object(stdClass)#81 (1) {
              ["ParticipantRole"]=>
              string(6) "SENDER"
            ["status"]=>
            string(6) "WIDGET"
            ["alternateParticipants"]=>
            NULL
            ["securityOptions"]=>
            NULL
            ["company"]=>
            string(20) "NaveenTechnology"
            ["email"]=>
            string(27) "[email protected]"
            ["name"]=>
            string(11) "Naveen"
            ["title"]=>
            string(13) "Sr. Developer"
        ["status"]=>
        string(6) "WIDGET"
    and the result is the same even If the document is signed in the widget and waiting for email validation. Not sure if im in a right path to get 'WAITING_FOR_VERIFICATION' status. Please clarify.
    Thank you,

  • BAPI/FM for setting the user status for the Project definition and WBS elem

    Hi,
    I have to set the User Status for the Project Definition and the WBS elements in that project.
    The User status to be set is the same for the project and wbs elements.
    Please let me know if there is any BAPI/FM to set the user status..
    Thanks in advance.
    Regards
    Shiva

    Hi Shkithija,
    There is a dump encoutered in the form "PS_FLAG_GET_GLOBAL_FLAGS" for 'chk_precommit_ok' in the "BAPI_PS_PRECOMMIT".
    But it is showing SY-SUBRC = 0 when used along with BAPI_TRANSACTION_COMMIT.
    May i know what are input parameters we need to pass it to "BAPI_PS_PRECOMMIT".
    Do you have any idea.
    Please let me know
    Regards
    vishnu

  • How to edit data from an IDOC with errors and reprocess it

    Hi,
    We are working with SAP XI for communicate with an external systems by files (external) to IDOCS (SAP R/3).
    Sometimes we need to edit the data from an inbound IDOC, because the external system generates wrong information and that can't be processed directly.
    We had seen posts like:
    But we wanna to do it with no ABAP editor.
    ¿Can we change the data from the IDOC in other way (transaction) and reprocess it?
    We tried with /WE05, pushing EDIT button, but can't edit the data from the IDOC.
    Thanks in advance for your help
    Regards,
    Federico Martin

    Keep Looking at forums i founded:
    change idoc data
    To change the Inbound IDoc,
    1)Go to WE05/WE02, enter the Inbound IDoc number and Execute.
    2)Double Click on the segment (Page Icon) where you want to change the Data.
    3)In the Screen 'Display data record for IDoc' , Go to menu 'Data record' and click on 'Display - > Change'. Then it display a popup information 'Changes to the IDoc are written to the database' , then press enter .
    To Process the Edited Inbound Idoc , execute the program 'RBDAGAIE' in SE38 and enter the IDoc number.
    Thanks
    Sekhar
    AND
    /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    Also if you have something to say about it will be appreciated
    thanks

  • System status for IDOC creation and processing for production orders

    All
    I am creating IDOCs for production orders to send requirements to an external WM system for kitting execution.
    I need to know whether there are any system statuses to notify me when an IDOC has been created,failed and processed. If not, how do I go about creating user defined statuses for these statuses.
    Second question, which idocs should I use to confirm, teco and cancel the production orders from an external system?
    Thanks
    Evan

    HI Evan
    u can use the standard program - RBDMOIND scheduled in back ground to update the Idoc staus ,
    this helps to update the IDoc Status from
    '03     Data passed to port OK  '  to
    '12     Dispatch OK'
    status 03 indicates the IDoc is successfully transmitted to Communication Layer and the Status 12 helps to confirm the data dispatch to the receiving port.

  • System status or user status for IDOC creation and processing for prod ord

    All
    I am creating IDOCs for production orders to send requirements to an external WM system for kitting execution.
    I need to know whether there are any system statuses to notify me when an IDOC has been created,failed and processed. If not, how do I go about creating user defined statuses for these statuses.
    Second question, which idocs should I use  to confirm, teco and cancel the production orders from an external system?
    Thanks
    Evan

    For the first part of your query refer to the technical forums.
    For the second part - refer to Idoc - LOIPRO01, it has a segment for Order status, that should be of interest.
    Attn Moderators
    I think it would be better to move this thread to a technical forum, so the requester can get the most relevant information.

  • For IDOC monitoring, analysis and error handling in  ALE & idoc

    Hello...experts..can u please tell me about idoc monitoring,analysis and error handling..and can u please tell as per interview  point of view in this area..if availble can u send material about this...
    thx
    Message was edited by:
            durga kottapalli

    Hi,
    Reprocessing IDocs with errors
    Outbound (BD88)
    Once the error has been determined and corrected it is not necessary to resend the IDoc again. You simply resend the IDocs that have already been generated.
    Using the IDoc overview screen you need to take note of the following for each IDoc that was not processed:
    Error number: 2, 4, 5, 25, 29
    Error number: 30 (Execute Check IDoc dispatch to process)
    IDoc number
    Using the Error number, the IDoc number and the transaction BD88 , with the required message type you can resend the IDoc. Match the error number with this transaction and execute the function for the IDocs incorrectly processed.
    Just check the below link, u will get all IDOC related Interview questions
    http://www.allsaplinks.com/idoc_sample.html
    http://www.allsaplinks.com/
    http://www.sappoint.com/abap.html
    http://www.sap-img.com/
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    http://www.sappoint.com/abap.html
    http://sap.ittoolbox.com/documents/popular-q-and-a/extending-a-basic-idoc-type-2358
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://expertanswercenter.techtarget.com/eac/knowledgebaseCategory/0,295197,sid63_tax296858_idx0_off50,00.html
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b7eee43d711d1893e0000e8323c4f/frameset.htm
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sap-img.com/
    http://www.allsaplinks.com/
    Regards,
    Suresh.
    Message was edited by:
            SureshKumar Ramamoorthy

  • Missing data status for Idocs : HR ORG Upload in SRM

    Hi All,
        We are using ALE Idocs for uploading HR ORG in SRM system.We are getting some IDocs errors. 51 status is 'Missing data'.
    Details description like below:
    Missing data
    Message no. HRALX00_ORG315
    Diagnosis
    It has been determined that the employee 00036837 has been received for the first time. However, not all the data that is needed to create a business partner has been received. In this case, the infotype 1001 and the subtype A209 have not been entered for the employee.
    Procedure
    Maintain the filter of the appropriate distribution model. To do this, call transaction BD64 in the source system. Add a new filter group to the data filter. Assign the following values for the filter group: infotype: 1001, object type: P, subtype: A209. After you have generated the partner profile again and distributed the distribution model, you can redistribute the relevant IDoc.
    Please help me How to resolve this issue.Please let us know if you need any more information.

    Hi Ramchandra,
    it s the best solution to your query to load the IDOCs manually using the context menu of the datapackage or IDOC --> manual update and then refresh the load as it is not throwing any error
    check do you have enough number of process running in your system
    check for TRFC logs
    Thank you

  • Did anyone know how to update status for Idoc Finsta01

    Hi ,
    Did anybody did updating idoc status and message for idoc type FINSTA01.
    In Lockbox idoc_input_lockbx.
    If any BADI avilibale fr this to update.
    Thanks,
    Madhu

    Option 1:
    See SAP Help as below you will get the idea-
    Certain IDoc statuses are classified as archivable in the standard system, while others are not. You can display or change this classification.
    The current status of an IDoc must be archivable before the IDoc can be archived.
    Procedure
    Choose SAP Menu -> Tools -> Business Communications -> IDoc Basis -> Control -> Status -> Maintain Status Value.
    To change entries, choose .
    Select the required status. By double-clicking you can call a detail screen, in which you can display or change the archivability.
    By using or you can display or change all statuses one after another.
    Option2: I think it might be possible using generate status file for the outbound IDOC and then change the status in the file further process it. But I am not sure, I just had a look at the Xns in WEDI and made this story
    Thanks,
    Naren

  • HTML Code for Smart Link Edit and Logout items

    I am using an HTML template and would like to include the Smart Link Edit and Logout items in a TABLE. How do I do this?
    Is there a way to get the code for these Smart Links (ORACLE tags) and include them?

    According to Oracle Metalink "Note:368720.1 - When ILS is Enabled the Edit Smartlink is visible to Users that are not entitled to see it", that is the expected behavior whether you are using the "edit" substitution tags or the "edit" smartlink on a page when the page has item-level access enabled. I don't like it but I can understand why that is the behavior since an end user may have access to manage/edit just one item on a page or just one tabbed region on a page and they need a way to put the page into edit mode in order to edit their item(s). If a user has nothing to edit on a page, then they won't be able to do anything in edit mode anyway.
    On the employee portal I work on, there is the possibility that every page may have a different set of users/groups that need to edit items/regions on the page AND the edit smartlink is published on the portal page template so basically, all employees can see the Edit link but if they click on it, only those employees that have items/regions to edit/manage will be able to really do anything while in edit mode.
    However, on the customer portal I work on, there is only one group that manages content site-wide so I was able to publish the Edit smartlink on the portal page template and change its access to the one group that manages content so they're the only ones that can see the Edit link on every page.
    The substitution tags for Logout are #PORTAL.LOGOUT.URL# and #PORTAL.LOGOUT.LABEL# (I use those so I can control the html & css) or just #PORTAL.LOGOUT# (which does both the label and url). The list of all substitution tags is available in Oracle Application Server Portal Help.

  • Examples needed for Idoc to file and IDOC to web services

    Hi ,
    Could any one of you give some examples which take me through step-by-step in building IDOC-TO-FILE and IDOC-TO-WEB SERVICES?
    Regards,
    XI Developer.

    Hi,
    For IDOC scenario you need to first do the required configuration:
    ALE configuration for pushing idocs from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    Testing purpose u can use the below method:
    IDOC testing using WE19
    /people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters --> For Idoc sender: IDOC -file
    IDOC configuration:
    Please follow the below process for configuration:
    Pre-requisites for Inbound IDoc to R/3 from PI:
    Configuration required at Xi side:
    Go to IDX1: configure the port.
    Go to IDX2: load the DOC metadata.
    Go to SM59: Create RFC destination which points to R3 system this is require in the case where your IDOC is sent to R 3 system,
    Configiration required at R3 side:
    Maintain Logical System for PI (SALE transaction):
    Maintain Partner Profile for XI system(WE20):
    Pre-requisites for Outbound IDoc from R/3 to PI:
    Configurations required in R/3:
    Maintain Logical System (SALE)
    Define RFC Destination (SM59) which points to PI system
    Maintain Port (WE21)
    Maintain partner profile. (WE20):
    Maintain Distribution Model (BD64):
    File To IDOC - Part1 (SLD and Design):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    File To IDOC - Part2 (Configuration):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    File To IDOC - Part3 (Steps required in XI and R3):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    SOAP scenario:
    YOu have to first create the WSDL through ID and import that WSDL in to IR external definition.
    Refer the below thread and pdf:
    How to use SOAP adapter:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
    SAP AII - How to consume and expose webservices  ?
    Thnx
    Chirag
    reward points if it helps.

  • Process code or Fmodule  for Idoc type PREQCR101 and message type PREQCR1

    hi all,
           Iam unable to find the process code or function module for the idoc type PREQCR101 and message type PREQCR1 for inbound process.
    help from some one would be a lot appretiated.

    Hi,
    Go to transaction WE57 and you can find the processing FM and message type that are associcated to the IDOC type.
    For process code if it is Inbound check WE42 and outbound check WE41 transactions
    Regards
    Shiva

  • What is best mac and software for home video editing and creation

    I am about to buy a mac to capture 30 years of photos, film, and video (multiple formats).
    I want to then edit a series of videos to make movies to capture our family history.  I know I will have a lot of conversions to make and will use a local video transfer place to do that.
    I am not worried about price.
    My goal is to make a series 30 of DVD's each about 1.5 hours in duration.
    I have a lot of organizing, editing, publishing and storing to do.  I know it will take me a long time.
    I am about to purchase the mac and other things needed.
    Thanks in advance for your help.
    Dave

    I do LOTS what you are about to do.
    I think I can confidently say I have tried all software and the vast majority of video converters. Here is how I do it.
    Computer:   Mac Pro
    Movie editor:  iMovie 06, (more expensive than iMovie 11 but well worth the price) I have iMovie 11, but I would not use it for making DVDs.
    DVD authoring:  iDVD 09 / 11  ( iDVD has not changed in a couple of years, just make sure you're using iDVD 08 or later).
    You will also need a A/D coverter. (Like the Grassvalley ADVC300)
    I've played around with countless other conversion systems, ranging in price from $79 to $399. Short verison, this is the ONLY unit to own. No dropped frames at all, even with questionable quality tapes, no jitter, great color, excellent sound quality. Zero setup with iMovie 06 and iDVD 09/11.
    This is a prosumer deck. The time code function is alone worth the price if you have old analog footage. Absolutely NO "Out Of Sync" audio.
    ADVC300 is for anyone who wants to do editing and is concerned about quality of color and speed, for the novice it is an incredible gizmo that will restore VHS tapes to a state close to the original fixing midtones, highlights and shadows on the fly. Not only can you simply convert analog to digital you can actually manipulate the signal going in (if you want to).
    A bit pricey but it WORKS.
    http://www.grassvalley.com/products/advc300
    The program that comes with the ADVC300 has some nice filters that can improve video and audio of the source material.
    I also own an Elgato EyeTV,  it's in a drawer somewhere. The ADVC300 gives much better results ESPECIALLY WITH TAPES.
    iMovie 06 and iDVD 09 is 100% "lossless" combination and my DVD's look like they came from Hollywood!

  • Which adobe software can be used for video ads editing and generation.

    I am employed in a company ShoppingSpout.co.uk and I have a work related to ads. I am using Photoshop for image ads and banners but i really dont know which adobe product is handy to make ads for my site : http://www.shoppingspout.co.uk

    Video editing would be Premiere Elements (under $100 US) or Premiere Pro (about $800 standalone for CS6 or newest version is only on the Cloud only for a monthly fee)
    Click the big red A at the top left and go to the product pages for both products to read what they will do for you
    If you have questions about those products, check their forums... this forum is only to talk about how the forums operate, not products
    http://forums.adobe.com/community/premiere_elements
    http://forums.adobe.com/community/premiere

  • Status for IDOC

    Hello Everyone,
    after inbound processing through test tool (we19) the idoc is in error (rather warning) state. The error being
    "No status has been passed to/by ale layer".
    What exactly is the problem which gives this type of error.
    regards
    Rahul.

    Hi Kesi,
    Incase of the inbound, we must update the idoc status. Please refer a sample code that is updating the idoc status,
    FM to create the notification items
      CALL FUNCTION 'ALM_PM_NOTIFICATION_ADD_DATA'
        EXPORTING
          number                  = v_notification
    IMPORTING
      NOTIFHEADER             =
      NOTIFHDTEXT             =
       TABLES
      NOTFULLTXT              =
         notitem                 = i_noitem
      NOTIFCAUS               =
      NOTIFACTV               =
      NOTIFTASK               =
      NOTIFPARTNR             =
      KEY_RELATIONSHIPS       =
         return                  =   i_return_add.
      READ TABLE i_return_add WITH KEY type = 'E'.
      IF sy-subrc EQ 0.
        v_noti_error = 'X'.
        idoc_status-docnum = v_docnum.
        idoc_status-status = '51'.
        idoc_status-msgid  = 'IM'.
        idoc_status-msgno  = '147'.
        APPEND  idoc_status.
      ELSE.
        LOOP AT i_noitem.
          idoc_status-docnum = v_docnum.
          idoc_status-status = '53'.
          idoc_status-msgid  = 'IM'.
          idoc_status-msgno  = '654'.
          idoc_status-msgv1  = i_noitem-item_key.
          APPEND  idoc_status.
        ENDLOOP.
      ENDIF.
    Hope this will solve your problem.
    Thanks
    Kathirvel

Maybe you are looking for

  • Material document posted on the same inspection lot but using another batch

    Hi, May I request your assistance with regards to our issues on iinspection lot For this inspection lot, there were three movements created. When doing Usage Decision, it is reporting that there are still remaining quantity 13,332.413 LPA open in the

  • My i phone 4 very slow when downloading  from wifi..

    please help me out what should i do my ip 4 very slow when downloding  with wifi....

  • Need Automatic trigger of Third Party

    Dear SAP Gurus, I have a requirement.  We have some materials and this materials are either delivered by Company itself or sometimes by Vendors. Now the requirement is whenever this material is not there in the stock, system should automatically trig

  • Writing files in air for android

    I'm trying to create a user license agreement that will show the first time a player opens my game. I'm using a FileStream with a complete event and an IOEvent. The IOEvent is triggered the first time because the file I'm looking for doesn't exist. I

  • PDF rewriter: concatinate/merge pdfs

    I read this well written article: http://cqblueprints.com/xwiki/bin/view/CQ+FAQ/How+can+I+configure+the+PDF+rewriter and was able to edit the file here: /libs/wcm/core/content/pdf/page2fo.xsl  to convert my .html file to .pdf on the fly.  But I have