Work Order Reporting using I_BEGRP as a selection criteria

Hello all,
I am having a small problem regarding the authorization object I_BEGRP, which appears at general data informed tab at equipment level. The situation is as described below:
Our client has several subcontractors working with Maintenance Work Orders in the system, and in order to control that each subcontractor does only access to their own data (equipment, work orders, etc.) different authorization group has been used to assign each of the equipment.
Problem is now when the client needs to be able to know the list of MWO per subcontractor.
The need is clear: for a user that is not restricted by this authorization group, it cannot be usedas a selection criteria to obtain a list of WO of a certain subcontractor.
I have seen that it can be shown in the equipment standard report IH08, but only as exit data, but not as entry selection criteria, but neither for MWO (IW39) nor for notifications (IW29) it can be used as an entry selection criteria.
Can someone help me with this issue? is the only solution to make a custom development, and to copy program RIAUFK20 in order to allow this field as an input?
Thank you very much for your help.
BR,
Francesc.

Hi,
the only workaround I can think of is to use suitable search help for equipment. So the process would be to run IW29, open search help for equipment that allows you to specify authorization group (I think Equipment by Equipment list should work), then select all equipments from the auth. group and then run IW29 restricted by equipments. It's not nice but it allows you to select all orders that have equipments assigned to some specific authorization group. Otherwise you need to enhance standard reports to allow authorization group as one of the select options.
Cheers

