LSMW and Custom Transaction Options

Hi all,
We've set up a couple of LSMWs to upload various data using recordings that use a number of transactions. We would like to give end-users the ability to upload data themselves using our previously created LSMW projects without them actually initiating LSMW. Is there a way to do this? Is there a way to create a transaction that would basically give the user the option of what to upload and then to/from? Or, what are the best options?
Thanks in advance. Points will be awarded for helpful responses.

Thanks, Dominic. I'm not too familiar with either LSMW or BDC so my apologies if my questions don't make any sense.
As for LSMW, would it be possible to create a wrapper program to input the data needed to run an LSMW project?
Or, if using BDC, can this be run in the background without a user seeing the dialogue? Can a wrapper program be created to call the BDC?
Essentially, the scenario is: we want a user to run a transaction. Pretty much the only selection option we want to give them is the filename and once the program is done, we want them to know all the error messages that might come up.

Similar Messages

  • How to retrieve data using logical database and custom select options

    Hi all,
    I have a selection screen which is displayed by logical database PSJ and I have two select options of my own. I need to retrieve data based on both selection screen of logical database and my own select options. How can I do it?
    Thanks in advance.

    Hai Gupta
    Check the following Document & Links
    1. A logical database is in fact
    a program only.
    2. This LDB provides two main things :
    a) a pre-defined selection screen
    which handles all user inputs and validations
    b) pre defined set of data
    based upon the user selection.
    3. So we dont have to worry about from
    which tables to fetch data.
    4. Moreover, this LDB Program,
    handles all user-authorisations
    and is efficient in all respects.
    5. tcode is SLDB
    good info about Logical Database. you can check the link.
    http://www.geekinterview.com/question_details/1506
    http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Re: How to Create and Use ldb in reports?
    Re: Logical databases
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    Functions for displaying and changing logical databases:
    Call Transaction SE36 or
    Choose ABAP Workbench -> Development -> Programming environ. -> Logical databases
    Interaction between database program and report:
    During program processing, subroutines are performed in the database program and events are executed in the report.
    To read data from a database tables we use logical database.
    A logical database provides read-only access to a group of related tables to an ABAP/4 program.
    advantages:-
    The programmer need not worry about the primary key for each table.Because Logical database knows how the different tables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data.
    i)An easy-to-use standard user interface.
    ii)check functions which check that user input is complete,correct,and plausible.
    iii)meaningful data selection.
    iv)central authorization checks for database accesses.
    v)good read access performance while retaining the hierarchical data view determined by the application logic.
    disadvantages:-
    i)If you donot specify a logical database in the program attributes,the GET events never occur.
    ii)There is no ENDGET command,so the code block associated with an event ends with the next event
    statement (such as another GET or an END-OF-SELECTION).
    1. transaction code SLDB.
    2.enter name z<ldb-name>
    3.create
    4.short text
    5.create
    6. name of root node (here Ekko)
    7. enter short text (f6)
    8.node type -> data base table.
    9.create
    10 change logical DB
    riht click on ekko and insert node
    here node name ekpo
    11.create
    12. click on selections
    13. press no Should the changed structure of Z<ldb name> be saved first.
    14.select tables which you want to join.
    15.transfer
    16 now you have to o to coding part.
    17. save
    activate.
    19.click to src code
    double click on first include and activate
    Regards
    Sreeni

  • LSMW - for Customised Transactions

    Hi,
    I had read that LSMW is used for SAP Transactions but since we have BDC recording option in LSMW,cant we use LSMW for Custom Transactions ?/
    Regards,
    Chitwanjit Singh

    Well, I'll close my query here. I got the answer on internet.
    Regards,
    Chitwanjit

  • LSMW and transaction MM01

    Hi experts!
    I am going to extend several materials from one plant to another.
    Is it possible to use LSMW and batch input recording at transaction MM01 with the copy-function?
    Kind regards

    Hello Lene,
    I believe you can do this by choosing Business Object Method (BAPI) option of the LSMW attributes. Business Object should be BUS1001006, Method SAVEDATA, Message Type MATMAS_BAPI, Basic Type MATMAS_BAPI01. The related BAPI where the copy/change should take place is BAPI_MATERIAL_SAVEDATA - I suggest you read the documentation of this BAPI, I noticed
    it states:
    When changing material master data, you need enter only the material
    number. In the header data, you must select at least one view for which data
    is to be created. Depending on the view selected, you must maintain other
    required parameters. If you do not enter values for all of the required parameters,
    the method is ended with an error message.
    Also, this BAPI provides structure PLANTDATA as an import parameter so I think you should be able to copy the materials into the new plant. If this works then you wouldn't need the Batch Input recording at all but when using this in LSMW remember to generate the inbound IDoc settings for this message type from the first screen of LSMW via menubar Settings->IDoc Inbound Processing.
    Hope this helps.
    Cheers,
    Sougata.

  • Display/Change toggle option in custom transaction

    Hi all,
    I have created a custom transaction with 3 screens . Now the requirement is, I have to provide the user an option to toggle between Display/change mode. As per my idea, I have to identify all the fields to be toggled , assign them as a group in attributes and get it done using below code.
    Loop at screen.
    if screen-group1= 'XXX'.
    screen-input = 0/1.
    modify screen.
    endif.
    endloop.
    But , in my case , I have table control and some other fiedls on my screens.
    So, I have to use the above code twice in the PBO (once for all other fiedls and once for Table control fiedls).
    And I have to repeat this process in each screen.
    Is there any way to provide toggle option from display/change vice versa at complete transaction level in an easiest way?
    Thanks

    Other idea would be switching whole subscreens (I guess your custom program consists of them, right?). In these alternative screens you would need the same table controls with read only fields set by default. So you would switch from one to another back and forth.
    If you need to stick to same approach you have, the easiest would be creating a routine which loops through screen and turns on/off each group/screen fields given as parameters. Then you just call it in several places you need.
    Draft
    form turn_on_off using i_input type i
                                 i_fieldname type csequence
                                 i_group type csequence.
       loop at screen.
          if screen-group1 = i_group.
              i_screen-input = i_input.
          endif.
          if screen-name = i_fieldname.
               i_screen-input = i_input.
          endif.
          modify screen.
       endloop.
    endform.
    "PBO first screen
    perform turn_on_off using 0 space 'XXX'.
    "PBO second screen
    perform turn_on_off using 0 'FIELD1' space.
    "PBO third screen
    perform turn_on_off using 1 'FIELD2'  'XXX'.
    As you see you can use different combination of group/field/input options.
    Regards
    Marcin

  • I am currently running a trial version of indesign. i am trying to make a cd booklet. when i open a new document and try to find 'compact disc' in the document presets, it isn't there. all i have for options are 'default and custom'. is it possible to ope

    i am currently running a trial version of indesign. i am trying to make a cd booklet. when i open a new document and try to find 'compact disc' in the document presets, it isn't there. all i have for options are 'default and custom'. is it possible to open the 'compact disc' preset from a trial version?

    Are you sure, Eugene? I have this option:

  • To update vendor and customer details in BP transaction

    I have created a donor in the BP transaction . i need to update the vendor and customer details for the reated donor.
    please can someone suggest some BAPI's or FM's which are available to do the same.

    Hello Om,
    You can get vendor/costumer number and their names in FBL3N when you get bank ledger's line item.
    You must use BTE functions.
    I don't your techinal skills about SAP but if you don't know ABAP or ABAP dictionary details, you can get help your ABAPer.
    I will explain step by step.
    First of all, if you don't use BTE before, You must create a product on FIBF.
    Call FIBF transaction -> Settings -> Products -> ...of a customer
    Create a new line,
    Product : ZFI
    Text : BTE Products for FI Exit
    Product active : tick check fro activation.
    Then you must call SE11 for structure RFPOS.
    You must use append structure function for this structure and you can define ZFI_RFPOS append structure.
    Define 4 fields.
    Component : KUNNR - Component type : KUNNR
    Component : NAMED - Component type : NAME1
    Component : LIFNR - Component type : LINFR
    Component : NAMEK - Component type : NAME1
    Then save and active your RFPOS structure.
    After that, you must do same step for structure RFPOSX.
    Then go to SE37 and copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM.
    After copy action, you must uncomment this line on ZFI_INTERFACE_00001650 FM's source code. It's very very important;
    E_POSTAB = I_POSTAB.
    Then you should add some ABAP code for getting customer & vendor details.
    I give you some examples, you can use it. (next message on this thread, please check)
    Then save and active FM.
    Call FIBF transaction again.
    FIBF -> Settings -> Process Modules -> ...of a customer
    Define a new line.
    Process : 00001650
    Function Module : ZFI_INTERFACE_00001650
    Product : ZFI
    and this customizing.
    Then you go to SE38 transaction.
    start report RFPOSXEXTEND. After starting, a pop-up appears, you must click YES.
    After those operations, you can see customer/vendor code and their names on FBL3N.
    I hope it helps to you.
    Regards,
    Burak.

  • Bill Presentment Architecture, how to Overide Default Rule and ensure the AR Invoice/Transaction Chooses "Customer Transaction Data Source"

    Hi Intelligentsia,
      we are on 12.2.4 on linux, i have setup external template with supplementary Data source as "Customer Transaction Data Source", when i test it fails, i am not able to debug it , however when i run the BPA Transaction Print Program (Multiple Languages) it always gives me the default layout.
    Query is
    How do i ensure the Default rule Does not apply to my Invoice and i am able to override it
    is there a method to explicitly Ensure the Supplementary Data Source as "Customer Transaction Data Source", when i am creating the AR Invoice/ Transaction?  Am i missing some setup in AR Invoice Transaction Flexfield where i need to setup this "Customer Transaction Data Source" as the DFF Context ?
    please let me know if you need any more information.
    Abdulrahman

    Hello,
    Thanks for the answer. When you say rule data is that Rule creation date or the "Bill Creation From Date" that we setup while creating the rule? I have created a new invoice after the rule created, but it did not pick the new custom template.
    I have another issue. It would be greate if you could help. I have split my logo area into 2 vertically to display logo in one and legal entity and addres on the other one. In the Online Preview I can see the logo and Legal address. But in the print preview , i am not able to see them. It just shows a blank space. Any Idea?
    Thanks in advance

  • Access Custom Attributes in JavaScript and in Transactions

    Hello,
    I try to work with custom attributes. I've problems accessing the values in JavaScript and in transactions, but it works fine within .irpt pages.
    What's the trick?
    For a custom attribute called PLANT, can I write something like this in JavaScript?
    var p = ;
    Is there a way to access custom attributes in the Link Editor of an Action Block?
    Kind Regards,
    Matthias

    Hi Matthias,
    it is not possible to integrate that kind of MII variables in JavaScript like you discribed before.
    You are right that this kind of expression is possible in the .irpt file. The reason why it is working in the .irpt
    but not in the .js is, that the MII script parser is only replacing in HTML content. Everywhere you have
    scripting the parser will not replace the {...} markings (since the curly brackets also show start/end of functions aso.).
    Variables to JavaScript
    The easiest Way to get those variables is to create hidden fields in the .irpt file that you can access via JavaScript.
    For example:
    <input type="hidden" id="hidden_plant" value="{PLANT}" />
    This will be parsed to (e.g.)
    <input type="hidden" id="hidden_plant" value="Karlsruhe/DE" />
    Now you can access this value in JavaScript via:
    document.getElementById( "hidden_plant" ).value;
    Variables to Transactions
    To parse custom variables to a transaction you first have to specify corresponding transaction variables in the
    transaction itself. After saving the transaction you can map those variables to Parameters in the Xacute-Query-Editor.
    Including this transaction to your webpage you can simply assign the required value to the corresponding parameter.
    For example if you mapped the Plant variable of the transaction to Param.1 you can specify the information in the .irpt
    like:
    <applet id="trx_test" ....>
      <... />
      <param name="Param.1" value="{PLANT}" />
    </applet>
    Another possibility is to set the value dynamically via JavaScript if you use:
    document.getElementById( "trx_test" ).getQueryObject().setParam( 1, "Karlsruhe/DE" );
    Native access to user variables via the BLE is not possible (as far as I know).
    I hope this is what you wanted to hear?
    Best Regards
    Sebastian
    Edited by: Sebastian Holzschuh on Jun 10, 2008 12:16 PM

  • OBYA : vendor and customer clearing in cross company code transaction

    Hi Gurus,
    Please can any one telll me how to clear the transactions of cross company code which is in vendor and customer.
    I already done a configuration in OBYA for customer - vendor.
    Expected a process of clearing the cross company code transaction.
    Thanks in Advance
    Manish.

    Hi,
    If you are doing for vendor invoice,
    for example:
    co code 1000 and co.code2000
    Use F-02 and enter following transactions
    posting key 31 -vendor- company code 1000
    posting key 25- expenses and enter new company code 2000.
    After the entry it will display 4 line items, 2line item for 1000&2000
    Regards,
    Sreekanth

  • How to use lsmw and load cin details of the customer

    hi,
    how to use lsmw and load CIN details of the customer master data as the CIN DETAILS are not visible under XD01.
    thanx in advance
    regards,
    balajit

    i got the solution

  • ACR and the Custom Settings option on the flyout menu...

    I am currently running the trial of CS4 to see if its worthy of my hard earned cash. I normally run CS3 and an old version of ACR (4.4.1) specifically for the reason that I can mass process a group of images by using the Custom Settings option in the flyout menu. (Select a file, adjust it, export it, select another or 10 from the same group, hit Custom Settings, and viola, all now have the same adjustments)
    Every ACR 'update' since that one took this option away from me.
    So, here's my quandary... Keep CS3 (and my hard earned $'s) using the old ACR... or figure out how to replace the quick adjustment options I had in CS3 with the New-and-Ever-So-Wonderful CS4...
    Any ideas?
    Thanks in advance!
    Dan

    You can open hundreds of files in ACR, slect and adjust the first one, choose sunchronize and apply the adjustment to all open files.  Try looking at the tutorials on AdobeTV etc, and
    here's some essential reading for you [CLICK HERE] .
    PS—I have no stake in whether you upgrade or not.

  • Transaction SMOEAC does not display Object type and Object Name options.

    Dear all,
    When I go to transaction SMOEAC system does not display fields Object type and Object Name option instead displays an empty frame allowing only to create new objects.
    System does not allow and display existing objects to edit.
    Most imp with the same ID, I am able to see the existing objects and two fields "Object type" and "Object Name" on different machine. So there is no authorization issue.
    My SAP GUI version where these fields are not visible is 640 Final Release with 6405.5.18.1016 version and Patch level 18.
    My SAP GUI version here these fields are visible is 640 Final Release with 6404.4.14.1012 version and Patch Level 14.
    Any idea what could be the reason?
    Regards,
    Sandeep Parab

    With installation of latest version of SAP GUI 710 final Release resolved my problem.
    Regards,
    Sandeep

  • Track changes to any field in Custom transaction and then call pop-up FM ?

    Hi Friends,
    I have created a custom transaction with 2 screens. Only if user has made some changes to any of the 40 fields in those 2 screens, I should ask user if they want to save by calling pop-up function module ? Rather than checking each field content with database content, is there any easy way to monitor the changes and call pop-up function module ?
    Any help is suitably rewarded.
    Niranjan

    Thanks Amit for the reply.
    I have 2 questions
    1) Is there any easy way that SAP will keep track by itself, say in SYST structure, and I can just check in SY structure if something has changed ?
    2) Along with 40 fields, I have 2 more sub-screens; Text editor AND table control. I need to check contents of these also and then call SAVE pop-up function module.
    Pl let me know,
    Niranjan

  • How to pass values to select options of custom transactions?

    I have to call custom transaction-ZMM_POST  from my custom report.
    I have to pass values to select options(Not to parameters) of ZMM_POST  from my report only.
    Please tell me how to pass values to select options of custom transactions?

    Have you tried this?
    DATA: T_RSPARAMS TYPE STANDARD TABLE OF RSPARAMS WITH HEADER LINE.
    T_RSPARAMS-SELNAME = "S_BUKRS".
    T_RSPARAMS-KIND = "S".
    T_RSPARAMS-SIGN = "I".
    T_RSPARAMS-OPTION = "BT".
    T_RSPARAMS-LOW = "100".
    T_RSPARAMS-HIGH = "300"
    APPEND T_RSPARAMS.
    SUBMIT Z_DUMMY WITH SELECTION-TABLE  T_RSPARAMS.
    Greetings,
    Blag.

Maybe you are looking for

  • Error exporting BI Report to Excel

    Hi All, We are experiencing strange error, while exporting to Excel. We have a sales report which extract data for 3 regions US, ASIA, EUROPE. The amount of data for particular month is as follows:                         No Of Rows              File

  • Can i set up my ipad in the same itouch account?

    can i set my new ipad in the same account/place where i currently have my itouch set up? will this affect what i currently have in my itouch or will it see the difference when i connect my ipad and itouch? thank you

  • How to unload QTVR from memory?

    I have 15 QTVR movies in an external cast. Each is loaded from a Flash button menu to a QT sprite(2) using 'showvideo', and replaces the movie currently loaded to the sprite. Is there a way to unload the previous QT from memory before the new one loa

  • Struts client side validation....

    Hello all, I am using struts client and server validation but only the server validation works. I tired looking around the forum but wouldnt find any similar problem. I am getting value from the previous action class and i am able to successfully ret

  • Trash icon missing in 4.2 mail

    Anyone else having this? Yes, I have the right choice in mail account settings (Gmail). Must be a bug. Tried a hard reset. The trash icon showed up for a split second when I launched mail but then reverted to the All Mail icon.