How to Maintain a Segment in case of LSMW

Hi,
   I want to maintain a segment in LSMW so how can i maintain a segment in case of LSMW so actually i want to maintain the document flow segment so how can i maintain the segment in LSMW
Regards
Raju

PhHein wrote:
Navy_Coder wrote:
PhHein wrote:
Abusive post and quoting reply blocked.You should probably nuke my post too ...Done.Yeah, sorry 'bout that one. Got a little carried away.
@OP:
My recommendation to you on this would be to use JNI. If you've not used it, it can briefly be described as native C extensions to your java code.
Here is a link to an example of VB.NET code being used (with P/Invoke - the .NET equivalent to JNI): http://www.codeproject.com/KB/vb/DetectWindowslockunlock.aspx
What you'd want to do is wrap the C functions in your JNI C source code, and then link against user32.lib (can be done using the MS VC compiler). That's the only way this is likely to happen.
The other option is to just use their VB.NET code, or to port it directly to C#, since you may be more familiar with that type of syntax (C# is very similary to Java).
In specific, these three functions are the ones that you'd want to wrap from user32.dll:
OpenDesktopA(char *lpszDesktop, int dwFlags, int fInherit, int dwDesiredAccess);
CloseDesktop(int hDesktop); // note that int may be replaced by HWND (handle to a window) in the C user32 declaration, but using a 32-bit int will still work.
SwitchDesktop(int hDesktop); // same here.