Similar Messages

  • Production/Inv. report using batch chracteristics as selection criteria

    Hi
    Can u please tlet me know is there any production or inventory report in standard report where we can the list of materials produced based on batch characteristics as selection critera?
    Reason we are using grade as one charateristics in batch. Now our customer after a point of time want to see what are material produced in that plant of a certain grade.
    Regards
    sandip

    Hi Sandip,
    As fa as i know there is no standard report where u can see the production directly based on the characteristic value. But u can see the stock based on the characteristics.
    May i ask whether u are working in a metal production scenario.
    U can go to MMCL and put the characteristic name and the characteristic value u can see the stock. Otherwise use the following tables in a customized report u'll get the required data.
    Go to AUSP and put ur character5stic name and value and execute. No pick up all Object nos. from the output and go to another table MCH1 and put Object no. in the field "CUOBJ_BM" and execute. By this u'll get the batch no. and pass all the batches in table AUFM and there u'll get the production order linked to it.
    Hope it'll wok !!
    Thanks
    SISL !!

  • Open Work Order report and shortage report

    Hello,
    First of all, I am very new to SAP and sap forum. I do need to learn SAP very fast. I work as Buyer and Planner. I would like to know how do you run open work order report and also how do run shortage report.
    I appreciate different feedback.
    Thanks
    Raj

    Hi,
    Use tcodes CO24. First you need to activate that report PPCOXPR1 in SE38 enter report name and execute
    In COOIS select list components you can be requirement qty and withdrawn qty , here you can find out open work orders also
    Thanks
    Diwakar

  • SSRS 2008 Work order report , in sub total donot want to add the 0 level in ( how to add the expression )

    working in Work order report, this report has different level , for example
    0 level transaction
    1 level transaction
    in subtotal don't want to add 0 level transaction,
    when I did the sub total it added all the level , so in sub total amount double up because of that
    how to add the expression so I can the level 0 take out from sub total , so it does not include in sub total
    can some one please help me with this
    thanks in advance

    Hi Simon_ Hou
    I tried the expr the way you suggested , it did not work  getting  error message,  the exp I added is below
    this the expression I added on sub total where is highlighted in Yellow,  under Cost amount column,
    I really appreciate the help
    =Sum(IIF(Fields!COLLECTREFLEVEL.Value=
    "0",0,Fields!CostAMOUNT.Value),"DataSet1")
    please see below my QUERY, can you please help and let me know what I did wrong in my exp
    SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                             PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                             PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                             PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                             PRODCALCTRANS.LINENUM
    FROM            PRODTABLE INNER JOIN
                             PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID
    WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                             (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate)

  • WIP Work Order Report pulling wrong customer

    In the Customer Name field on the WIP Work Order Report it pulls in the Bill To customer instead of the Ship To customer.  Please advise in this regard.
    Thanks in Advance.

    Hi,
    Can you please make Ship To also as Primary Business Purpose?
    Regards
    Raghavender K

  • How to Change Maintenance Work Order Report in EAM Maintenance Super User

    Hi,
    We like to change or create new costom report in place of Standrd EAM Maintenance work order details report in Maintenance super User Responsibility.
    When we go Maintenance Super User > Work Order > Print work order >Layout , In Template layout we find only one LOV called Maintenance report.
    We like to where this this Template LOV storing and Run button code where it's storing
    THANKS,
    Gana

    Hi,
    You could temporarly adjust the CUNI definition for TST so that it can be converted to seconds. Adjust the notifications to set a valid unit of measure.
    The alternative would be to update the field MAUEH in table QMIH with a valid breakdown unit of measure.
    -Paul

  • Reporting: using operators with relative selection

    Dear all,
    i am facing an problem when trying to create a certain report.
    The requirement is to gather all opportunities for which the sales phase has started more than 1 month ago.
    Phase start date is a characteristic you can use using data sources for opportunity header.
    However, to select on phase start  date (an any other type of date characteristic) you can only use operators (is, is less than, is greater than, ...) with a fixed date (for example: is less than 01.03.2015) or you can use a relative selection (last week, last month, last 4 days, ...).
    I need to be able to achieve the following: "phase start date" "is less than" "last month"
    Is there a way we can do this?
    Regards,
    Michael

    Hi Michael,
    You should design the new reporting using existing data source 'OPPORTUNITY HEADER'.
    Step 1. Define report and data source
    Step 2. Select Key Figures
    Step 3. Select Characteristics
    Step 4. Characteristics Properties : In this step you select Phase start date and make the value selection as 'FIXED VALUE SELECTION', in fixed value selection click on more option button ( +-> sign) now this will give the option for relative selection.
    Step 5, 6 and 7 as standard steps as you  have to follow them.
    I have attach the screenshot of Phase start date, just follow as defined in the screenshot:
    This will the issue that you have.
    Cheer! Anil Poply

  • Production order reporting using COOIS

    Hi all
    I am using tcode COOIS for creating reports for Production orders. I have the following requirement
    I want to batch schedule the report using a variant which I have done. The report should automatically run every night at 12 am and it should automatically email the report to the email ids of the Production team. The report should be in a spreadsheet format. My question is
    1/ where do i put the e mail id
    2/ how do i make it to spit the report in a spreadsheet format ( Manually I can go into System > List > Save > Spreadsheet and save it onto spreadsheet)
    thanks a lot

    Hi John Mastram,
    Use transaction SM36 to schedule your batch job. There you can maintain the email address of the recipient.
    If the scheduled job has a spool list output, the same would be sent by email to the address maintaind
    Regards,
    Jayakandan

  • SSRS 2008 Work order Report , when added item descriotion , somehow costgroup id is not working , donot know why, ( need help)

    SSRS 2008 Production orders created report, when I added item description some how cost group id is not working ,
    my costgroup id did not break into labor , only Mat Cost showed in the total,
    my query is as below,  did I link the wrong field,   I want to show Labor total also
    can some one suggest what I did wrong .
    any advise will be great
    SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                             PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                             PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                             PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                             PRODCALCTRANS.LINENUM, INVENTTABLE.ITEMNAME, INVENTTABLE.ITEMID AS Expr1, PRODTABLE.INVENTTRANSID
    FROM            PRODTABLE INNER JOIN
                             PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID INNER
    JOIN
                             INVENTTABLE ON PRODCALCTRANS.DATAAREAID = INVENTTABLE.DATAAREAID AND PRODCALCTRANS.KEY1 = INVENTTABLE.ITEMID
    WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                             (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) AND (PRODCALCTRANS.COLLECTREFLEVEL
    = 1) AND
                             (PRODCALCTRANS.CALCTYPE >= 0)

    Hi Bitia,
    As per my understanding, after you add Item field to the report, it does not calculate total of matl group, right? If that is the case, please refer to the following steps to troubleshoot the problem:
    Modify the dataset used to retrieve data, delete the fields will not be used in the report.
    Run the query in SQL Server Management Studio (SSMS) to make sure that there is data for matl cost group.
    Make sure that row group and totals are correctly added.
    In addition, do you want to add Finished date to page header? If that is the case, we can use ReportItem to achieve the goal. Please refer to the following steps:
    In design surface, right-click the report and click Insert, then click Page Header.
    Drag Text Box from Toolbox to page header.
    Right-click inside of Text Box, then click Expression.
    In the expression text box, type the code like below:
    =ReportItems!FinishedDate.Value
    If the problem remain unresolved, please provide the screenshot of the report in design view, the following screenshot is for your reference:
    Reference:
    ReportItems Collection References
    Adding Grouping and Totals
    Thanks,
    Wendy Fu

  • Service Work Order Report

    Dear All,
    My company is using Service master. In Wo  we use use same service code in two line. We want to see excuted qty through t code ME2S.in this report  both line item qty add . Please suggest.

    Hi,
    Check on it:-
    Book a credit note related to service entry sheet
    service reporting ME2S - output format
    Re: Service PO
    http://wiki.sdn.sap.com/wiki/display/ERPLO/SAPStandardReports
    pherasath

  • Close work order using api

    hi every one..
    can any one plz tell me how to close eam work order by using api
    plz say to me how to approach.
    thanks in advance
    ram

    hi sandeep..
    thanks for your response..
    but i need to close eam work order by using Work Order Business Object API.
    in this api there one procedure calld Process_Master_Child_WO.
    the sample code has been given by some body..as follows..plz help me how to use this code..because im not aware of api's
    plz any one help me...
    thanks in advance...
    Ram.
    set serveroutput on;
    Declare
    l_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
    l_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    l_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
    l_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
    l_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
    l_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
    l_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
    l_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
    l_out_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
    l_out_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    l_out_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
    l_out_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
    l_out_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
    l_out_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
    l_out_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
    l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
    l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
    x_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
    x_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    x_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
    x_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
    x_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
    x_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
    x_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
    x_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
    x_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
    X_status VARCHAR2(4000);
    X_msg_cnt NUMBER;
    X_msg_data VARCHAR2(4000);
    Begin
    fnd_global.apps_initialize (user_id => 27789,
    resp_id => 23119,
    resp_appl_id => 426
    COMMIT;
    l_eam_wo_rec := null; Record Group need to be initialized at the beginning
    l_eam_wo_rec.WIP_ENTITY_NAME := '665443';
    l_eam_wo_rec.organization_id := 12384;
    l_eam_wo_rec.attribute10 := '2112000245';
    l_eam_wo_rec.NOTIFICATION_REQUIRED := NULL;
    l_eam_wo_rec.TRANSACTION_TYPE := '2';
    l_eam_wo_rec.ASSET_NUMBER := '11234';
    l_eam_wo_rec.ASSET_GROUP_ID := 481810;
    l_eam_wo_rec.SCHEDULED_START_DATE := sysdate;
    l_eam_wo_rec.SCHEDULED_COMPLETION_DATE := SYSDATE;
    l_eam_wo_rec.STATUS_TYPE := wip_constants.released; -'Unreleased';
    l_eam_wo_rec.OWNING_DEPARTMENT := 6003;
    l_eam_wo_rec.PRIORITY := 10 ;
    l_eam_wo_rec.SHUTDOWN_TYPE := null;
    l_eam_wo_rec.class_code := 'WS0';
    --l_eam_wo_rec.material_issue_by_mo := 'N';
    --l_eam_wo_rec.issue_zero_cost_flag := 'Y';
    --l_eam_wo_rec.po_creation_time := 1;
    --l_eam_wo_rec.job_quantity := 1;
    --l_eam_wo_rec.notification_required := 'N';
    /* Additional Parameters to be passed Start */
    l_eam_wo_rec.ACTIVITY_TYPE := 1; --It should be the lookup code value for the activity_type
    l_eam_wo_rec.maintenance_object_source := 1;
    l_eam_wo_rec.maintenance_object_type := 3;
    l_eam_wo_rec.maintenance_object_id := 26005;
    l_eam_wo_rec.requested_start_date := SYSDATE;
    l_eam_wo_rec.job_quantity := 1;
    l_eam_wo_rec.wip_supply_type := null;
    /* Additional Parameters to be passed End */
    apps.EAM_PROCESS_WO_PUB.PROCESS_WO
    ( p_bo_identifier => 'EAM'
    , p_api_version_number =>1.0
    , p_init_msg_list =>TRUE
    , p_commit => 'Y'
    , p_eam_wo_rec =>l_eam_wo_rec
    , p_eam_op_tbl =>l_eam_op_tbl
    , p_eam_op_network_tbl =>l_eam_op_network_tbl
    , p_eam_res_tbl =>l_eam_res_tbl
    , p_eam_res_inst_tbl =>l_eam_res_inst_tbl
    , p_eam_sub_res_tbl =>l_eam_sub_res_tbl
    , p_eam_res_usage_tbl =>l_eam_res_usage_tbl
    , p_eam_mat_req_tbl =>l_eam_mat_req_tbl
    , p_eam_direct_items_tbl => l_out_eam_direct_items_tbl
    , x_eam_wo_rec =>x_eam_wo_rec
    , x_eam_op_tbl =>x_eam_op_tbl
    , x_eam_op_network_tbl =>x_eam_op_network_tbl
    , x_eam_res_tbl =>x_eam_res_tbl
    , x_eam_res_inst_tbl =>x_eam_res_inst_tbl
    , x_eam_sub_res_tbl =>x_eam_sub_res_tbl
    , x_eam_res_usage_tbl =>x_eam_res_usage_tbl
    , x_eam_mat_req_tbl =>x_eam_mat_req_tbl
    , x_eam_direct_items_tbl => x_eam_direct_items_tbl
    , x_return_status =>X_status
    , x_msg_count =>X_msg_cnt
    , p_debug =>'Y'
    , p_output_dir => '/user/temp'
    , p_debug_filename =>'Amit_6_EAM_WO_DEBUG2.log'
    , p_debug_file_mode => 'a'
    commit;
    DBMS_OUTPUT.PUT_LINE('Status : '||X_status);
    IF X_msg_cnt > 0 THEN
    DBMS_OUTPUT.PUT_LINE('Error Occurred in WO Creation : '|| X_msg_cnt||' : '||SQLERRM||' : '||SQLCODE);
    END IF;
    DBMS_OUTPUT.PUT_LINE('First record inserted.......');
    END;

  • HOW TO: EAM - Work Order Page - Change Concurrent Program to run

    Hi,
    my customer is using EAM and in the Work Order Search page the customer can select a work order and press the button "Print Work Orders". The standard work order (BI Publisher report) print is submitted.
    Their request is to submit the Customized version of this concurrent program.
    Can this be done and how can this be done?
    Thanks in advance.
    Regard Roel
    Edited by: user13071061 on 6-okt-2010 6:26

    Hi,
    Can you please check that what is the Template of Standard Work Order Report.
    It comes from the setup for Document Types in Oracle. Most probably the template will be
    XXL-FO. And if yes, then you need to have the customized report also, in XXL-FO Template and then in Document Types just give the name of the customized Template Name (Register the Template and Data Definition in Oracle first). Save it
    and then run the page again to see if now it picks the template of your customized report or not.
    Thanks,
    Gaurav

  • BAPI for transaction IW31 (creating a work order)

    Hi all,
    I need to be able to create a work order ( IW31) using ABAP code and was wondering if any knew if there was a BAPI that should be used for this functionality.
    Thanks in advance
    Mart

    hi,
    You can use
    BAPI_ALM_ORDER_MAINTAIN.
    Have a look at the following documentation.
    FU BAPI_ALM_ORDER_MAINTAIN
    Text
    Process Maintenance-/Service Order
    Functionality
    This Business Application Programming Interface (BAPI) is used for changing maintenance- or service orders and their lower-level objects. The following objects of an order can be processed (for restrictions, see the note at the end of the documentation):
    Order header
    Partner
    User status
    Order operations
    Relationships
    Components
    Long texts for order header, operations, and components
    Function
    Calling up this BAPI once allows you to perform all the operations. For this the system supplies the function module with a method table containing the methods to be performed. The entries in the method table refer to data records in the optionally filled-out data tables. All the methods from the method table are performed. Alternatively, just lower- level objects from existing orders can be changed.
    You can process the transferred data with the Business Add-In (BAdI) IBAPI_ALM_ORD_MODIFY to, for example, merge data from the external system with data from the R/3 system. The BAdI is called up as soon as the transferred data is converted into the internal format. The tests then take place after this.
    Construction of Method Table
    REFNUMBER Reference number for linking object methods - attributes
    The reference number is the line of the database which contains the corresponding data. The data table is determined by the object type.
    OBJECTTYPE Object category
    The object category specifies which object from the order should be processed. The key words listed here are not language-dependent and must be transferred exactly as they are. The following objects exist:
    HEADER Order header
    PARTNER Partner data
    USERSTATUS User status
    OPERATION Operation data
    RELATION Relationships
    COMPONENT Components
    TEXT Long texts
    (empty) ,General BAPI functions (save)
    METHOD Methods
    The methods with which the data should be processed. The following functions exist:
    CREATE Create objects
    CHANGE Change objects
    DELETE Delete objects
    RELEASE Release
    TECHNICALCOMPLETE Technically complete
    ATPCHECK Availability check
    CALCULATE Calculate
    SCHEDULE Schedule
    DELELTEDSEX Delete the status for external scheduling at operation level
    SAVE Save all data
    DIALOG Call-up dialog. See explanation below.
    TRACE Write trace file in the specified file to the frontend
    OBJECTKEY SAP external object key
    This key is for assigning the lower-level objects correctly to the corresponding objects, as there is always just one key in the data table. The key must have the following structure:
    1-12 Order number
    When creating orders with internal number assignment, a reference number beginning with % must be entered here. The BAPI then returns this number and the number actually assigned.
    13-16 Operation number
    17-20 Sub-operation number
    For relationships, the key is structured as follows:
    1-12 ,Order number from
    13-16 Operation number from
    17-28 Order number to
    29-32 Operation number to
    The following methods are permissible for the individual objects:
    HEADER:
    CREATE, CHANGE, RELEASE, TECHNICALCOMPLETE, ATPCHECK, CALCUALTE, SCHEDULE
    OPERATION
    CREATE, CHANGE, DELETE, DELETEDSEX
    PARTNER, RELATION, COMPONENT, USERSTATUS, TEXT:
    CREATE, CHANGE, DELETE
    (empty):
    SAVE, DIALOG, TRACE
    Data tables and update tables
    The objects have one or more data tables. For some objects you can specify which of the fields specified in the structure should be changed. For this you must set the field in the corresponding table to X as in the data table. If no update-table is transferred, then only those fields are set that have a value that is not initial. This simplifies the transfer data. However, this means it is not possible to delete fields. If an update structure should only be specified for some data records, the table with the update fields must nonetheless have the same amount of lines as the data table. The empty lines are then treated as if no update structure was transferred. The objects "Partner", "User Status", and "Text" have no update tables. The whole data record is always copied here.
    References
    The objects use the field REFNUMBER from the method table to refer to the lines in the data table. Counting always begins with 1. In doing this, REFNUMBER also refers to the update table. However, in the method table there is a second reference to higher-level objects for lower-levels objects. The field OBJECTKEY must be filled with order number, operation number, and sub-operation number, as specified above. If lower-level objects of a newly-created order should be changed, then you must enter a temporary order number that must begin with %. Several orders can be numbered serially, for example, with %00000000001, %00000000002 ... .
    The following objects have special treatment for REFNUMBER:
    Partner
    Texts
    Partners have an order number in the data table. During processing of the method table, all those entries in the data table are processed which have an order number that is the same as that in the line to which the method refers. Thus, through just one entry in the method table, several partners can be changed.
    Texts are composed of two tables. The first table (IT_TEXT) is made up of the header data of the text. Here you must specify the object and the first and last line of the text table (respectively inclusive, counting from 1). Through this, a line segment is specified in the text line table (IT_TEXT_LINES).
    Peculiarities in processing
    The BAPI processes the transferred methods in a particular sequence, which must not correspond to the sequence in the methods table.
    Write trace file
    Change user status time period 1
    Delete objects (dependent first)
    Create new objects
    Change existing or newly-created objects
    Change user status time period 2
    Status change of order
    Save data
    The methods are performed such that lower-level objects can also be assigned to newly-created objects. For example, first the operations are created, and then the components. Long texts can also be created for the objects.
    Components have an exceptional position. Components are created through the assignment to an operation, that is, using the "key" order/ operation (item number). However, as this is not the unique component key, you can only access the components to change them, delete them, or add long texts by using the reservation number/-item, which is only given after saving. This means that, for example, you cannot create a long text when you create the component.
    User status changes can take place at two different time points. Time point 1 is before the object changes, time point 2 is after the object changes and before the status change of the system. These time points should be defined in the transfer table in the field CHANGE_EVENT. The field documentation contains the possible values.
    The external scheduling is offered by the BAPI as a special function. THe BAPI can set the date field directly at the operation level, and select the operation with the status DSEX "Date set by external system". This status prevents any further scheduling of the operation, it keeps the transferred dates. For this, set the category 'X' in the restriction categories. When reading the operation, this category is also returned, independent of the category of restriction set in the dialog. To delete the status, you can call up the method DELETEDSEX for the object operation. The external scheduling cannot be influenced in the dialog. All changes to the scheduling restrictions in the dialog are saved as normal, but are not relevant for the scheduling as long as the status DSEX is active.
    Every time the BAPI is called up, a SAVE or DIALOG method must be transferred. Normally, calling up a BAPI is seen as a transaction. All data that is changed in the BAPI should be saved to the database immediately. The BAPI checks whether a SAVE method exists, otherwise it terminates processing. A test run of the BAPI is composed of a normal call-up using the SAVE method and a subsequent BAPI_TRANSACTION_ROLLBACK. To call up the BAPI without the SAVE method, for example, to realize dialog transactions, the BAPI can be called up with the DIALOG method. This switches off the check for the SAVE method. The processor must then ensure that later either a SAVE method or a BAPI_TRANSACTION_ROLLBACK is called up.
    A BAPI_TRANSACTION_COMMIT without SAVE method terminates processing in the update to ensure that no inconsistent data is written to the database. The processor who called up the BAPI does not receive any confirmation for the termination of the update in the target system. This logic is necessary as the order data was flagged for updating with BAPI_TRANSACTION_COMMIT through the SAVE method. However, the status information was already flagged for updating when the BAPI was called up. A BAPI_TRANSACTION_COMMIT without SAVE method then just saves the status information and would generate inconsistent orders, if the updating was not terminated.
    Customer Enhancement
    The BAdI IBAPI_ALM_ORD_MODIFY can be used to change the transferred data. The BAdI is called up after the conversion of the transfer structure into the structures used internally. Additional data can be transferred using the table EXTENSION_IN. Only then is the data checked.
    Example
    The following examples should clarify the use.
    Creating an order
    OBJECTKEY should be filled with a temporary key. The BAPI returns this key together with the assigned order number in the return table ET_NUMBERS . The order number in the HEADER table should also be filled with the number. For external number assignment, the external number should be specified. The update structure can be transferred if necessary.
    Methods table
    REFNUMBER OBJECTTYPE METHOD OBJECTKEY
    1 HEADER CREATE %00000000001
    IT_HEADER
    ORDERID ORDER_TYPE PLANPLANT ...
    %00000000001 PM01 1000 ...
    Creating an order with operation and long text
    Methods table
    REFNUMBER OBJECTTYPE METHOD OBJECTKEY
    1 HEADER CREATE %00000000001
    1 OPERATION CREATE %00000000001
    1 TEXT CREATE %000000000010010
    IT_HEADER
    ORDERID ORDER_TYPE PLANPLANT ...
    %00000000001 PM01 1000 ...
    IT_OPERATION
    ACTIVITY SUB_ACTIVITY CONTROL_KEY WRK_CNTR ...
    10 PM01 MECHANIC ...
    IT_TEXT
    ACTIVITY ... TEXTSTART TEXTEND
    10 ... 1 2
    IT_TEXT_LINES
    TDFORMAT TDLINE
    Longtext for operation 10, line 1
    Line 2 of the long text
    Notes
    Using the BAPI to process the order data cannot support all the functions of the transaction. This applies in particular for the following functions:
    Order header data
    The object list cannot be processed.
    Refurbishment orders are not supported.
    The estimated costs cannot be processed - only the estimated overall costs of the order.
    Notification data cannot be processed with the order BAPI. Even if the settings in Customizing are such that the orders and notifications can be maintained on one screen, no notification is created for the order.
    Permits cannot be processed.
    The order addresses cannot be processed.
    Individual partner addresses cannot be maintained.
    The settlement rule cannot be maintained.
    Order functions
    Printing the papers is not possible.
    Locking and unlocking the order is not possible.
    Accepting and rejecting quotations is not possible.
    Business completion is not possible.
    Flagging for deletion is not possible.
    The log cannot be displayed.
    User default values are not used.
    The field selection is not checked.
    The Customer Exits/BAdIs are not executed completely.
    Joint ventures are not supported.
    Funds Management is not supported.
    Investment orders are not supported.
    No integration of service products with task lists possible.
    No integration of configurable service products possible.
    Assignment of sales document items with service products in accordance with the aforementioned conditions.
    Operation data
    A change of the control key in the operation is not possible, if this leads to a change of the processing type (internal-/external processing)
    User status change not possible.
    Production resources and tools cannot be processed.
    Service lines cannot be processed.
    Task list integration is not supported.
    Linking operations with object list is not supported.
    Component data
    User status change not possible.
    BOM data cannot be processed.
    The delivery address cannot be processed.
    Further Information
    See also the documentation for the individual transfer tables.
    Parameters
    IT_METHODS
    IT_HEADER
    IT_HEADER_UP
    IT_HEADER_SRV
    IT_HEADER_SRV_UP
    IT_USERSTATUS
    IT_PARTNER
    IT_PARTNER_UP
    IT_OPERATION
    IT_OPERATION_UP
    IT_RELATION
    IT_RELATION_UP
    IT_COMPONENT
    IT_COMPONENT_UP
    IT_TEXT
    IT_TEXT_LINES
    EXTENSION_IN
    RETURN
    ET_NUMBERS
    Exceptions
    Function Group
    IBAPI_ALM_ORDER
    ~~Guduri

  • Change the Currency Key In Work Order

    Hi
    When we create the Work Order operation using the External Service Control Key we Can not select or choose the currency key in Work Order for that Operation. As This Field AFVGD-WAERS (Currency Key) is in display Mode .
    I would like to have this field as Editable for input .Is ther any BADi or User Exit for this please let me know.
    Regards,
    Rakesh

    Hi,
    Have you tried in OIOPD by making currency as Input field?
    Also check the Influencing settings. There you can find the option of control key.
    [Useful Link|Purchase Requisition Field mandatory in External Service processing order;
    Regards,
    Maheswaran.

  • KO8G open work order settlement

    Hi,
    I am facing an issue with open work order settlement using KO8G or KO88.
    We are on 6.0 and PSM turned and New GL activated with a document splitting on fund mandatory flag turned on.
    When open work orders undergo WIP calculation through KKAI, it shows the the calculated amount in the GL account but when we execute KO88 or KO8G to settle this open work order amount to the GL, it gives me the below error
    GLT2201 "Balancing field "Fund" in line item 001 not filled"
    On debugging the KO88, its seen that the field fund does not flow in from the work order.
    This means that both my P&L accounts and my balance sheet accounts that offset the WIP posting does not have the fund field (which is a mandatory field for posting any document in the system).
    Has anyone come across such a situation?
    Any help would be appreciated.
    Thanks,
    Pradeep
    Edited by: Pradeep Giri on May 30, 2009 4:07 AM

    Hey Vanessa,
    Sorry i have been really busy with work off late. I just got a moment and wanted to thank you for the help.
    I found a solution for it, we had FMDERIVE default the fund on the accounts used in WIP settlement as they are dedicated for those process.
    The cost is picked from the order and deposited on the P&L account which is now attached to the fund and this is further transferred to the balance sheet account with the fund information.
    Problem solved.
    Do you see any other implications on this?
    Thanks again.
    Pradeep

Maybe you are looking for

  • Lumia 822 Bluetooth Problem

    I am pairing my Lumia 822 with my 2010 Nissan Murano.  The signal is breaking up when I call someone.  This happens when I have full signal.  I have tried deleting the Bluetooth connection and re-pairing.  Doesn't help.  Any suggestions.

  • How do i know if my ipad3 is 3g or 4g version

    hi good day

  • Metallica - Reload (every song crashing the chrome tab)

    So, i noticed this today after my songs started playing in a weird order i'm not used to.... Every Reload music is getting skipped. sure, no problem, should be a cache problem... I cleaned it, and the problem still stands: every music of this album i

  • Nomad Zen Xtra using Windows 98 (Not 98

    Good day, I thought I'd share this information since I couldn't find anything about it during the past few weeks when I was looking. I decided to leap into the MP3 world and after much research concluded the Jukebox 3 was the player for me, only to f

  • Sol10 Tape Library Control

    Anyone find any good tools for controlling tape libraries? I'm using EMC EBS 7.3.2 and it cannot access the I/O station directly. I think I need to find some shell utilities to do that. I tried MTX, but I keep getting a device busy error. I have the