Can you add a Purchase Order with Sales Order as its Base Type using DI-API

Is it possible to set the basetype on a PurchaseOrder document line to 17 to create a document as you would using the Procurement Confirmation Wizard in the UI?
I am using 8.81 SP00 PL09.

Anyone?
We already have code to automatically generate Sales Orders using the DI-API, and if we could automate the create of the Purchase Orders as well, it would save a lot of end-user time.
We would like to do it with the Base/Target references set so that end users can navigate between them in the UI.
You can do it with the Procurement Confirmation Wizard, and I would like to know if it is possible to replicate this functionality through the DI-API or if I should move forward by just creating the Purchase Orders without reference to the Sales Order and using a UDF to tie them together.

Similar Messages

  • Can u tell me any bapi to create the purchase req with sales order as refer

    can u tell me any bapi to create the purchase req with sales order as reference?

    Hi Mukesh,
    You can use 'BAPI_REQUISITION_CREATE' for the purchase requisition creation if through transaction, you use transaction ME51N for creating the purchase requisition.
    Cheers,
    Sujay

  • To create a return order with sales order as reference in CRM.

    Hi guys,
    How do i create a return order with sales order as reference in CRM. Is CRMD_BUS2000115 the transaction for this?? and if yes how do i pass sales order as reference??

    Hi,
    While archiving the documents, the backup of the documents (Archive FIles) would have been taken. Using the archive file, you can reload the required documents and do your transaction.
    It is better to check with your technical team to do the same.
    Regards
    Vijay

  • Creation of Purchase Requisition with Sale order

    Hi,
    I have a scenario where I need to create a Purchase requisiton for the requirement from the sale order (like the Third party sale order).
    I have done the required configurations to create the Purchase requisition.
    My Sale order has three line items and each line item has different Item category and schedule line category.
    I have configured different Purchase requisition document types for every schedule line.
    When sales order is saved, I need seperate Purchase requisition since the PR document type are different for every schedule line.
    But system creates only 1 PR with multiple lines. It picks the PR doucment type assigned to the schedule line category of 1st line item in the sale order.
    How can I get different PR for different doucment type in a single Sale order?
    Regards

    This can is happening b'coz at your sale order only one I cat is determining by default.
    So, determine diff I cat with diff desired the sch lines cat in the doc.
    Say,
    maintain, I Cat determination(VOV4)
    Sales Order(VOV8) - I Cat Group(material- MM02) - I Cat(VOV7)
    ZTPS - ZTA1 - ZTA1
    ZTPS - ZTA2 - ZTA2
    ZTPS - ZTA3 - ZTA3
    and also check.
    I Cat (VOV7) - Sch Line Cat (VOV6)
    ZTA1 - Z1
    ZTA2 - Z2
    ZTA3 - Z3
    Hope this can assist you in understanding.
    Thanks & Regards
    JP

  • Fields required for linking production order with sales order

    I need to link production order and sales order to get the part no#. need to see in md04.

    The link between production order and sales order can be made by using the KDAUF KDPOS fields of AUFK or AFPO and linking them to VBELN and POSNR of VBAP.
    Regards,
    Rich Heilman

  • Purchase Order with Sales Order Reference

    Hi Gurus,
    I have created a Purchase Order with reference to Sales Order.Now when I post Goods Receipt Mvt 101 system throws a message Update Control of Movement Type is incorrect.
    I have checked in customizing Transaction (OMJJ) cannot find settings related to this particular scenario.Can anyone suggest where I can update control for posting Goods Receipt for this purchase order.

    Hi, Check in OMJJ ,select Movement type>101
    Here click Update control / WM movement types on the left side , maintain the entries with the 101,
    Movement type indicator -B - Goods movement for purchase order

  • Subcontracting Purchase order with Sales order Reference

    Hi friends,
    I am facing a problem during GR of Purchase order with Acc. Assignment E and Item Cat L i.e. purchase order is MTO and of Subcontracting.
    During GR, system is purposing movement type 543 E instead of 543 O for BOM components. Please suggest how can I get the correct movement type during GR. I would like to appreciate for your kind response.
    Kraheja.

    Hi
    Go to SPRO->Logistic general->Tax on goods movement->India->Movement types.
    Here you will find the group of movement types check which movement types is mantained for the out side movement groups or inward movement.
    also check the Material Master in MRP view if the collective requirements (02) is mantained.
    Regards
    Sujoy

  • Can you add Programs to Open With Menu

    Is there a way to add programs to the Open With Menu.  For example, when you right click on a file you can choose to open it with the default application by selecting Open, or choose other programs to open it with by selecting Open With.  Only a few of the programs that can open the files are listed.  Is there a way to add programs that I use to list in that list.  Right now, everytime I want to open something in a program that is not listed I have to go to Other... and find it in the Application folder.  Which is not too convenient.  Many programs that I use to open files are not listed for many types of file types, I open them frequently using the Open... window, and I was hoping that Mac would learn to add them, but it did not. 
    For example, I have VMWare with Windows 7 and Microsoft Office 2010 in it, my default application for WORD documents is Word for Mac 2011, but occasionally I need to open it in Word 2010 in Windows (Certain features that are missing in Mac Word), and I have to browse to fin the Word 2010 Application from the Application Folder.  Another example is a program (from the App Store) called ResizeIt (which resizes photos), I have to browse for it everytime even though it is an application just for images.
    So, is there a way to edit the Open With Menu for specific file types to include these programs that I use, or do I have to keep browsing to the Application folder and finding it there?
    Thank you in advance!!
    David

    http://apple.stackexchange.com/questions/15030/how-can-i-add-a-new-application-t o-the-open-with-menu
    No answer yet, but this group may come up with an answer for you guys

  • Production order with sales order in MTO

    Using SAP ver 4.7 for make to order scenario.
    Presently production order creation is automated. At the time of creation of sale order the production order is created in the background.
    Now wants to create the Production order manually with reference to a sale order.
    Where this needs to be configure. Kindly advise.
    Thanks
    anya

    Hi Anya,
    Nice to meet you,
    I am Ram, working as CRM and SD consultant in a client palce. I want to know how to generate a production order automatically in back ground while creating a sales order.
    and How can we inform this production order to the production department.
    I request you to please educate me on this issue, your help is most awaited, and will be highly appreciated.
    thank you

  • Can you add Violin to song with Logic?

    I have a song I want to add violin to it is their a way to do? Thanks

    Err,
    don't you know how to establish an EXS24 plugin into a software instrument channelstrip?
    Look at your software instrument channelstrip (left side of Logic window). You should see the fader, and above it some rectangles with an "I/O" above them. Select the first rectangle beneath the "I/O". Click *and hold* your left mouse button to open up the list of available software instruments. Select the EXS24 sampler.
    In the plugin window which opens now, there's a silver region with some knobs. Just above "cutoff" theres a display field. Click into this display. Select factory -> pop strings -> violin. Or, if you have the Jam pack installed, factory -> orchestral -> strings -> violin.
    Or look under "Garageband" for the default strings. It's the same as "pop strings".
    If you don't want to use the EXS24, open one of the Garageband software instruments. They are basically the same as the EXS24 instruments but with another plugin window with less options to fiddle with.
    And a strong request: As these are most basic things, so read the manual. Logic isn't Garageband and has a steep learning curve. You will need the manual to learn it.
    Fox

  • Can you add one of these range expander to a router that is using a WAP54g as a repeater?

    I have a WRT54G router and a WAP access Point that I have setup as a repeater. I am working in a big house and there are still dead spots in the coverage. I was wondering if you can add an expander or another access point to further my range? I know which is cheapest, so which is easiest? and can an expander even work with the current equipment I mentioned?

    well , as you already have one wap54g working in a repeater mode and must be knowing the configurations i would recommend you to use another wap54g in repeater which will make the job simpler for you

  • PReqs with sales order stock couldn't be adpoted by PO with acc. assignmnt

    I use MD50 to generate PReqs for MTO, these PReqs couldn't be adpoted by ME21N with message 06251:
    Requisition &, item & , assigned to other order account
    but if I use ME21, it's ok. I find the following notes. But I don't understand in my case I don't want change PReqs account assignment, but adpotion is also failed to get account assignment from PReqs.
    Refer to  Note 632573 - ME2xN: 06259 if different account assignment in PReq
    Summary
    Symptom
    In Transactions ME21 and ME22, you can change the account assignments for purchase order items with reference to purchase requisitions with sales order special stock or project special stock. This option no longer exists in the EnjoySAP purchase order transactions, the system generates error message 06251:
               Requisition &, item & , assigned to other order account
    Other terms
    ME21N, ME22N, ME23N, 06251, sobkz,
    Reason and Prerequisites
    The purchase requisitions were not generated from sales and distribution but created for sales order special stock or project special stock.
    Solution
    In the EnjoySAP purchase order transaction, you cannot enter an account assignment different from the purchase requisition for sales order special stock or project special stock if you reference to a purchase requisition. You must first change the purchase requisition correspondingly and then call the purchase order again.
    Under the above mentioned conditions, also in Transactions ME21 and ME22, the account assignment of the purchase order must correspond to the purchase requisition if the reference to the purchase requisition is created in a schedule line. Unlike in Transactions ME2xN, you can change the account assignment in the purchase order at a later stage.
    It is not planned to change the system response

    I use MD50 to generate PReqs for MTO, these PReqs couldn't be adpoted by ME21N with message 06251:
    Requisition &, item & , assigned to other order account
    but if I use ME21, it's ok. I find the following notes. But I don't understand in my case I don't want change PReqs account assignment, but adpotion is also failed to get account assignment from PReqs.
    Refer to  Note 632573 - ME2xN: 06259 if different account assignment in PReq
    Summary
    Symptom
    In Transactions ME21 and ME22, you can change the account assignments for purchase order items with reference to purchase requisitions with sales order special stock or project special stock. This option no longer exists in the EnjoySAP purchase order transactions, the system generates error message 06251:
               Requisition &, item & , assigned to other order account
    Other terms
    ME21N, ME22N, ME23N, 06251, sobkz,
    Reason and Prerequisites
    The purchase requisitions were not generated from sales and distribution but created for sales order special stock or project special stock.
    Solution
    In the EnjoySAP purchase order transaction, you cannot enter an account assignment different from the purchase requisition for sales order special stock or project special stock if you reference to a purchase requisition. You must first change the purchase requisition correspondingly and then call the purchase order again.
    Under the above mentioned conditions, also in Transactions ME21 and ME22, the account assignment of the purchase order must correspond to the purchase requisition if the reference to the purchase requisition is created in a schedule line. Unlike in Transactions ME2xN, you can change the account assignment in the purchase order at a later stage.
    It is not planned to change the system response

  • Goods valuation with sale order stock

    use S price valuation material, goods have production order ,with sale order stock, when the produciton order have GR, the goods stock value do not use standard price for material accounting view,why ? what problem? use standard price valuation sale order stock is standard program for the SAP system ? this is very touchy problem.

    make sure that for the final product manufactured in accounting view u have maintinaed the price contrlo indicator as S
    and if still error comes then let me know system would be showing the  actual cost and planeed cost
    if there is variance then system is goingto post that to the cost difference account

  • U00A7ECH Engineering Change with Purchase Order, Process Order and Sales Order

    Hello All,
    Can someone kindly explain me the integration points of Engineering Change with
    1. Purchase Order
    2. Process Order
    3. Sales Order
    I know we can see the Rev Letter in the first two. Is there a 'refresh' function inside the  PO, Process Order, Sales Order by which we can get the latest and greatest revision, incase the material rev is updated/changed after the PO, Proc Order, SO is already created. Also if yes,after what status in PO, Process Order or Sales Order we cannot use the 'Refresh' button, and than what needs to be done to fix this situation.
    Thanks in advance,
    Sachin

    Hi,
    really, this depends on several factors, especially the valid from date of the ECM and its impact on changes on a BOM (which I suppose is the use case you are looking at? Or just a change on the material revision of the BOM header material?
    Interesting for you should also be Order Change Management, although not applicable to process orders as far as I know:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/41/3699761bc211d2b62b0000e8359890/frameset.htm]
    Regards, Ulf.

  • Just purchased a new iMac running 10.9.5, needing a version of illustrator. Do I go with CS6 hard copy or down load or CC? I have 17 years of illustrator files some il 7 some CS. Can you save back to Legacy with CC?

    Just purchased a new iMac running 10.9.5, needing a version of illustrator. Do I go with CS6 hard copy or down load or CC? I have 17 years of illustrator files some il 7 some CS. Can you save back to Legacy with CC?

    Really need to be able to save back to the older versions, in order to output vector files on an older plotter. Running an older application of Mac sign from Softeam, can't get in touch with them. Total pain to upgrade, been dumbing down for too many years.

