Order ( document to be assign to operation )

Hello Friends,
I need to have some advices from the ERP specilist guy
I have an order iw72 ( there are operations ). And I can assign some documents ( which one can see using cv02n) to these operations manually. Now my problem is I want to know if there is any BAPI / FM avaiable to do so.
I hope I am clear enough, but if not, plese let me know, and I will try to be as descriptive as possible.
Kind regards,
Message was edited by:
        Shah H
Message was edited by:
        Shah H

Hi
u can do this by writing new BDC if u have large data, but make sure that the documents are created before running BDC
Check with ABAP'er
Hope this helps, Pls reward points
regards
Vijay

Similar Messages

  • Purchase Order Document Type and Account Assignment

    Hi  ,
    We have a requirement to control Account Assignment in Purchase Order Item line based on the Document type selected on the Purchase Order header.
    Like if user selects Purchase Order document type "ZNB" (Customized created) , then he will only able to select "K" or Blank or "P" as account assignment and similary we want to limit other Account assignments based on the Purchase Document type.
    How can we make this Control settings?
    Regards
    Shrey

    Hi,
    You can't really limit the account assignment categories per document type, at least not directly.
    You can limit the item categories that can be used for a document type via configuration:
    Materials Management > Purchasing > Purchase Order > Define Document Types
    Within this transaction you can define which item categories are valid for a specific document type.
    You can then define which account assignment categories are valid for each item category
    Materials Management > Purchasing > Account Assignment > Define Combination of Item Categories/Account Assignment Categories
    BUT
    limiting the account assignment categories that are valid for an item category will affect ALL purchase order document types that this item category is valid for. And you can't create your own item categories as this is a SAP standard table that can NOT be altered.
    Regards,
    Monika

  • Problems creating an order document

    Hi,
    I'm creating an order document via DIAPI. My problem is with document lines, the data I want to introduce is ItemCode, Discount, Quantity and Price. The thing is that my price is the price before discount, but in DIAPI there is no way to add data to the field pricebefdi and the only price you can add is price after discount, so my total and the one shown in SBO is not the same.
    What I do at the moment is calculate the price after discount and assign it to the field price, but with this operation I loose decimals.
    Any idea of how to do it?
    Thanks in advance,
    vane

    Hi,
    This is a major flaw in DI API currently. I don't think there's much you can do about it in addition to what you've already done. In 2005 SP1, there will be available some new ways of calculating price/discounts. You might want to check it out.
    Henry

  • How to configure Item Category in Purchase Order document

    Hi
    Can someone tell me how to configure the Item Category in Purchase ORder document?  This field is displayed next to Account Assignment in PO screen.
    Thanks,
    Lin-Lin

    I think your issue is screen layout of the PO
    please go to
    SPRO-MM-Purchasing-Purchase order-Define Screen Layout at Document Level
    here you can select the ME21N and double click on it
    on field selection of basic data you can make item category is optional than it will be avialable
    if still you find the problesm than check your field selection of your document type and change that field selection as above mentioned.

  • Purchase order document types

    Hi,
    What are the different document types available for purchase orders? Could that be checked anywhere in SPRO?
    Thanks and regards
    Aparna

    Dear,
    The document type is used for Number range and also in release stregety.
    You can create ur Document type for PO.
    SPRO --> MM --> Purchasing --> PO --> Define Docuemnt type.
    Std PO Doument type are
    DB     Dummy Purchase Order
    EUB     DFPS, Int. Ord. Type
    FO     Framework Order
    NB     Standard PO
    UB     Stock Transp. Order
    there u can assign Number range.
    Regards,
    Pardeep Malik
    Edited by: Pardeep  Malik on Mar 27, 2009 8:11 AM

  • Sale order document numbering hidden

    Detail explanation:
    for example : thro sales login username & password , i post transaction then it take over sale quote approval then add draft as
    save to get the document number but users find the problem
    Cannot Add Or Update This Document; Rows Are Missing [Sales Quotation - Rows - Row Number][Line: 0] [Message 131-198]
    we thought its right issue and added with administartor login and saved the document after that we facing the problem
    only administrator can view the saved document number , but in the sales login it were hidden
    so what is the solution.

    Hi,
    I've encountered the same problem at Sales Order screen (instead of Sales Quotation).
    You're right its not related to the Authorization levels.
    I tried changing that but it did not work for me too.
    I found that it was because at the Sales Order screen, I selected an "Owner" (e.g. Owner A) for the document.
    When I did not select Owner A, and then submitted the Sales Order, it was successfully submitted.
    I went to check for Owner A under the Employee Master Data screen.
    It turns out the "User Code" set for Owner A was invalid.
    That particular "User Code" did not have a license assigned to it.
    I assigned a valid "User Code" (one that had a license assigned to it) to Owner A,
    then went back to Sales Order, created one and assigned Owner A to it.
    Managed to submit the Sales Order successfully.
    Hope this helps you.

  • Assignment of operations to all object list entries active

    Hello Friends,
                     Can any body please explain me what is the meaning of this setting "Assignment of operations to all object list entries active" under the order and notification integration.
    Regards
    Amar

    hi
    say if your order is having 5 operations ,then you want to assign the operations to the notification or Floc or Equipment in the object ,
    Go in to order in change mode ,select the object TAB select your object list then press the assignment button where it will show the operations where you can assign the object list to the operation you like.
    this is only for information as which operation to the performed on which object list
    regards
    thyagarajan

  • PM Order: get PRT list for an operation

    Hi expert,
    I need to get the PRT list for an operation for a PM order (in particolar I need the documents related to a specific operation).
    Do you know if exist a FM?
    Any suggest?
    Thanks
    Salvatore

    This is my solution:
    PARAMETERS: p_aufpl LIKE affh-aufpl.
    DATA: it_affh TYPE STANDARD TABLE OF affh WITH HEADER LINE.
    DATA: it_affhd TYPE STANDARD TABLE OF affhd WITH HEADER LINE.
    DATA: aufpl_tab TYPE STANDARD TABLE OF aufpl_pre WITH HEADER LINE.
    SELECT * FROM affh INTO CORRESPONDING FIELDS OF TABLE it_affh
    WHERE aufpl = p_aufpl.
    LOOP AT it_affh.
    *  MOVE-CORRESPONDING it_affh TO it_affhd.
    **  APPEND it_affhd.
      MOVE-CORRESPONDING it_affh TO aufpl_tab.
      APPEND aufpl_tab.
    ENDLOOP.
    CALL FUNCTION 'CF_BT_CO_AFFH_PRE_READ_FROM_DB'
         TABLES
              aufpl_tab = aufpl_tab
    *            ORD_TAB   = AUFNR_TAB
         EXCEPTIONS
              OTHERS    = 1.
    CALL FUNCTION 'CF_BT_CO_AFFHD_TAB_GET'
    *                EXPORTING
    *                  i_aufpl                 = p_aufpl
    *                  I_APLZL                 =
    *                  I_NO_DELETED            = ' '
    *                  I_NO_PHYS_DELETED       = ' '
    *                  I_FLG_STATX             = 'X'
    TABLES
       affhd_tab               = it_affhd
    *                EXCEPTIONS
    *                  NOT_FOUND               = 1
    *                  OTHERS                  = 2
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE: 'fine'.
    LOOP AT it_affhd.
      WRITE: / it_affhd-doknr.
    ENDLOOP.

  • Routing Component Allocation and Assignment of Operation/Seq to components

    Hi everyone,
    We are creating a Order Bom (uses variant configuration) and Sales order routing using CU51.
    When in routing component allocation screen using CA02 , we can assign the operation and sequence to the components manually. Requirement is to automate this manual process and assign the operation and sequence to components based on master routing ( template created manually). I have not been able to find any objects (BAPI, FM) which will do this. I see that when operation/sequence is assigned manually to components, the records are created in PLMZ table. But I have not been able to find any objects (BAPI, FM) which will creates records in PLMZ table that can be used to automate this w/o worrying about loosing the integrity of data. If no objects are available , what other information I should make sure that I update along with update to PLMZ table. Going through the recording, I don't see BDC an option for this. Has anyone done this before ? Any ideas on whats the best way to automate this ?
    Thanks
    Raghu

    Hello Munukala Rao,
    I m also stuck up with same problem  so please share code your BDC code .

  • Purchase order document row is not change (document stutas is OPEN)

    Hi all,
    I am created one purchase order that are not any base or targeted document ,not any approval   procedure and  purchase order document status is steel open . Then how  I a cannot change the document row.
    thanks
    arabinda pal

    Hi Deepa,
    I think if you want to restrict the further editing of a particular row, then you just need to follow the simple procedure.
    1. create the purchase order with your desired items & vendor & add this document
    2. Now reopen it & goto that row which you want to restrict. Right click on that row & select "Close Row".
    3. Select yes to confirmation message.
    4.Now update the document.
    Now you an check it out, in that document you will not be able to edit that row contents.
    I hope this solves your issue.
    Regards.
    ShriX.

  • Sale order document flow-u0091Service Documentsu0092 is coming which should't aper

    New Issue with Sales order document flow:
    When linking from a sales order in document flow, we were reviewing why the description information varied.  In looking at different values, we clicked on a new item within document flow that allows you to like to ‘Service Documents’.   This is new in 6.0, or it was previously deactivated in 4.6C.  If you link from a sales order to a service document, in ECC 6.0, you will get a short dump because the document flow is so great (viewing order #any in VA03 and use document flow and then select the service documents button    as seen on the screen below
    A Short dump will occur in program SAPLDOCUMENT_FLOW_ALV.
    Here in ECC 6.0 is how it looks from sales order 9806:
    Documents created from 2004 through 2007 are coming up as linked to this sales order and that is incorrect.  There is some type of linkage issue.  In the 4.6 C environments, the ‘service documents’ link is not visible from document flow.
    Can any body functional / technical Help on this urgent???

    Hi Sanjay,
    Go to the order VA03 --> Environment --> status overview. The exact status of the header and item can be found here. You may have chances to know why the status is being processed.
    Also 
    Check whether you have checked 'document flow update' field at item level in copy control
    Check your settings for completion rule in item category
    If it is due to incorrect status message, run report SDVBUK00. That might fix the error. It is recommended to run this first in test mode.
    Br, Sats.

  • Commit error while transferring Sales order Document to GTS

    Hello,
    We faced a transfer error while transferring sales order document to GTS.
    When I debugged the code function /SAPSLL/API_6800_SYNCH is called. In this function, /SAPSLL/CUHD_MAINTAIN_SINGLE is called with parameter lv_no_commit = 'X'. When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.) In debug mode I set the value of lv_no_commit to space, and then it works. It creates the GTS document.
    We are also transferring billing documents and it works fine. When I checked what is the difference between transferring sales order document and transferring Billing document, I saw that in the transferring billing document there is another function is called /SAPSLL/API_6800_CSD_SYNCH, and it's calling parameters(in background, as seperate unit) are different from calling parameters of /SAPSLL/API_6800_SYNCH. You can see the difference below.
    For sales document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_SYNCH'
          DESTINATION cs_transfer-rfc_dest
    For billing document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_CSD_SYNCH'
          IN BACKGROUND TASK
          DESTINATION cs_transfer-rfc_dest
          AS SEPARATE UNIT
    So my question is, do you think is it a sap standard program error, or is there any suitable settings in the customizing or SM59 to fix this error?
    Thanks in advance
    Serhat
    Edited by: Serhat Dirihan on Jan 22, 2009 11:46 AM

    Dear Serhat,
    I don't think this is an RFC problem or an error. But you wrote:
    When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.)
    It is impossible to have GTS and R/3 on the same system and same client. At least the client should be different. So try to check why the call is performed like that.
    Balazs

  • Creation of sales order document

    How to create a sales order document using VA01?Give me the steps?

    Hi,
    Please search before posting any thread,
    [http://help.sap.com/saphelp_ides/helpdata/en/47/ef8c7c124811d2806f0000e8a495b3/content.htm]
    Regards,
    Durgesh.

  • Sales order document flow error

    we do credit memo for one sales order, in the sales order document flow, the credit memo accounting document's status is not cleared. how can we changed it to be cleared?

    Hi,
    Clearing will be done by finance after the payment is given to the customer. This clearing is done by transaction F-22.
    VKM3 is used for releasing document blocked for credit management and not for clearing the accounting document.
    Regards
    Karan

  • Contract not visible in sales order document flow

    Hi
    I am supposed to create sales order from Contract.The requirement is that only header data should be copied.Thus  In Copy Control configuration I did not maintain item level and schedule line level settings for these document types. The issue is that after running the whole cycle from Contract -->SO --> Delivery --> Invoice when I see the Sales Order document flow I can see all other documents but not the contract.Also In Contract document flow I can see only sales order but not delivery and invoice.Please guide.

    Hello,
    Update Document Flow option is available only at Item Level in copy control setting from Contract to Sales Order.
    Check out your Copy Control Records at Item Level. There would be "2" mentioned in "pdate document flow" box.
    2 means Create doc. flow records except for dely/goods issue/billdoc. Here you to maintain "X" for Complete Document flow.
    Hope this helps,
    Thanks,
    Jignesh Mehta

Maybe you are looking for

  • "error while generating PDF" in WAD

    Hi All, I created Web Template BI7. In the requirement I have to export the report in PDF. I used Button group. When I have run the template and click to the PDF switch I am getting the export dialog after I click to 'ok' I am getting the error “erro

  • Capturing video from Sony  DCR-SR32E to Final Cut express

    I have a Sony DCR-SR32E camcorder and visited the Genius Bar recently, it appears it's one of the few camcorders not supported in iMovie and was told by the genius that I needed to ask Sony for an mpeg-2 codex. Sony re-directed me to search for one o

  • How to create a pamater id for the field

    Hi, in fbl5n transaction for the  open item (key date) doesnt have parmater id , i need to create parameter id for that field,,, how to create paramter id for that particulatr , because in technical setting that parameter id is not specified.... pls

  • Seperate spool for email  and  fax

    Hi ,     I am using smartfoms conveting this into PDF document , iam send email / fax / print .The scenerio is for customer 1 , send through email, Cust 2 send thru FAX etc . But for both same spool is generated with same number .I need seperate spoo

  • Problems when converting clips

    I have iMovie 11 and im trying to convert my clip so that i can ajust the speed of the clip. once i converted the clip it just turned the screen green. you can still hear the audio of the clip but its just a green video. you help would be apprericate