Problem with transaction variant

Hi Gurus,
I want to create transaction variant for XD01 transaction and make district field mandatory.
I have done it using transaction SHD0 and its showing effects when i test it from SHD0.
But I cant see its effect in actual transaction XD01.
Please guide.
Thanks in advance,
Supriya.

Hi,
The transaction variant created by SHD0 when activated will change the display of tcode SM37, irrespective of whether it is called directly or from a Z program. If you are calling SM37 from Z program, try
SUBMIT SAPLBTCH VIA SELECTION-SCREEN WITH SELECTION-TABLE rspar_tab AND RETURN.

Similar Messages

  • Problems with Image Variants

    I got two problems with Image Variants:
    1. catalogCache.GetImagePath("Images", id) doesn’t work for some id. The error message is “GetImageVariant error”.
    2. catalogCache.Preload("Images", “Original”)
        catalogCache.Preload("Images", “Thumbnails”)
        catalogCache.Preload("Images", null)
       catalogCache.Preload("Images", "")
    get failed, the status code is -2147483647
    Anyone know how to setup  image variants?
    Thanks.
    Forrest

    status code: -2147483647 is RC_BADPARAM.

  • Problems with transaction CJ20N

    Hello Experts,
    I have created a tooling asset with transaction AS01 and I have some problems with transaction CJ20N.
    I would like to know how can we Link the Asset already created with the WBS by transaction CJ20N.
    Thanks
    Ferdaws

    Hi Ferdaws,
    In the asset master (AS02) you can maintain the WBS element in Time Dependent data.
    For maintaining the WBS element in asset master, first you have to make WBS element optional entry in Screen Layouts for Asset master data.
    Kindly check with this.
    Best Regards,
    Vasu.

  • Problem with Transaction-Duration Dialog

    Hello All,
    I wonder if somebody could shed a light on the problem that we're having
    with transaction-duration dialog service object. The problem is this.
    When we call the service object and its SQL statement fails (for
    example, because of constraint violation) Forte raises AbortException.
    It also clears the error stack, so we have no way to know what caused
    it, original error ("ORA -... Constraint Violation") disappears. All we
    get is this:
    USER ERROR: Access to a load balanced router member (which is a service
    object) failed for the reasons below.
    Class: qqsp_AbortTransaction with ReasonCode: SP_ER_USERABORT
    Error #: [601, 162]
    Detected at: qqdo_LbRouter::Route at 2
    Last TOOL statement: method tester.test, line 3
    Error Time: Thu Jul 2 15:56:40
    Distributed method called: SO_UmbrellaProxy.testAbortExc (object
    name
    site/sosa_sampleservice_cl0/th_testabort_cl0-bmso0x15d:0x1) from
    partition
    "TH_TestAbort_cl0_Client", (partitionId =
    DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15d:0x2, taskId =
    [DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15d.4]) in application
    "Forte_cl0", pid 74 on node AANANIEV in environment archenv
    Originator: SP_AO_XACTMGR
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15d:0x1, taskId =
    [DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15d:0x1.16]) in
    application
    "Forte_cl0", pid 74 on node AANANIEV in environment archenv.
    USER ERROR: Your transaction was aborted
    Class: qqsp_AbortTransaction with ReasonCode: SP_ER_USERABORT
    Error #: [402, 45]
    Detected at: XactMgr.TXAbort at 1
    Error Time: Thu Jul 2 15:56:40
    Originator: SP_AO_XACTMGR
    Exception occurred (remotely) on partition
    "TH_TestAbort_cl0_Part1-router", (partitionId =
    DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15b:0x9, taskId =
    [DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15d:0x2.17]) in
    application
    "TH_TestAbort_cl0", pid 18196 on node hp9000_1 in environment
    archenv.
    Has anyone experienced this problem with "transaction-duration" service
    object? Is there any way to find out the cause of "AbortException"? It
    seems impossible to catch the AbortException on the server partition,
    looks like Forte exits right away.
    Everything works fine with "message-duration" dialog, unfortunately it
    is not an option for us because of the way our batch programs were
    designed.
    Any help is greatly appreciated.
    Alexander Ananiev
    Claremont Technology Group
    916-558-4127
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    thanks Peter for trying to help
    ok, i've narrowed down the problem, it seems that when i try and save a file onto one partition of one of my ext drives it won't save to my last save dir but if i save to another partition/drive it works ok, also if i rename the 'dodgy' partition it also seems to work ok, so somehow the name of the drive has become corrupted.
    anybody ever heard of this? or how i could fix this as it's a quite annoying because alot of my audio files are referenced on this partition, so itunes or Cubase (audio sequencer) can't find my files now.

  • Problems with transaction MD21

    Hi experts, i have a problem with this transaction because every time i open it when i try to add the material text in the Modify layout button, when i hit ok no text appearts in the field, whant can i do?, thank you in advance.
    kind regards

    Hi
    1) Create a Screen Variant in SHD0 with Additional Material Data ticked for MD21 transaction and assign to specific users.
    2) After Entering MD21 in the Display Planning file entries screen click on  Change lay out and save as default after selecting Material Description column
    From nxt time onwards the user will get the Material Description in the Layout for the Selection criteria
    Regards
    Brahmaji

  • Problem with transacted JMS connection factory and transaction timeouts

              We encountered an interesting problem using transacted JMS connection factories.
              An EJB starts a container managed transaction and tries to validate a credit card
              before creating some information to a database for the user, in case of success
              an SMS is sent to the user via the transacted JMS queue. If the credit card authentications
              duration is about the same as the transactions timeout (in this case the default
              30 seconds) sometimes the database inserts is committed but the JMS insert is
              rollbacked. How can this be?
              If the authorization duration is much longer than 30 seconds everything works
              fine (both database and JMS inserts rollbacked), the same is true if a rollback
              is insured by calling EJBContext.setRollbackOnly(). The problem thus occurs only
              if the duration is approximately the same as the transaction timeout, it appears
              that the database insert is not timeouted but the JMS insert is. How can this
              be if they are both participating in the same transaction.
              The JMSConnectionFactory used is a Connection factory with XA-enabled. The result
              is the same also with the default "javax.jms.QueueConnectionFactory" and if we
              configure our own factory with user transactions enabled.
              Any help appreciated!
              

    Tomas Granö wrote:
              > We encountered an interesting problem using transacted JMS connection factories.
              > An EJB starts a container managed transaction and tries to validate a credit card
              > before creating some information to a database for the user, in case of success
              > an SMS is sent to the user via the transacted JMS queue. If the credit card authentications
              > duration is about the same as the transactions timeout (in this case the default
              > 30 seconds) sometimes the database inserts is committed but the JMS insert is
              > rollbacked. How can this be?
              It should not be.
              >
              > If the authorization duration is much longer than 30 seconds everything works
              > fine (both database and JMS inserts rollbacked), the same is true if a rollback
              > is insured by calling EJBContext.setRollbackOnly(). The problem thus occurs only
              > if the duration is approximately the same as the transaction timeout, it appears
              > that the database insert is not timeouted but the JMS insert is. How can this
              > be if they are both participating in the same transaction.
              >
              > The JMSConnectionFactory used is a Connection factory with XA-enabled. The result
              > is the same also with the default "javax.jms.QueueConnectionFactory" and if we
              > configure our own factory with user transactions enabled.
              >
              > Any help appreciated!
              Make sure that your session is not "transacted". In other words,
              the first parameter to createSession() must be false. There is an
              unfortunate name re-use here. If a session is "transacted", it
              maintains an independent "inner transaction" independent of the
              outer transaction. From the above description, it seems unlikely
              that your application has this wrong, as you say that
              "setRollbackOnly" works - but please check anyway.
              Make sure that you are using a true XA capable driver and database
              (XA "emulation" may not suffice)
              Beyond the above, I do not see what can be going wrong. You
              may want to try posting to the transactions and jdbc newsgroups. Note
              that JMS is appears to be exhibiting the correct behavior, but the
              JDBC operation is not. The JDBC operation appears to have
              its timeout independent of the transaction monitor's timeout.
              Tom
              

  • Probleme with transaction in session beans

    Hello.
    i create an session bean which call enties beans.
    When i execute un example first time, its correct.
    when i execute for second time, the methode don't stop.
    i think it is problem of transaction.
    thank you

    Hi,
    It is impossible to answer your with the given information. When ever you are asking a question please put the relavent informatin like code and deployment descriptors. So please do post the required information.
    Ashok

  • Problem with trnsaction variant

    Hi Gurus,
    I want to create transaction variant for XD01 transaction and make district field mandatory.
    I have done it using transaction SHD0 and its showing effects when i test it from SHD0.
    But I cant see its effect in actual transaction XD01.
    Please guide.
    Thanks in advance,
    Supriya.

    Hi,
    The transaction variant created by SHD0 when activated will change the display of tcode SM37, irrespective of whether it is called directly or from a Z program. If you are calling SM37 from Z program, try
    SUBMIT SAPLBTCH VIA SELECTION-SCREEN WITH SELECTION-TABLE rspar_tab AND RETURN.

  • Problem in  transaction variant of standard transaction

    I am making transaction variant of VA01 throught t-code SHD0
    and i have to make tab item overview invibile , i do that and also created t-code for the variant ,
    but when i run that it is still visible can anybobdy tell y ??
    suitable answers will be awarded points
    Edited by: Akash Jain on Apr 2, 2008 8:56 AM

    Hello Simon,
    here you are my answers:
    1. Yes, I've run both ipak and RSA3 in the same mode (full), with the same selection parameters.
    2. I find this suggestion about debugging background processes very useful. I've been wondering several times about how to debug pieces of code in similar situations but could never find a good solution: now I know how to do in these cases. Thank you!
    In this specific case, to see what was going on in the extraction process in R/3, as an alternative to debugging I have put some logging messages in the cmod code with the WRITE statement, and then inspected the spool output of the ipak execution.
    The result of this test was that the query for selecting the LIFNR value
    select single lifnr into mov_cdc-lifnr from mseg
           where MBLNR = mov_cdc-REFBN
           and MJAHR = mov_cdc-REFGJ
           and ZEILE = mov_cdc-REFBZ
           and MATNR = mov_cdc-MATNR
           and WERKS = mov_cdc-werks.
    fails (sy-subrc = 4) because the fields REFBN, REFGJ and REFBZ are not filled (initial) in the extract structure passed to the custom function module.
    When the extraction is executed with RSA3, instead, the above mentioned fields are filled and the query works correctly.
    Thank you so much for your suggestions.
    Regards,
    Virginio D'Amico

  • Problem in Transaction Variant - hide screen

    Hi All,
    Iam creating a transaction variant for the tcode IE02.
    There are 4 tabs in which i need the first tab( say A ) to be hidden completely so that the second tab      ( say B)gets displayed as the first tab. I have hidden the tab  A and the fields in that tab.
    When I execute the transaction variant,Iam able to see a blank screen under the B tab.
    When I go to some other tab and come back again to B tab, Iam able to see the fields in the B tab.
    Can anyone tell me why is it showing a blank screen as the first display? I should be able to see the corresponding fields in the B tab in the first hit.
    Thanks in advance.
    Guru.

    Hi Guru,
               I hope in the PAI section of that transaction you need to do the coding for PAI of TAB B is clicked.  So that all the fields of that TAB will be activated.
               In your case first it is blank and when you are doing it second time, automatically PAI of TAB B is satisfied and you are able to see the fields of TAB B.
               Hope this is helpful.
    Regards
    Sravan

  • Problem in Transaction variant SHD0 and SE93

    Hi All,
    I have created a transaction variant for T-code MIGO
    Then I have assigned this transaction variant to a T Code ZMIGO using SE93
    I tested this in development. (Testing was done like this. T code SE93 then clicked on display then clicked on test.) this is working fine here.
    Then the request was transported to quality.
    Here in quality environment I went to T code SE93 and entered the T code ZMIGO and clicked on display here the system displays the new t code but when I click on test system throws a message which reads as u201CTransaction contains inconsistencies. Do you want to execute it anyway?u201D
    Can you please help me how to overcome this?
    Thanks and regards,
    Prashant.

    Hi Guru,
               I hope in the PAI section of that transaction you need to do the coding for PAI of TAB B is clicked.  So that all the fields of that TAB will be activated.
               In your case first it is blank and when you are doing it second time, automatically PAI of TAB B is satisfied and you are able to see the fields of TAB B.
               Hope this is helpful.
    Regards
    Sravan

  • Problems with transaction wsk1

    Hi everybody, I have some problems with the transation WSK1, I try to copy assortment source to assortment destiny but  it doesn't copy all the records on table marc ,it ends without any error , but when I check tha table marc it is not completed.
    what it could be the problem?
    regards

    Hi,
    Post your query in the below mentioned forum to get it solved quickly. This forum is specific to SAP Master Data Management.
    /community [original link is broken]
    Regards,
    JItesh Talreja

  • Problem with transaction MD4C?

    Hello everybody,
    I have developed an interactive report which has a field on clicking which the control should transfer to a transaction (MD4C) which consists of SIX tabs.
    I have written a small BDC for the same and when i try to run it behaves in different ways in different systems.
    For eg,when i run on my system one tab is getting highted and when i run on another system another tab is getting highlighted.
    And so the BDC that i wrote for a particular flow is not working.
    Can anybody suggest a solution for this problem?
    Helpful answers will surely be rewarded.
    Regards,
    Sanghamitra.

    hi,
    it has to do with the resolution of your monitor
    when u start bdc recording .
    in recording parameters there is :
    default size : uncheck it.
    plz reward points if it helps.
    rgds

  • Problem with transaction control - URGENT

    I have a requirement to use a PL/SQL package to validate data that is created by my OAF application.
    My process is as follows:
    1. User enters data and clicks save (Submit action)
    2. Controller captures save event and invokes "Apply" in AM
    3. Apply method calls getTransaction.postChanges()
    4. Apply method then executes PL/SQL block and gets the results of validation (Validation function does not do any DML on the data)
    5. if validation is ok then I commit (This bit works fine)
    6. if validation fails then I just stop processing and let the page reload ( I am not forwarding to processrequest)
    7. User corrects the error and clicks save again
    I have tried step 6 with throwing OAException and not throwing OAException and in both scenarios at step 7 I receive the following:
    Unable to perform transaction on the record. \nCause: The record has been deleted by another user. \nAction: Cancel the transaction and re-query the records to get the new data.
    Please help I have been working with this for a day now and I am no closer to solving the problem. This error occurs when I try to postChanges for the second time in step 7.

    Hi Pratap,
    My requirement is to use a PL/SQL package to validate the data and provide feedback to the user. I am using a callable statement to select the data from the base tables and validate it based on the data I enter in my OAF application.
    I know that we can do validation in OAF EO, entity expert etc.. but the business requirement is to have a central re-usable validation platform so that it can be used for the application and data migration, PL/SQL API's etc... We dont want to write the validation logic in OAF and PL/SQL is the objective.
    So we have the validation in PL/SQL which just returns a message about any errors, I call this from my header EO validate() method.
    For it to work however the data has to be available to the PL/SQL before I hit commit in OAF (which fires validation), to do this I call trx.postChanges prior to commit which makes the data available. If the data is valid then there is no problem the data saves ok.
    If the data is invalid I correct the error and try the process again, when it hits postChanges for a second time after the correction it gives me the error.
    I have simplified the test case as per my post above and it seems that I cannot use postChanges more than once in the same transaction, I am wondering if the VO cache is being deleted in the same way as you have to re-query after a commit() you may have to do the same thing after a post(), only question is will I get my posted data back?
    Any thoughts/comments would be appreciated.
    Thanks for your help so far
    Keith

  • Problem with transaction CUNI and configuring decimal places

    Note: I'm actually an ABAP programmer and do not know almost anything about SAP configuration.
    Note2: Sorry if this was posted in the wrong section. I am trying to avoid an ABAP solution so I did not post this in the ABAP section.
    Note3: Sorry for cross posting. I'm trying to make this visible to as much experts as possible.
    \[Problem\]
    I'm tasked to increase the number of decimal places that a certain standard program in MM accepts.
    \[ABAP solution I'm trying to avoid\]
    The consultants' initial recommendation was to make Z copies of the standard table and the standard programs that references that table. This would be rather dangerous as there is the risk of missing certain parts of the code If I was to replace all occurences of the old standard table with my custom Z table.
    \[Standard solution I'm trying to do\]
    Now I've read several threads here that makes use of transaction CUNI to adjust decimal places of certain units of measure (see Re: Unit Of Measure problem and change decimal places in PO quantity). However, when I tried it, It does not work the way I expect it to.
    In SE11, I created a custom table that has a quantity field (length: 13, decimals: 3) and a unit field (length 3)
    In CUNI, I created a new ISO code TST (for test). Then I created a new Unit of measure ZTT (ZTesT) which makes use of my ISO code TST. I set the decimal places to 6.
    When I insert data into my custom table, instead of 6, the number of decimal places remain at 3.
    Please help in adjusting decimal places without touching the table.

    Hello Dzed,
    I've read several posts that suggest transaction CUNI to adjust decimal places in standard unit of measures. What I tried is a simplified simulation of what is needed.
    In a more realistic sense, consider table VBRP and column FKIMG. What If I want to store items in VBRP and allow 6 decimal places for FKIMG but I am not allowed to modify the table? Is making a Z copy of VBRP the only solution? Or is there a more standard way of doing this?
    My worry is that If I copy a table, I also need to copy the programs that use it and modify them accordingly. Our Basis do not want the standard tables touched.
    Kyle

Maybe you are looking for

  • Container Element in Alert Category

    Hi, Any one can tell me what is the use of container element in Alert Category. While creating a container variable there is an drop down for Object type.When we go for each of these object type. When i selected the object type as 'XML object type ' 

  • Why can't I import photos from iPhoto to Photoshop Elements 6?

    I've got Photoshop Elements 6 on my iMac desktop running OS X 10.7.4.  When I click on File>Open in PE6, my iMac Finder opens.  I then select Photos and all my iPhoto and Photo Booth files open.  But I cannot click on (well, I can click on them but n

  • Simple, non-bloated usage of iPhoto- no "modified" folder, etc, etc wanted

    Apologies if this has all been asked and answered. Searched a little and couldn't quite find the answers I'm seeking. I've resisted using iPhoto for years, it never seemed to do what I want. Just bought a new iMac with the newer version of iPhoto, so

  • Src and library folders in a flash site

    hi, a 'bible' recommended that I keep three subfolders, one for source code, one for library items and one for downloading on user's computer. Will the SRC folder really keep the user from accessing my sketches etc, apart from those that are part of

  • Function Module to message type

    Hi All, How can i convert a function module to message type? Thanks, Nidhi Kothiyal