IDOC should be created when PO RELEASED Using ME29N Transaction?

Hi,
   Can anyone suggest me how to create ACCESS SEQUENCE,PROCESS ROUTINES,CONDITION RECORD and all steps in NACE Transaction.
our requirement is that the IDOC Should get Created Only after Purchase Order is Released using ME29N transaction.
Can anyone tell how to create IDOC and Send that IDOC to Receipient system for a Purchase Order that is already Released using ME29N transaction

thank u

Similar Messages

  • Please tell me the cases when I will use Call transaction/ Batch Session.

    Can you please tell me when I will use Call transaction or  Batch Session in the time of uploading data through BDC.
    Regards,
    Subhasish

    Hi subhasish,
    1. One of the main criteria is
    2. If error handling facility is required, then batch session is the best,
      otherwise if we use call transaction, then error handling code,
      has to be written in the program itself.
    3. Batch session provides lot of facilities to the user.
    regards,
    amit m.

  • Idoc not gettind created when saving a sales order

    Hello,
    In my system a sales orders has been created using ORDERS05 Idoc. We wanted a confirmation Idoc to be created automatically by this sales order but it didn't. The output type for EDI processing is in yellow for this sales order. I checked 'Dispatch time' in further data and it was 'Send immediately'.
    When I click on save again on the 'output types' screen I get an update error in my inbox saying that "AM 117: Form of address key & is not defined".
    Can anyone tell me where I am going wrong?
    Kind Regards,
    Priyanka Gupta.

    Hi,
    Try this.
    In some cases, even after setting the trigger immediately in the partner profile, the idoc status will be in yellow color. For this add the below code and trigger it.
    CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
          EXPORTING
            master_idoc_control            = wa_ctrl
          TABLES
            communication_idoc_control     = i_comm
            master_idoc_data               = 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.
        IF sy-subrc EQ 0.
          READ TABLE i_comm INTO wa_comm INDEX 1.
    *Unlock table created by master data
          CALL FUNCTION 'EDI_DOCUMENT_DEQUEUE_LATER'
            EXPORTING
              docnum = wa_comm-docnum
            EXCEPTIONS
              OTHERS = 1.
          REFRESH it_idoc_range.
          lwa_idoc_range-sign   = 'I'.
          lwa_idoc_range-option = 'EQ'.
          lwa_idoc_range-low    =  wa_comm-docnum.
          APPEND lwa_idoc_range TO it_idoc_range.
    Send the idoc
          CALL FUNCTION 'ISU_EDATEX_IDOC_SEND' IN BACKGROUND TASK
            EXPORTING
              xt_idoc = it_idoc_range.
          GET TIME.
    Ensure background task is called immediately
          CALL FUNCTION 'START_OF_BACKGROUNDTASK'
            EXPORTING
              startdate = sy-datum
              starttime = sy-uzeit.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
       ENDIF.
    Regards,
    Sharin.

  • No PDF created when section break used and no data in XML group

    I have this issue that Tim Dexter documented on a few years back...
    http://blogs.oracle.com/xmlpublisher/output_formats/
    "When you are using @section in your template for the commands, 'for-each' or 'for-each-group' (e.g. <?for-each@section: ...?>), then an empty/invalid PDF can be generated if XML data file has no data for that for-each loop."
    This is my exact issue. Yet the instructions do not solve my problem completely. I add another section break at the end of my RTF and it gets the page to show...but I get an extra page at the end of all the populated xmls
    Is there a way to supress this page?

    Hi Jason,
    I would like to see your template and data.
    You have use @section and add condition to make the no-data page.

  • Creating PO with me21 using call transaction

    hi,
    I need some help regarding the application:
    i have to build a custom screen having fields for creating PO using me21 transaction using call transaction.
    would anybdy please guide me how to do it.
    i wd appreciate ur help

    Hi Harpreet
               For creating a custom screen you will ve to use a screen exit. For purchase order 'MM06E005' will be useful. Explore it in XN SMOD.
    Regards
    PRAFUL

  • Transport Request should be created when data in table gets saved

    Dear All,
    I have a requirement that I have a cross client table. When in a particular client say 800 the data gets saved then a transport request should be generated so that the data can be transported to other client. Can you please help me out how this can be done. I have created a table maintenance generator and there I have considered STANDARD RECORDING ROUTINE as recording routine. It is asking for workbench request.
    Please can you help me out?
    Thanks and regards,
    Atanu
    Edited by: Atanu Dey on Jan 24, 2008 5:48 PM

    Hi,
    you have to create a table(ZTEST) without the field 'MANDT'(Client). So that that table is client specific, so you save the data in the table(ZTEST), it will ask TR.
    i hope it may be useful.
    Regards,
    Boobalan. S

  • Release Tab in purchase order disappear after release using ME29n

    Hi there,
    We are busy testing support stacks (upgrading from ECC6 SAP_APPL SAPKH60305 to SAPKH60307)and we've come accross a strange problem.  When we create a normal purchase order (ME21n) the purchase order does pick up a release strategy.  Using the older ME28 transaction to release this purchase order, everything is fine.  We can use ME28 to release the purchase order, as well as unreleasing the purchase order, as often as we want (the same purchase order).  When we use transaction ME29n the release tab in the purchase order just simply disappears after saving.  In the purchase order header changes, the release change is visible, but the release tab is missing.  This purchase order is now not subject for release, and a goods receipt is possible without release.  I checked in table EKKO as well and the release fields in this table for this purchase order is empty.
    Has anybody had a similar experience?  Any advise would be greatly appreciated.
    Regards
    Christo Vermeulen

    Hi Christo Vermeulen,
    I have detected the same problem as reported by you. Did you solve it? Do you know how can I procedure to solve it?
    Thanks in advanced,
    Eder Nicoleti

  • Should I unplug my AE when not in use?

    I've read many reviews re: the short lifespan of AirPort Express. Is it advisable to unplug when not in use?

    Many product reviews on the Apple site complain of poor performance and unexpectedly short life of the AirPort Express. Is there a reason why one should not unplug when not in use?

  • HT3965 I have an ipod with itunes loaded on it.  I bought a new iphone 5C and want to set it up.  It wants me to create a new account.  Should I create a new account or use the existing ipod account?

    I have an ipod with itunes and apps loaded on it.  I bought a new iphone 5c and want to set it up.  It wants me to create a new account.  Should I create a new accountor use the existing ipod account?

    If you want you're apps and content on you're iPhone then use you're existing account. If not then create a new account.

  • Business Transaction Profile - Error when using Z-Transaction Type

    Dear Experts,
    we are using SAP CRM 7.0 (Support Level 0007 - SAPKU70007). I have created a Z-Business Transaction Profile Z_IC_SERVICE.
    SAP Help says:
    Enter the transaction type to be used as a default in your scenario in the IC WebClient. For example, choose the transaction type 0010 (Interaction Record) if an interaction record is to be created automatically. The system creates this interaction record automatically after the interaction has started (for example, after accepting a call). During this, the activity clipboard in the interaction record is filled with the relevant data.
    So when I am using the transaction type 0010 (Interaction Record) in my Business Transaction Profile all is OK that means I can search for accounts and I can confirm them to go on with the process.
    BUT: When I entering here a Z Transaction Type (Z000) the systems shows the errors:
    - Error occurred in class CL_ICCMP_CUCOIREC_IMPL, event InteractionStarted.
    - Error occurred in class CL_ICCMP_CUCOIREC_IMPL, event BPConfirmed.
    Then I have made a copy of the transaction type 0010 (Name of copy: Z010) and tried to use it in my Business Transaction Profile the system says:
    Customizing settings missing. Assign partner functions to Z010
    Anybody know what to do and where to avoid errors? Note 1346892 is obsolete in this case because we already have the highest Support Package Level.
    Best Regards
    Oliver

    Hi yes you were right. In the case of both transaction type I have corrected the customizing parameters in
    SPRO -> Customer Relationship Management -> Interaction Center WebClient -> Business Transaction -> Assign Partner Functions to Business Transactions
    In the case of Transaction Type Z010 I had Z-Partner Functions and and that leaded to the errors:
    - Error occurred in class CL_ICCMP_CUCOIREC_IMPL, event InteractionStarted.
    - Error occurred in class CL_ICCMP_CUCOIREC_IMPL, event BPConfirmed.
    In case of the Transaction TYPE Z000 I forgot to assign the Partner Functions that is why this error appeared:
    Customizing settings missing. Assign partner functions to Z010
    Thread Closed

  • When I am using FB08(for Reversing) am getting error message

    Hi Guys!!!
                  am basically ababper, I got one issues from FI consultant.when he has done posting using the transaction  FB03. He wanted to reverse the posting item using the transaction FB08.when he is using the transaction FB08,he is getting error like *express document "update was terminated" recived from auther"(my name)"*.
                after that i went to SM13 if click the error messges it goes to dump analysis,in  this function module."RKE_WRITE_ACT_LINE_ITEM_COC1"
    this is the error text i got: 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC

    Hi
    It seems the fm RKE_WRITE_ACT_LINE_ITEM_COC1 try to insert some records with the same keys.
    There isn't the fm RKE_WRITE_ACT_LINE_ITEM_COC1 in my system, you should check what that fm does.
    Max

  • Unable to use PIC01 transaction for Supersession chain creation

    Dear All,
    I am trying to create a supersession chain using PIC01 transaction. While entering the transaction, i am getting error as "Transaction Code PIC01 cannot be executed. You are trying to execute the transaction code &1, but it is in a deactivated package.
    System Response
    Execution is cancelled.
    Procedure
    Use transaction SFW5 to check whether all components required for the operation of your system are activated (switched on).
    How should i resolve this. I checked in SFW5, but couldnt really know which package i should activate etc.
    thanks in advance for your help.

    Hello shyamsundarl
    If you are using the DIMP solution only for the Supersession
    functionality and not for the MPN, you would only have to activate
    DIMP_SDUD Business Functions.
    Please read note 849981 and discuss the issue with your SAP consultant.
    Consider that settings of buisiness function sets (TA SFW5) are
    irreversible... so please do the switch first on a dev system only,
    and test carefully!
    Enda.

  • Problem in using the PA characteristic derivation using KEDR transaction

    Hi All,
                  For one of my requirements i need to update the 'KAUFN'  field in CE1XXX table with the reference document no(Contract number- VGBEL) which is there in VBAK table while createing the sales order using VA01 transaction.  I have implemented one derivation using the user exit EXIT_SAPLKEDRCOPA_001. I got succeeded in updating the structure I_COPA_ITEM with the VGBEL filed, but the problem it is not updating in the table CE1XXX table. 
                Please suggest me regarding this problem. Is there any other way for this issue.

    Hi Hussain,
    Have a look at the following useful link:
    Re: CO- PA characteristic derivation
    Hope it helps.

  • Which User-Exit is used to create IDOC when we release procee order?

    My question is the IDOC (Basic type: LIOPRO01 and Message type: LIOPRO) is generate when user save the process order or when he release process order? I want to trigger IDOC when user release process order.
    Is this the use exit i can use PPCO0007?

    hi
    ty this user exit
    EXIT_SAPLCOIH_002
    Bharat Bhushan

  • System should not creates new version when value of PO increased..

    Hi Experts,
    Need your help to solve this problem. When i increase value of PO it should retrigger Release strategy but it creates version first, then i have to tick completion indicator and check then only release strategy retriggers..
    It should not create new version when change po
    Please check below screenshot
    Please help

    Hi
    Please reveiw the following points in note
       - 493900 FAQ: Release Strategy
          4.  Why is the release strategy not determined?
         "If you use version management, the determination of the release
          strategy starts when the version is completed.
          You complete a version by setting the "version completed"
          indicator in the version tab."
       - 662993 Resetting an already occurred release
         You edit a purchasing document with release strategy.
         You change the quantity or the price. In spite of that, the
         already set release is not reset.
    The release strategy works the same with or without version management
    active - the only difference in case - version management is active -
    is that if release is to be reset, it will be reset only on version
    I hope this helsp to clarify this issue
    Kind regards,
    Lorraine

Maybe you are looking for