Similar Messages

  • How to maintain height of panel on webpage in case of dynamic controls visibility onto it and maintain footer position according to them??

    I am using a panel on the web form to hold some more hidden panels onto it.
    But when I am making those hidden panel visible panel size remains same and footer goes down and page looks ugly then.
    How to maintain size of panel as well as footer w.r.t. it?
    Please reply asap, its urgent!!
    Thanks! :)
    KGProgrammer

    Split your unvisible DIV (for example) to 2 parts, one visible and one unvisible.
    In the visible part put onlu a space, and make it the height of the unvisible part.
    That way, the page will look the same with the uv=nvisivle part and without it.
    Noam B.
    Do not Forget to Vote as Answer/Helpful, please. It encourages us to help you...

  • How to maintain bitmap index on a large table in DW?

    Hi all,
    We have many tables which are constantly doing either FULL or INCREMENTAL loading.
    And we have created many BITMAP indexes and several B*Tree index (caused by PRIMARY KEY or UNIQUE key constraints) on those tables.
    So, what I want to know is, how to maintain those BITMAP (and B*Tree) indexes for different loading mode?
    like, should I drop the index before the full load and re-create it after that?
    and do nothing in INCREMENTAL loading? I am aware that it will take more time to load with indexes.
    any links, books, articles or opinions would be highly appreciated.
    Thanks

    Just to reiterate, add to what Adam said. From Oracle Doc
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/indexes002.htm#CIHJIDJG
    Unusable indexes
    An unusable index is ignored by the optimizer and is not maintained by DML. One reason to make an index unusable is to improve bulk load performance. (Bulk loads go more quickly if the database does not need to maintain indexes when inserting rows.) Instead of dropping the index and later re-creating it, which requires you to recall the exact parameters of the CREATE INDEX statement, you can make the index unusable, and then rebuild it.
    You can create an index in the unusable state, or you can mark an existing index or index partition unusable. In some cases the database may mark an index unusable, such as when a failure occurs while building the index. When one partition of a partitioned index is marked unusable, the other partitions of the index remain valid.
    An unusable index or index partition must be rebuilt, or dropped and re-created, before it can be used. Truncating a table makes an unusable index valid.
    Beginning with Oracle Database 11g Release 2, when you make an existing index unusable, its index segment is dropped.
    The functionality of unusable indexes depends on the setting of the SKIP_UNUSABLE_INDEXES initialization parameter. When SKIP_UNUSABLE_INDEXES is TRUE (the default), then:
    •DML statements against the table proceed, but unusable indexes are not maintained.
    •DML statements terminate with an error if there are any unusable indexes that are used to enforce the UNIQUE constraint.
    •For nonpartitioned indexes, the optimizer does not consider any unusable indexes when creating an access plan for SELECT statements. The only exception is when an index is explicitly specified with the INDEX() hint.
    •For a partitioned index where one or more of the partitions are unusable, the optimizer does not consider the index if it cannot determine at query compilation time if any of the index partitions can be pruned. This is true for both partitioned and nonpartitioned tables. The only exception is when an index is explicitly specified with the INDEX() hint.
    When SKIP_UNUSABLE_INDEXES is FALSE, then:
    •If any unusable indexes or index partitions are present, any DML statements that would cause those indexes or index partitions to be updated are terminated with an error.
    •For SELECT statements, if an unusable index or unusable index partition is present but the optimizer does not choose to use it for the access plan, the statement proceeds. However, if the optimizer does choose to use the unusable index or unusable index partition, the statement terminates with an error.
    Incremental load really matters the volume and whether for new dats you just add new partitions or subpartitions . If my incremntal go all over place and/or if I am touching few thousand rows. Yes might want to keep the indexes valid and let Oracle maintain it. IF millions added or incremental data just added to new part/subpart . Keeping indexes unsable for those partitions/subpartitions and the rebuilding it later may yield better results.

  • How to maintain an errors in Outbound Interface

    Hi,
    I m Doing One Interface (Outbound From SAP) to Application Server?
    whenever the File(TXT) in Created in Legacy Application Server with Succeesfull Record i have to Send an Email Notification to my Payroll 
    Adminisatrtor Of the legacy System.
    Can any one Pls tell me the steps Howto DO this?
    An also
    If there is any error records found which tranferring Data to ths Legacy System.An Output shoul be display with error records.
    How to maintain this in Interface Program.
    Regards
    Uday Kiran

    Hello,
             You can follow the below procedure as one of the Error Notification mechanism.
    1. If you are using a Standard Selection Program, then you can find the relevant exit to populate all the Errors in an Internal Table with
      Error Field Name
      Error Segment Name
      Error Message.
    2. Then, you can append all the errors (data mismatch , inconsistency) to that Internal Table, I_ERR_TAB per say.
    3. After that, Export the same to Memory ID.
    4. In an Outbound Interface, after the Selection Program is processed, a Standard Function Module is Called, that is IDOC_CREATE_ON_DATABASE.
    5. Go to that Function Module, and Create an Enhancement Implementation (In case of ECC 6.0) where you'll IMPORT the I_ERR_TAB from Memory ID.
    6. Check if the I_ERR_TAB is initial. If it is not, then you can probably use the FM SO_OBJECT_SEND or SO_DOCUMENT_SEND_API1 or any other FM available for Sending Mails to the respective Persons / Users.
    7. Along with sending mail, you can also error out the IDoc by Calling the FM IDOC_STATUS_WRITE_TO_DATABASE where you'll update the IDOC_STATUS table with the errors that you have in your I_ERR_TAB table and set the Status as 26.
    Hope it was helpful.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • How to map AED in the case of domestic procurement.

    The procurement  process is they will raise PO to domestic vendor  and this vendor is importing material , so he is passing AED (Additional excise duty ) to this customer , while doing GR AED is not capturing in AED field and it is not updating in Register.  Here  they are doing J1IEX in that they are adding (Manually) AED vale to BED and posting in the register it is updating (BED +AED) but for capital goods AED cal avail full but here it is possible for only 50% . How to capture AED value at the time of GR and update in the registers.   How to map AED in the case of domestic procurement.

    Hi
    All the setting will be same the trick is maintain the condition record say FV11 as 0 % for condition type for AED and AED total as 100%
    do same as u do it for JMOP
    And in SPRo also the same setting as Jmop do it for AED
    In account determination for GRPO IP assign Gl account of ADC under AED
    now when u post excise invoice in additional tab u will see GRPO put IP in subtransaction  this is important
    and put the amount in AED what the vendor have passed.
    and now u will be able to post BED and ADC seperately in domestic purchase
    hope this helps

  • How to maintain the documents like PDF, EXCEL and WORD in database

    Hi,
    I am working on UI, I am tracking the COREMODS data using this UI. My requirement is need to maintain the related documents also in database using this UI. I think SLM system have that functionality. If any one know about this functionality, explain about
    How to upload the documents into database.
    How to maintain this documents in database.
    Is there any standard methods/function modules to upload this documents ( I am not asking about content of document, I am expecting about total file).
    i.e. I want to maintain the all core mod related test cases and other documents in SAP database.
    How to handle this functionality?
    Rayudu

    hi,
    There is a Utility in SAP called Easy DMS.
    Here you can create folders, maintain authorisations and store your documents.
    Hope this is wht u r looking for.
    Reg,
    Raj

  • How to maintain the status of the Thread ?

    How to maintain the status of the Thread ?
    namanc

    I want to know whether a particular thread (java
    application) is completed successfully or not ...
    If the thread is not completed successfully then I
    want to restart the Thread.
    Actually this is the Task Scheduler Application ...
    If the particular task is not running successfully
    then I want to start the Task again ...
    namancThen it could look something like this: // loading the queue
    for each task
        add task to list of incomplete tasks
        enqueue task in work queue
    // dispatcher
    while !done()
        task = workQueue.dequeue();
        New Thread(task).start();When a task finishes, it can call a callback method on the dispatcher. The dispatcher looks at the task's status. If it finished successfully, the task gets removed from the list of incomplete tasks. Else it goes back on the work queue.
    There will be some syncing issues involved. You'll have to use wait() and notify()/notifyAll() to handle the situation where the work queue is empty, and all incomplete tasks are being worked on. And the case where the dispatcher wakes up after the notifyAll() and there's nothing to dequeue and nothing in the list of incomplete tasks.
    Clearly it needs some fine tuning, but I hope you get the idea.

  • How to maintain trend info on CITADEL SQL Query

    Hi All,
    I'm using ms excel via ODBC connection to extract data from CITADEL via SQL queries. In LabVIEW DSC Module there are an option in the function "Read Historical Traces" thats maintain trend info of tag if no data is recorded in the selection time.
    When i try to get CITADEL data via SQL if no data is recorded in that period the result is a blank column. How to maintain trend info or in this case?

    Good afternoon, Bruno
    Follow this link, please verify readiness if the procedure is correct if the problem persists please contact us.
    Citadel Database Querying and Exporting Data to Excel
    http://zone.ni.com/devzone/cda/epd/p/id/2001
    Overview of Citadel Historical Database Archiving Methods
    http://zone.ni.com/devzone/cda/tut/p/id/3751
    Accessing Citadel 4 Data with Microsoft Excel
    http://zone.ni.com/devzone/cda/tut/p/id/3813
    Can I Change the Default Timeout for the Read Historical Trend (s) in DSC VI?
    http://digital.ni.com/public.nsf/allkb/513C871B883E34A386256D040071C97F?OpenDocument
    Sincerely,
    Mauro Vera
    Mauro Vera
    Applications Engineer
    National Instruments

  • How to Maintain Default materials for clearing house fee (IS Oil) O3RECH1

    Hi,
    I am an ABAPer. I have come accross one issue in Transaction O3RECH1 (Create CH Settlement/ Transmission).
    I am getting error. as No Material Exist. .. In debugging i came to know that material is empty since there is no data in field FEEMATNR  of table OIRECH_APPL.
    Table OIRECH_APPL --> SSR PC:  Clearing House application data  (IS-Oil SSR).
    In that there is one filed FEEMATNR --> SSR PC: Default materials for clearing house fee.
    Can any one please let me know How to maintain it.
    Answer will be rewarded.

    Interesting requirement. This can be achieved through Search String as suggested by Mr. Shanid.
    Try to find a text in the note to payee line for bank charges for creating a search string.
    For Example. See below note to payee line and assume this line for bank charges.
    16,455,130155,0,5/3 BANKCARD SYS  CH,,5/3 BANKCARD SYS  CHARGBACKS.
    Identify a text which should always come with this line for every EBS file for bank charges. Assume here "BANKCARD".
    Now go to T-code OTPM.
    Click on create
    Srch strg name:  Bank Charges
    Description:     Bank Charges
    Search String: BANKCARD ( Based on this text system will search your not to payee line)
    Once you press enter, you will get mapping details on the left side with target field "BANKCARD". Now remove the BANKCARD from target field and put there cost center which you will post for one house bank. Save the data.
    Now move to second step.
    Click on Search String Use.
    Put your company code,
    House bank(mandatroy in your case).
    Interpretation Algorithm( same as you maintained in OT83 for posting rule with external transaction type).
    Search String: BANKCARD.
    Target Field: Cost Center.
    Save.
    Sorry I am not getting option to attach screenshot in SCN now. Dont know why.
    Let us know if you have any doubts.
    Hi Mr. Shanid,
    Correct me if I am wrong.
    Regards,
    Mohammed

  • How to maintain LCM job integrity while promoting?

    Hi
    Question/Issue:
    We are trying to find out how to maintain job integrity while promoting using LCM? This is from a process security perspective that "only tested and approved items should move from QA to PROD"
    Use Case/Scenario:
    We are using BO in a three scale landscape (Windows Server). DEV, QA and PRD are all are in a same network. LCM is installed on BO DEV.
    I create a job having report objects to move from  DEV -> QA. This job can have multiple iterations ie. to incorporate changes in the DEV and move to QA for testing. Once the final version is tested in QA, only the "tested" objects should move from QA -> PRD.
    Two ways to do the above is:
    1. Copy the existing job which promoted items from DEV to QA and then change the Destination to Production. This will ensure object integrity because only initially packaged & tested objects will be present in this job (and no new untested QA objects can be added and "piggy backed" promoted to PROD)
    Problem with this approach:
    When i make a copy of the existing job, it does not allow me to change the source system but only the destination. Which means I'll essentially be moving DEV objects to Prod. However, we should not move objects from from DEV -> PRD. Ideally, LCM should allow to copy the original job and also change the source system to QA so that the original job is just "updated" to pick originally promoted DEV equivalent objects from QA).
    2. Create a New job in QA and manually choose equivalent DEV objects that were originally promoted using previous DEV -> QA Job.
    Problem with this approach:
    This breaks the "promotion process" from a security perspective because we cannot ensure "only the tested objects are promoted to production". There is a chance human error or malicious intentions that the new job can be modified to include untested items or different version items.
    So, would like to know from LCM Product Management whether:
    - Is it possible to change the source system of LCM jobs?
    - To maintain the interity, is it required to create two jobs
    DEV -> QA - Job1
    QA -> PRD - Job2 (With same objects as in Job1)
    Please suggest. This is relavant from ITIL Security Management process point of view. (Information Security Management System)
    Thanks.
    Edited by: Deepb on May 4, 2011 7:21 PM

    Hi there,
    @Maheshwar: I am afraid, you can't change the source only the destination when you copy a promotion job.
    I have a problem to understand the underlying issue fully. How do you - let's say - mark the reports which have been tested (successfully?) in QA? And also how do you know which haven't been tested yet? You cannot see that in the LCM nor in the CMC, am I right?
    One option would be to create a new folder in QA where you save the tested and approved reports and you only promote that folder into PROD. Ultimately this would change the folder structure between DEV and PROD but this wouldn't be a problem at all. The approved documents would have to be saved into the new folder whereby they get a new CUID. Hence from DEV to QA the report has got CUID = ABC and after testing it would be saved into the new folder and its technical name changes to CUID = DEF and you transport that one from QA to PROD.
    You would have to create a new promotion job in to accommodate that. No copy of your first promotion job would be possible in that case. Also you would need a good naming convention to separate all your promotion jobs because they are all on the same BO server.
    Does that make any sense to you?
    Happy to hear your thoughts on that!
    Cheers
    Sven

  • How to maintain EOIO for JMS to multiple webservices scenario

    Hi,
    I have a requirement that
    how to maintain EOIO for JMS to multiple webservices scenario.
    JMS queue has multiple messages, each message has to be sent to either of 2 receivers.
    How to maintain EOIO in case, when there are 2 receivers.
    Regards
    Sekhar

    Hi,
    since messages are split between 2 webservices receivers, each would have its own SOAP adapter.
    So if order of messages in the JMS queues is M1, M2, M3 and M4 . There is a field based on which split happens.
    Say, if M1 and M3 have to go Webservice1 (will have its own mapping)
    and M2 and M4 have to go Webservice2. (will have its own mapping)
    we'll have two receivers in the receiver determination and hence two Interface determinations.
    The result should be
    M1 delivered to Webservice1
    M2 delivered to Webservice2
    M3 delivered to Webservice1
    M4 delivered to Webservice2
    How will we maintain EOIO in this case?
    Regards,
    Balaji.M

  • How to maintain profit margin in third patry sales

    Dear Experts
    Please suggest how to maintain profit margin in third party sales
    Regards
    Manoj

    hi,
    you need to maintain VPRS condition type in your pricing procedure.
    VPRS condition type captures COst of the material. This Value for Condition type VPRS is copied from Valuation segment from Material master.
    VPRS should have subtotal as B and requirement as 4 and also should be statistical in your pricing procedure.
    Moreover the item category of the sales order Determine cost should be marked in VOV7
    After maintaining this, you can maintain Z condition type with MARGINE % or value as per your requirment
    In normal scenario, clients do maintain the condition record for PROFIT MARGINE % so that this margine valu gets calculated automatically

  • How to maintain a new attribute.

    Hi
    Can anyone tell me how to maintain a new attribute so that after selecting that check box of the attribute that will be appearing in my PPOMA_BBP trxn in the attributes tab.
    usaully we do maintain this attributes at the time of implementation.
    please suggset me from where shall we select this new attributes.
    BR
    sairam.

    Hi Sai Ram,
    There are few SDN threads available on this issue. Please refer the below relavant ones which will definitely resolve your issue.
    Re: Problem with T77OMATTR
    Creation of Custom Attributes in org structure
    In case you require any further help please let us know.
    Award points for helpful answers.
    Rgds,
    Teja

  • How to maintain open change request control for the transaction MM02 & CS02

    hi all...
    can any one please let me know that, is there any BADI or Enhancement spot
    where i can code for my desired functionality...
    how to maintain open change request control for the transaction MM02 and CS02.
    Desired Functionality:
    • The user wants to maintain a material, bill of material or a document.
    • On the initial screen of the respective transaction (MM02, CS02)
      user enters a change request number.
    • The system checks whether the object record that the user wants to maintain
      is already assigned to other change request numbers.
    • If this is the case, the system displays a warning, stating that there are
      other open change requests for this master data record.
    • In addition, the system lists the relevant change request numbers.
    • The user can continue the maintenance or leave the transaction and first check
      the mentioned change requests.

    hi satish thanks for reverting back
    but sorry yaar given enhancement is not triggering...
    but my requirement is:
    - after executing the transaction MM02 & CS02.
    - user inputs the data for Material Number and then he enters the Change Number.
    - if the given Change Number is not maintained with the Material (i dont no
      where/how this two fields are maintained internally), then it has to raise a
      warning and it should list the existing Change Numbers for that perticular
      Material.

  • How to maintain budget in 2006 when user in 2008 & vice versa?  frame 1 y

    Problem:
    User could not save changes in  original budget in 2006 & in 2008 also.
    Description
    When user tried to change original budget (FR04) in 2006 year,
    then getting a Message on screen
    “ Payment for yearly  budget 2008 samller than distrubuted budget”
    with fund center – commitment item list &
    “ Payment for the annual budget 2006 are less than annual release “
    with fund center – commitment item list.
    User add & release fund in specific fund center-commitment item which was showing in error list.
    After the ‘check’-
    then getting error ‘’ Payment for yearly  budget 2008 samller than distrubuted budget”
    with fund center – commitment item list
    Time frame only shown 2006.
    Here how to maintain budget in 2008 when user in 2006?
    In Next step
    When user tried to change original budget (FR04) in 2008 year,
    then getting a Message on screen
    “ Payment for yearly  budget 2008 samller than distrubuted budget “
    with fund center – commitment item list &
    “Payment for the annual budget 2006 are less than annual release”
    with fund center – commitment item list.
    User add & release fund in specific fund center-commitment item which as  showing in error list.
    After the ‘check’-
    then getting error
    ‘’ Payment for the annual budget 2006 are less than annual release”
    with fund center – commitment item list
    Time frame only shown 2007 2008 2009.
    here how to maintain budget in 2006 when user in 2008?
    Means user can only change budget in 2007 to 2009” when more years coming in timeframe.
    Current year :2008
    Closed year: 2006 
    In Fund Management, need change original budget payments in 2006 which is already closed.
    Purpose:
    Maintain the positive budget in fund center -Commitment item in 2006 & in 2008 which is shwoing in error.
    Can we see past-current timeframe at the same time ?

    1. copy the frames of your looping animation.
    2. create a new movieclip and paste those copied frames onto
    this movieclip's timeline
    3. from your library drag a copy of the above movieclip to
    frame 1 of your main timeline and attach a stop() to that frame.
    4. place your login textfield and ok button on frame 1 of
    your main timeline.
    5. when ok is pressed (and login) passes some condition
    direct your main timeline to frame 20.

Maybe you are looking for

  • Driver for a second display

    I have an AOC brand monitor and the proper DVI connections to add it as a second display, however it doesn't work as plug and play and the AOC website only has windows drivers and says to contact Apple tech support for an appropriate plug and play dr

  • Monitor system change status using Solman

    Is it possible to setup a CCMS monitor that causes an alert whenever the system change option is modified in SE06? Last week we had to open our production environment to make a change and then forgot to close it. The result was the system was left op

  • Confirm Dialog (JavaScript)

    Hi, I'm using the JavaScript confirm dialog attached to a button (return confirm('xxxxxxxxxxxxxxx'). It works fine but I need two things: 1. How can I change the window title? 2. How can I change the titles of the two buttons? (I need them in Spanish

  • Can't export image files from flash

    In Flash 13.1.0.226 it seems like the options to export a layered image are gone.  When I go to export>image there is no longer an option for .fxg I've read through this forum and Adobe recommends export .svg. There is absolutely no option to export

  • Can't install LOTR War in the North Digital Download

    Downloaded 4 bin files but I can't install the game. Any ideas?