I want to create purchase Contract through workflow

Hi All,
I am working on Purchase contract through workflow. In that I am using business object BUS2014,
But in this business BUS2014, there is no event called create, So I take copy of business object BUS2014 to ZBUS2014.And I craeted event create & method end_date for checking the end date of contract.
The problem is, When I am using for t-code ME31k for release, If i am going to check t-code SWEL the event is not trigger on for release.
My requirement is when the contract is going to over then before 10 days the workflow event is trigger and give the remainder to creator & the vendor. And also same thing before 5 days it will give the 2nd remainder.
Please help me out regarding this.
Thanks & Regards,
Pankaj Sinha.
Edited by: Pankaj Sinha09 on May 11, 2009 10:07 AM

Hi there Sebastian,
You will need this 'extra Action' and QuickTime Pro...
http://www.apple.com/downloads/macosx/automator/quicktimecompressionactionsandwo rkflow.html
Regards
Ric

Similar Messages

  • Create Purchase Order through EDI

    Hello Everybody,
    I want to know how to create Purchase order through EDI. I will receive text file from third party system. I have made most of the configuration related to EDI like Port -File, Partner Function etc. I am using message type PORDCR and Idoc type PORDCR05.
    But i do not know how the SAP first will convert the text file into IDoc and then create Purchase order. Can any body help me how to go about it? What steps i have to follow. I will have text file from that i have to create Purchase order through EDI.
    Thanks in advance.
    Regards,
    Manish

    Hi,
    Create Purchase Order through EDI
    Regarding on your query,
    You can use the standard ORDERS05 idoc type itself to send outbound idocs.
    It will be the middleware or the integration team that will send this IDOC to the receiving system.
    or
    Maintain Partner Profile in WE20, RFC Connection to the Middleware in SM59 and Port in WE21.
    Maintain Output Procedure/Output Type/Access Sequences/Condition Records from NACE
    Generate the Outbound 850 (PO) from ME21N
    Regards,
    Sekhar

  • Create Purchasing Contracts on SAP SRM system

    Hi all,
    I need to know how can I create purchasing contracts on SRM system: I must do it only through web portal or can I create them through SRM Transactions? What are the transactions which allow me to do this?
    Thanks in advance, best regards,
    Maria

    Hi Maria,
    In addition to what Masa has replied, the system does not allow the transaction to be processed in GUI once it is classified as Easy web transaction.
    BBP_CTR_MAIN is the transaction for Processing contracts. You can maintain the transaction using SE93 txn code.
    If you click on display button you can see that the transaction is classified as Easy web transaction by activating the radio button.Once this setting is deactivated the transaction can be processed in GUI.
    You can test the transaction by clicking on the Test icon on the menu bar.
    Hope this makes you more clear.
    Award points for helpful answers.
    Rgds,
    Teja

  • Issue with Idoc for creating purchasing contracts

    Hello everyone,
    I'm trying to create purchasing contracts using Idoc BLAORD3 through LSMW.
    But i have a problem : all informations concerning account assignement are missing on this Idoc.
    Does anyone know how to solve this problem? Maybe is there a BAPI which could replace my Idoc? Or is there another Idoc which could create account assignement seperatly?
    Thanks in advance for your help.
    Cédric

    Hi,
    Try using E1EDK18 segment. Put "Number of days" ,Qualifier and check if this achievs the desired result or not? If yes then you have to use an user exit to put the number of days in the IDOC.
    Cheers,

  • Can we create purchase order through report programming?

    hi experts.....
    can we create purchase order through report programming?If yes plz give me the thread details?

    Hi,
    Use this code in a program by using a BAPI function module
    Anothe rway is using classical/ALV report using call transaction from a report for changing the PO
    loop at i_header.
        header-ref_1         = i_header-legacy.
        headerx-ref_1        = c_x.
        header-doc_type      = i_header-bsart.
        headerx-doc_type     = c_x.
        header-comp_code     = i_header-bukrs.
        headerx-comp_code    = c_x.
        header-purch_org     = i_header-ekorg.
        headerx-purch_org    = c_x.
        header-pur_group     = i_header-ekgrp.
        headerx-pur_group    = c_x.
        header-vendor        = i_header-lifnr.
        headerx-vendor       = c_x.
        concatenate i_header-bedat+4(4)
                    i_header-bedat+0(2)
                    i_header-bedat+2(2)
                    into header-doc_date.
        headerx-doc_date     = c_x.
        header-created_by    = i_header-ernam.
        headerx-created_by   = c_x.
        header-currency      = i_header-waers.
        headerx-currency     = c_x.
        concatenate i_header-kdatb+4(4)
                    i_header-kdatb+0(2)
                    i_header-kdatb+2(2)
                    into header-vper_start.
        headerx-vper_start   = c_x.
        loop at i_items where legacy = i_header-legacy.
          item-po_item            =  i_items-ebelp.
          itemx-po_item           =  i_items-ebelp.
          itemx-po_itemx          =  c_x.
          if i_header-bsart = 'NB'.
            item-material            =  i_items-ematn.
            itemx-material           =  c_x.
            schedule-quantity        =  i_items-menge * 1000.
            schedulex-quantity       =  c_x.
          else.
            item-short_text          = i_items-ematn.
            itemx-short_text         = c_x.
            item-matl_group          = '1000'.
            itemx-matl_group         = c_x.
            schedule-quantity        =  '1'.
            schedulex-quantity       =  c_x.
          endif.
          item-plant               =  i_items-werks.
          itemx-plant              =  c_x.
          schedule-po_item         = i_items-ebelp.
          schedule-sched_line      = '1'.
          schedulex-po_item        = i_items-ebelp.
          schedulex-sched_line     = '1'.
          schedulex-po_itemx       = c_x.
          schedulex-sched_linex    = c_x.
          concatenate  i_items-eildt+0(2)
                       i_items-eildt+2(2)
                       i_items-eildt+4(4)
                       into schedule-delivery_date.
          schedulex-delivery_date  =  c_x.
          item-price_unit          =  i_items-peinh * 100.
          itemx-price_unit         =  c_x.
          item-tax_code            =  i_items-mwskz.
          itemx-tax_code           =  c_x.
          item-shipping            =  i_items-evers.
          itemx-shipping           =  c_x.
          account-po_item          = i_items-ebelp.
          accountx-po_item         = i_items-ebelp.
          accountx-po_itemx        = c_x.
          if i_header-bsart = 'FO'.
            item-pckg_no  = sy-tabix.
            itemx-pckg_no = 'X'.
            limits-pckg_no        = sy-tabix.
            limits-limit          = i_items-overalllimit.
            limits-exp_value      = i_items-expectedoverall.
            posrvaccessvalues-pckg_no    = sy-tabix.
            posrvaccessvalues-line_no    = '0'.
            posrvaccessvalues-serno_line = '00'.
            posrvaccessvalues-percentage = '100.0'.
            posrvaccessvalues-serial_no  = '01'.
            account-serial_no     = '1'.
            accountx-serial_no    = '1'.
            accountx-serial_nox   = c_x.
            account-quantity  = '1'.
            accountx-quantity = c_x.
            call function 'CONVERSION_EXIT_ALPHA_INPUT'
              exporting
                input  = i_items-kostl
              importing
                output = account-costcenter.
            accountx-costcenter   = c_x.
            call function 'CONVERSION_EXIT_ALPHA_INPUT'
              exporting
                input  = i_items-sakto
              importing
                output = account-gl_account.
            accountx-gl_account   = c_x.
            item-acctasscat       = i_items-knttp.
            itemx-acctasscat      = c_x.
            item-item_cat         = i_items-epstp.
            itemx-item_cat        = c_x.
          endif.
          append:item,itemx,schedule,schedulex,account,accountx,limits,posrvaccessvalues.
          clear :item,itemx,schedule,schedulex,account,accountx,limits,posrvaccessvalues.
        endloop.
        call function 'BAPI_PO_CREATE1'
          exporting
            poheader                     = header
            poheaderx                    = headerx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
            importing
            exppurchaseorder             = ponumber
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
            tables
            return                       = return
            poitem                       = item
            poitemx                      = itemx
    *   POADDRDELIVERY               =
            poschedule                   = schedule
            poschedulex                  = schedulex
            poaccount                    = account
    *   POACCOUNTPROFITSEGMENT       =
            poaccountx                   = accountx
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
            polimits                     = limits
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
       posrvaccessvalues            = posrvaccessvalues.
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
        if ponumber eq space.
          loop at return where type = 'E'.
            clear buffer.
            move-corresponding return to e_return.
            concatenate i_header-legacy e_return into buffer.
            transfer buffer to p2_file.
          endloop.
          move-corresponding i_header to i_eheader.
          transfer i_eheader to p3_file.
          loop at i_items where legacy = i_header-legacy.
            move-corresponding i_items to i_eitems.
            transfer i_eitems to p4_file.
          endloop.
        else.
          commit work and wait.
        endif.
        clear:ponumber,header,headerx,item,itemx,account,accountx,limits,return,schedule,schedulex,posrvaccessvalues.
        refresh:item,itemx,account,accountx,limits,return,schedule,schedulex,posrvaccessvalues.
      endloop.
      close dataset p2_file.
      close dataset p3_file.
      close dataset p4_file.
    Regards
    Krishna

  • Creating purchase order through coding

    I am trying to create purchase order through Code, for a table field i can insert as :
    odocs = GOD_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
    odocs.CardCode = "200173"
    But if the field is not a table field then , how can i insert it in PO?????

    Hi Ashish Patil 
    Not sure what you mean, not sure what table you are talking about. But here is some sample code on how to add a purchase order.
    Dim PO As SAPbobsCOM.Documents
            PO = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
            PO.CardCode = "VUL001"
            PO.Lines.ItemCode = "02SILVTS"
            PO.Lines.Quantity = 1
            PO.Lines.Price = 120
            If PO.Add() <> 0 Then
                Dim str As String
                str = oCompany.GetLastErrorDescription()
                MsgBox(str)
            End If
    hope it helps

  • I have £16.50 on my account, when i go to purchase a song Itunes wants me to purchase it through a credit card? why can i use my account money?

    I have £16.50 on my account, when i go to purchase a song Itunes wants me to purchase it through a credit card? why can i use my account money?

    Assuming you were not buying a gift for someone else - gifts cannot be purchased using a credit balance - another user in the forums posted this as the reply from the iTunes Store when this issue was brought up. Perhaps it will help you. If problems persist, contact the iTunes Store:
    http://www.apple.com/emea/support/itunes/contact.html
    Regards. 
    I'm sorry you weren't able to make a purchase using your store credit. To purchase items on the iTunes Store with your store credit, your account information in your user profile needs to be corrected. I'll walk you through this process to get you back up and running in no time. 
    1) Visit the My Apple ID website at:  http://appleid.apple.com 
    2) If the site is not displayed in your preferred language, click the Change Language link in the upper-right corner, type the name of your language in the field that appears, then click the Save button. 
    3) Click the "Manage your account" link. 
    4) Type your iTunes Store account name (which is your Apple ID) in the Apple ID field, type your password in the password field, then click the Sign In button. 
    5) Click "Addresses" in the column on the left. If you have multiple shipping addresses, remove any out-of-date or duplicate addresses by clicking Delete. Also, make sure the state or province field is filled out correctly for each address. To edit an address, click Edit. Edit all of your shipping addresses and make sure the appropriate state is selected in the State drop-down menus. 
    6) Now click "Phone Numbers" on the left. The area codes should be in the area code fields and the phone numbers should be in the phone number fields. If an area code is missing, or if it is in a phone number field, your account information may not save properly. 
    7) Make any other necessary corrections, then click the Save Changes button. 
    8) Click Log out in the upper-right corner.  When you make your next purchase on the iTunes Store, you will be asked to review your billing information. At this point, you can change your information or simply click Done at the bottom of the screen to proceed. Once you click Done, you should be able to purchase on the iTunes Store using your store credit. 

  • How to create installed base through workflow

    Hello everybody,
    We are doing a CRM implementation for a telkom company and we have a requirement as such.
    Suppose we are creating a contract for 10 products and then in the follow up transaction sales order I activate 5 of them.So my requirement is that we need to update the number of activated product in the contract as well..i.e- if 5 products are activated we need to ensure that in the contract this data is update.We want to achieve this functionality using workflows.Is there any method to created installed base components through workflow.
    Help would be sincerely appreciated.

    Hi N Panigrahi,
    I dont think there is no installed base component available for workflow for the scenario that you have explained.
    Regards
    Balaji E.

  • Creation of Purchase Contract through Upload

    Dear Gurus,
                       Mine is SRM 5.0 version and its ECS. I have created a Contract in the frontend and then Downloaded the contract in an Excel and then Deleated the Document Number and the GUI Id's and when again trying to upload the file through the Upload option from Frontend, it gives the following error message:
    <b>The specified file could not be read</b>
    Please Advice on the above issue.
    Thanks in Advance,
    Mohit.

    Hi
    <u><b>Please go through this -></b></u>
    <u>For moving contract from ERP to SRM system,please take help from</u>
    help.sap.com
    they mentioned everything very clearly.
    <u>http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAISMM/CABFAISMM.pdf</u>
    <u>http://help.sap.com/saphelp_srm50/helpdata/en/42/f93dfd975f3ee6e10000000a1553f7/frameset.htm</u>
    <u><b>Also please refer to SAP Consulting Notes below -></b></u>
    Note 859049 - SRM 5.0: Restrictions for uploading and downloading
    <u>Related Notes</u>
    907271 - Upload: New condition when you update the item
    812884 - How to change the fields used for Excel Up- and Download
    790860 - Frequently asked questions for Excel upload and download
    734946 - SRM: Restrictions for upload and download
    Note 734946 - SRM: Restrictions for upload and download
    <u>Related Notes</u>
    859049 - SRM 5.0: Restrictions for uploading and downloading
    790860 - Frequently asked questions for Excel upload and download
    673479 - Excel download: Quantities not displayed correctly
    Note 812884 - How to change the fields used for Excel Up- and Download
    <u>Related Notes</u>
    863542 - Excel download for bid invitations with display variant
    859049 - SRM 5.0: Restrictions for uploading and downloading
    Note 790860 - Frequently asked questions for Excel upload and download
    Note 673479 - Excel download: Quantities not displayed correctly
    <u>Also see the Report - <b>BBP_CONTRACT_INITIAL_UPLOAD</b></u>
    You can use this report to upload the contracts and scheduling agreements from an ERP system to an SRM system. A contract or a scheduling agreement from the SAP backend system is uploaded to the SRM system as a contract or a global outline agreement (GOA), based on the transaction type customized in the SRM or SAP backend systems.
    <u>Refer to this link for details.</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/6d/1e8442a07b0e53e10000000a155106/frameset.htm
    <b>Other related links -></b>
    Re: Initial Upload of Contracts using Flat file to SRM
    Upload legacy contract into SRM and CCM
    Re: Contract Upload to New System
    Re: Upload COntracts
    Do let me know.
    Regards
    - Atul

  • Problem in creating Purchase order through Idoc

    Hi ABAPers,
    I am trying to post PO document through WE19 t-code using inbound function module BAPI_IDOC_INPUT1 which is calling BAPI_PO_CREATE1 internally.And i am getting below error messages.
    1. Characteristic  does not exist in operating concern AC01
    2. This function only possible for subcontracting items
    3. No instance of object type PurchaseOrder has been created. External reference
    passing data to IDOC:PORDCR102
    Header Segment : E1BPMEPOHEADER and E1BPMEPOHEADERX
    company code    0814
    doc_type            NB
    vendor                0000400001
    poprg-                EPRO
    pgroup               U01
    Item Segment : E1BPMEPOITEM and E1BPMEPOITEMX
    Item                  00010
    material             000000000000000263
    plant                 0374
    Qty                   22.000
    Delivery Segment E1BPMEPOSCHEDULE and E1BPMEPOSCHEDULEX
    Item                  00010
    Schedule line     0001
    delivery date      01.12.2008
    Qty                   22.000
    Note: i am able to create PO successfully, through SE37 by using FM BAPI_PO_CREATE1  with given above data.
    Please confirm me, what else i need to pass to post PO through WE19 t-code using inbound function module BAPI_IDOC_INPUT1.
    Please reply me ASAP.
    Thanks and Regards,
    Sekhar Raju.

    must be data format issue. when you use Function_module/BAPI from SAP GUI, convertion exit is applied automatically. hence data is converted to proper format & submited.

  • View is not retuning data when creating XML message through workflow

    Hi All,
    This is a very critical problem for me. I am trying to send an XML message (outbound) through XML gateway. This is done from a custom workflow. The message creation is done from the standard procedure ecx_document.sendDirect. The data for the XML file is taken from two views (whcih are created in a custom schema and have synonym in apps). One view for header and another one for line information (I am creating an XML for a purchase order).
    The problem is when the workflow try the first time to create a message, the views are not returning data. So message creation fails. Now, if we restart the workflow after some time, it will work and the message is created. What could be the reason for this sort of a behaviour ?
    I am using business events to trigger the workflow. The data in the table/view will be updated by standard POAPPRV workflow activities. The custom workflow is subscribed to a business event raised from POAPPRV workflow, at a certain point. So this will execute when this event is raised from POAPPRV wf. The subscription has a phase value of 99.
    Any help on this regard will be much appreciated, as this is a critical issue.
    Thanks in advance,
    Arun
    PS : One more thing : this is happening mostly in the production instance where the number of messages is very high (freqency).

    Hello,
    With the BAPI_EQUI_CREATE you can only create PM equipments not IS-U devices that why there is no IS Tab .
    You have to use the dialog transactions IQ01, IQ04 or the MM transaction, where you can create devices through a movement.
    There is objecttype DEVICE (SWO1) with the following methods:
    -> Device.CreateFromData (Create Equipment Master Record)
    -> Device.Create (Create Equipment Master Record)
    -> Device.CreateISU (Create IS-U: Modification for IS-U)
    Please check whether you can use method Device.CreateISU for your requirement.
    Regards
    Olivia

  • Want to create a Quotation through Report programming

    Hi Expert,
    I need to create an Quotation in my ERP system through report programming. I just want to know, what are the FM Used for this purpose or any idea about this. I really welcome your great ideas.
    <removed by moderator>
    Thanks and Regards,
    Shakun
    Moderator message: please search for available information/documentation before asking.
    Edited by: Thomas Zloch on Oct 23, 2010 6:05 PM

    Hi Niji,
    refer to the following link:
    /people/kevin.wilson2/blog/2007/08/31/what-mechanisms-are-available-to-you-in-order-to-create-a-business-object-event
    hope this will help you.........

  • Creating Service Contract through program

    Hi Experts,
    Could you please direct me to create a Service Contract (Billable) through program...?
    I am trying to use FM - 'CRM_ORDER_MAINTAIN'.
    But fully confused what parameters to pass.
    Please help...
    Regards,
    Venkat

    Hi Mohammed,
    Thanks for the reply.
    Filling the fields and relevant data to structures and filling CT_INPUT_FIELDS is okay for me.
    Where I have doubt is when filling these REF_HANDLE, LOGICAL_KEY etc.,

  • Create Purchase Requistions through MD01 despite Procurement Type X

    Hi,
    When we run MD01, Planned Orders are being created for our materials with Procurement Type X despite we select "1 - Purchase Requisitions" in field "Create Pruchase req."
    We would like to have Purchase Requisitions created instead of Planned Orders, is it possible?
    Or is there any way of converting the planned order into a purchase requisition automatically? (we know we can do it manually in MD04)
    Thank you very much

    Hi Jürgen L,
    Thanks, but we need to have Procurement Type X (or E) due to a Project System requirement.
    I've seen that with Procurement Type E and Special Procurement 20 (External Procurement) the MRP creates PReq. (instead of Planned Orders) and our Project System requirement is fulfilled.
    It seems kind of contradictory (and I must do some extra test) but it works. Do you think this could have other consequences?
    Thanks

  • Creating Purchase Requistion through WRP1 (Replenishment planning)

    Hi,
    We use transaction WRP1 to create requistions. There is a requirement to store the stock on hand of all articles in the requistions at the time WRP1 is executed and report on it later. I tried to achieve this by adding field STOCK in EBAN and WVFB and hoping that will automatically be transferred from replenishment to requisition. But, this does not happen. Also, table WRPT has this field, but does not store the value.
    Is there any where else that I can get the stock on hand used by the replenishment run from.
    Thanks in advance for any help.
    Cheers
    Tim

    Hi Shakthi,
    check necessary settings in Article
    under Logistics DC and Store Rp type should be RP, mention the
    Reorder point,
    target stock,
    planned delivery time
    Availability chceck - 01
    Purchase group
    and then Run WRP1
    Thanks
    Satheesh.C

Maybe you are looking for