Create a ztransaction for transaction OKB9

HI All,
I need to create a new ztransaction for SAP standard transaction 'OKB9'  which is used to Change Automatic Account Assignment.
I tried creating parameter transaction and variant transaction but nothing works.
1.For parameter transaction I get an error while creating it which says 'default screen 000 does not exists'
2. For variant transaction I am not able to create a variant for transation 'OKB9' because of an error which says 'Variants are possible only for dialog transactions'.
Please advice.
Regards,
Sheetal

Hi,
   Try to make variant transaction. In transaction variants entry put a variant name for ur SAP tran if available or put anything like X. It will throw a warning. Just press ENTER. and u can create ur ztransaction. 
OR read this.
       In the SAP Reference IMG, under "Basis Components" -> "Application
Personalizaion" -> "Tailoring of Application Transactions",  you can
define transaction variants. These allow you to preassign values to
fields within a transaction, define field attributes, or hide entire
screens.
       To run a transaction variant, you define a variant transaction. On the
next screen, enter the name of the transaction and the name of the
variant.
Note :
Variant transactions are client-specific.
If you try to start a variant transaction and the corresponding variant
does not exist, the transaction runs without a variant.
Regards:
Jitendra

Similar Messages

  • Creating of Notes for Transaction Code RECN(Using Classes and Methods)

    Hi Experts,
    I want to Create Notes for Transaction Code RECN, This should not done manually but should be done programatically.
    I had used the Class CL_GOS_SRV_NOTE_CREATE to create the notes.....but here comes the doubt for me.....note will be created by using this class and how this can be created for the Tcode RECN........
    I am using the Real Estate Module.....Plz help me....awaiting for ur helpful answers....
    Thanks in Advance.....!
    Brahma

    Hi kanagaraja,
    Thanks...!
    The BADI which u have given is not existing in my system...i had gone through the se18 and se19 tcodes....
    Awaiting for ur response......!
    Thanks,
    Brahma...

  • Creating Change Log For Transaction Code

    Hi All,
    I used to the transaction code SCDO to create the change log for a  Z table which I have created to maintain the data.
    User can run the transaction code for the Maitence View of Ztable and can make the entry.
    Now I have created a change FM ZTABLE_WRITE_DOCUMENT using ZCDO. I would like to know how to link this to a transaction code so that any changes done to the table contents will be recorded.
    Thanks & Regards,
    Nagaraj Kalbavi

    Hi Bala,
    In which program, you mean to say table Maitenance Generator program. I feel this has to be done in transaction code AUT01. But I am not sure, I just need a glance on it.
    Thanks & Regards,
    Nagaraj Kalbavi

  • Is there a possibility create background jobs for transaction SP01?

    We are creating spool requests (status 'to be processed') for specific printers that are located in different time zones. We want to schedule print jobs by printer to make sure the prints come out at a time the user specifies to us. I am looking for a program with the possibility to make variants by printer that I can include in a job to be created via SM36.Looking forward to your suggestions!
    kind regards
    Angelique Heutinck

    Hi,
    Check this link It may help you.
    https://forums.sdn.sap.com/click.jspa?searchID=4305151&messageID=2622788
    Thanks.

  • How to create User Exit for transaction MB25?

    Hello all,
    I need to add couple of columns to the report generated by transactions MB25 and LP21.
    1) Are there existing user exits which could give me this possibility?
    2) If not, how do I insert or write a user exit to do so?
    Thank you for your prompt reply.
    Ardavan

    Hi,
    check the BADI <b>MB_MIGO_BADI</b> ( method: POST_DOCUMENT).
    COMD enhancment <b>MBCF0005</b>
    Regards

  • Unable to create a 'Z' for se16 transaction

    Hi everyone,
    we have a requirement where we are unable to create a Z for transaction SE16.
    I went to se93 and checked it was a function pool so i went to SE80 to make a copy of standard function group SETB to ZSETB.
    it made a copy of it anf I copied all the FM's and made a Z of those.
    Once it is done. When I activate it it give a lot of errors , I have checked it and made sure that it is copying entire Function Group but all are fine.
    My system is ECC6.0, earlier we had ZE16 which is a replica of SE16 and this had a lot of problem like ending in dumps , so we thought we would make a new Z transaction for SE16, but we get many error.
    Please try it out once in ur system before U suggest me a change to be made.
    Regards,
    Raj

    It is always best to minimize such issues by making a copy of programs or function modules where changes are needed to add new functionality. Also this would ensure any patches/notes  added in future would have minimum impact on your clones.
    -Cheers

  • Creating output type for MB01,MB1B & MB1C for IDOC

    Dear Exoerts,
    Here scenarion is client using interface at front end.Which provides backup data from SAP.
    Can anybody guide to Create output type for transactions MB01,MB1B & MB1C.It is going to use for IDOC creation.Client wants Inventory program at front end system.
    Waiting for your reply.

    Hi,
    Please check below link in this regard. Thanking you.
    http://help.sap.com/saphelp_45b/helpdata/en/52/16ac64543311d1891c0000e8322f96/frameset.htm
    Edited by: Padmasri Garapati on Nov 30, 2011 3:14 PM

  • Lsme for transaction kp06

    Hi
    I had created a lsmw for transaction kp06 all is fine and data is getting is upload while doing it in foreground and when i am doing it in background it is giving me
    no batch data input is available for screen 300.
    in my recording i am not able to see any screen 300.
    done lsmw like this
    1)entered controlling area
    2)required data in layout and said overview
    3)after thuis i changed the total planned cost field
    and saved it.
    it is working fine in foreground when in background it is giving me the above error.
    kindly help

    Hi Bala,
    I think the problem is with your recording like ....
    while u r recording the tcode u might have entered all the correct values means all the comapatable values where as there is another side of the coin if u enter values which are non compatable in one of the fileds then it may give some pop up or error message saying that you entered some invalid value rite... so while recording in the first method u may miss this screen.
    everything is fine and in your flat file if there would some non compatable values in any one of the records then the extra pop up or subscreen will be displayed and the screen sequence will be lost
    so my suggestion is try to run the tcode in the no error mode with the record with which u r getting the error message.. try to check what exactly the problem is....
    one more thing here you have to take into consideration...
    some transaction like enjoy tcodes and IS- tcodes LSMW will not support the background processing of the session at that time you have to check the other options like BAPI or IDOC method....
    so check the possible options
    I think, I gave you some idea......
    If you get further issues do lemme know
    ~~Guduri

  • Job for transaction PBA6

    Hi,
    I'm trying to create a job for transaction PBA6 (program RPAPRT02) but once I get the list of all the activities I should complete I don't know how to select them all and execute de program SAPMSSY0.
    Any idea?
    Thanks

    Hi,
    Did you try to make a Parallel Processing referred to RFC?
    Maybe this link can help you.
    [http://help.sap.com/saphelp_nw04/helpdata/en/22/0425c6488911d189490000e829fbbd/content.htm]

  • Problem in creating a BDC program for transaction cj20n(project sytem)

    Hi all,
    I am trying to create project,WBS element ,network and activity using a BDC program,
      I am able to create to a recording for the transaction cj20n using tcode shdb but when i run the recording it doesnt run properly i am not able to create any thing.
    I get error saying that a particular field doesnt exist on the screen.
    Is possible to create a BDC program for transaction CJ20N ?
    Also is there any other alternative  apart from using a BAPI or a function module.
    Thanks,
    Nishant

    Hi,
        Check below link for BAPIs of transaction cj20n.
    [BAPI for cj20n|BAPI for CJ20N transaction]
    Thanks,
    Asit Purbey.

  • How to create varient for transaction code

    hello expert,
    I created one Mod. pool program and transaction code.
    while run this tcode, Save button is disable and unable to create varient.
    could you please guide me hw to enable this save button and create varient. please
    with best regards
    srinivas

    Hi,
    You can create variants for transaction using transaction variants. That is meant to simplify these kinda scenarios.
    The tcode for transaction variants is SHD0. You can create variants as you wish. It is simple only. No coding required. Just take SHD0. Give your transaction name.
    Then press create variant.
    It will guide you.
    Regards,
    Renjith Michael.

  • HOW TO Create  variants for transaction MASS on LFA1 object?

    hOW TO Create  variants for transaction MASS on LFA1 object?
    Edited by: cheppalliakr on Nov 10, 2011 1:09 PM
    Moderator message: please do more research before asking, show what you have done yourself and provide more information when asking.
    Edited by: Thomas Zloch on Nov 10, 2011 3:10 PM

    Hi Oscar ,
    You need to create optional date prompt variable  in BW which fills your requirement .
    Ex : If you require report should always run for 1st of the month to last of month .Then create Optional date variable in BW with interval .write customer exit ,
    if from date is left blank it should take 1st of the month and if todate is left blank it should take last of the month .
    when creating webi schedules , leave prompts as blank.

  • Error when creating Service for transaction in SICF.

    Hi,
    I created a Transaction, and for this transaction transaction I am trying to create a service for this transaction using SICF transaction.
    but after creagting service when I am doing test service I am gettging error follwoing message - can any one please let me know how to solve this issue.
    The following error text was processed in the system DP2 : Communication failure
    The error occurred on the application server dp2dca0u_DP2_01 and in the work process 0 .
    The termination type was: IMC_CANCEL_TX
    The ABAP call stack was:
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_ITS===============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    Thanks.
    Rajesh.

    Hi,
    First you need to publish your service which you would get from the dropdown fro utilities->setting->its->publish.
    Also check in transaction SICF whether your serivce is actiavted- else activate the same. you can find your serivice under the following path
    default_host/sap/bc/gui/sap/its/
    ITS Debugger
    http://help.sap.com/saphelp_47x200/helpdata/en/5f/1fbd2f4aee11d189740000e8322d00/frameset.htm
    Debugging Flow Logic Applications
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/7033b4ae5d11d3806500c04f99fbf0/frameset.htm
    ~rfcDebugging
    http://help.sap.com/saphelp_47x200/helpdata/en/5f/1fbbb14aee11d189740000e8322d00/frameset.htm
    Debugging WebRFC Applications
    http://help.sap.com/saphelp_47x200/helpdata/en/2b/d9211d4b8a11d1894c0000e8323c4f/frameset.htm
    Hope that helps,
    Regards,
    Gopal
    Edited by: Gopal on Oct 30, 2008 3:23 PM

  • How to create a webservice for sap transaction?

    Hello All,
                  I developed a custom program and created a transaction for that? Is it possible to create a webservice for this custom transaction  ? If yes,how should we ?  I have seen many documents which all describing to creartion of webservice for an RFC only.
    Please help in this regard...
    Thanks ,
    Ravi

    Hello,
    You cannot create a Web Service for an ABAP program/transaction directly. You have to move the logic into an RFC. Only RFC, BAPI & Business Object can be converted to Web Service using the Wizard.
    Thanks,
    Venu

  • 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

Maybe you are looking for

  • Recurring Message "You Shut Down Your Computer Because of a Problem"

    I had a computer crash and since then I get a prompt after login (administrator or any other account) stating: "You shut down your computer because of a problem" and even when I choose to open the apps that were open during the crash it still prompts

  • BADIs for MB11, MB1A, MIGO?!?!?

    Hi friends, I've make an implementation for BADI definition "MB_DOCUMENT_BADI". This implementation will be called by MB11(MB1A, MIGO). I need to <b>cancel</b> a line item  from input data (importing 2 itabs mseg & mkpf) before updating to system.  M

  • Problems pulling RAW files into Photoshop.

    I use Photoshop CS3.  When I pull my RAW files into it I lose a lot of information.  For example I took a picture of my black dog.   I set the camera (Canon 40d) to save the file and both RAW and high res JPG.  When I pull both files directly into ph

  • Wireless Connection Drops, Doesn't Start Again

    This is driving me crazy. Every few hours or so, the wireless connection on my WRT54G2 drops. I can't connect to it from any computer, and the wireless icon on the router is no longer lit. I have to go to the router, unplug it, plug it back in, and p

  • Business Process Flow

    Hi All, I have seen on the portal before different FI/CO business process flows that can be used in blueprint documentation. If anyone have a link to where this is on the portal, I'll really appreciate it. Regards, YA