Maybe you are looking for

  • Creation of context sensitive help with pure FM 12 usage doesn't work

    Hi, I hope somebody is able to help me with a good hint or tip. I am trying to create a context-sensitive Microsoft Help with FM12 only using the abilities of FM (no RoboHelp). For some reasons, my assigned ID's are not used in the generated chm file

  • How to assign a character field to a strucure in ECC6.0 ( Unicode error)

    Hi all, This is regarding a Unicode error we are facing in upgrading a program from 4.6c to ECC6.0. The following pice of code gives error now in ECC6.0, stating Unicode incompatible structures.         DATA: WA_MSEG TYPE MSEG,                    WA_

  • Query is taking more time

    Hi , I am using oracle 10g .My query is as below SELECT /*+ PARALLEL(s ,4) */ s.* FROM test_01_ext a, test_opn_acc_ext b WHERE a.site_no = b.site_no (+) AND a.cntry_cd = b.Loc_cntry_code (+) both the tables are external tables having millions of reco

  • PI 7.1 /EHP1 /Rosettanet

    Hello , Wanted to know about PI 7.1 for EHP1 and its compatibility with rosettanet. Is there any article or known issues? Thank you.

  • MIRO by GR Line items

    Hi, Some how our system is showing MIRO by GR line items. Means, We have a PO with single line/single account assignment             We received 5 GR's for the same PO             When doing the MIRO, there are 5 line items were displaying correspond