What is default value of the javax.xml.transform.Transformer sys property?

Hi all
In my other thread "javax.xml.transform." last replied to on 17/04/05, I described that having & in my xml was causing TransformerExceptions when I attempted to apply a stylesheet to the xml.
I've now deployed exactly the same xml, xsl and java on a completely different environment and have found that the error does NOT occur.
This completely baffled me at first, but then I read the following in the API documentation for TransformerFactory: -
"A TransformerFactory instance can be used to create Transformer and Templates objects.
The system property that determines which Factory implementation to create is named "javax.xml.transform.TransformerFactory". This property names a concrete subclass of the TransformerFactory abstract class. If the property is not defined, a platform default is be used.
I think that the key must lie in the system property "javax.xml.transform.TransformerFactory". The two environments must be using a different value for this - one representing a class that objects to & and one that doesn't. In neither case do I actually set this property, so my main question is what does it default to and how can I find out what each environment is using for this?
I'm really baffled here guys, any help would be massively appreciated.
Thank you
Jon

javax.xml.transform.TransformerFactory is a real class implemented by someone. It looks at the system property to figure out what actual implementation to use. It the property doesn't exist, it uses the class that came bundled with the javax.xml.transform.TransformerFactory class you are using.
Here, for instance, is the javax.xml.transform.TransformerFactory that comes with jdk1.4.2
    public static TransformerFactory newInstance()
        throws TransformerFactoryConfigurationError
        try {
            return (TransformerFactory) FactoryFinder.find(
                /* The default property name according to the JAXP spec */
                "javax.xml.transform.TransformerFactory",
                /* The fallback implementation class name */
                "org.apache.xalan.processor.TransformerFactoryImpl");
        } catch (FactoryFinder.ConfigurationError e) {
            throw new TransformerFactoryConfigurationError(e.getException(),
                                                           e.getMessage());
    }

Similar Messages

  • What are the default values for the NetStream.multicast***** properties

    I read the api document about NetStream.multicast**** properties, but found no default values were given. Will the default values be changed when FP10.1 release?? Or, the values are always changing at runtime?
    I have a web-tv application, it broadcast some live videos created by my friends, I think that the latency and lag-time can be bigger in my app, I want to know the recommended default values for the multicast*** properties.
    I think the multicastWindowDuration and liveDelay are the keys. And I am confused between NetStreammulticastWindowDuration and NetStream.bufferTime..they like the same...
    Sorry for my poor english, Thanks.

    the publisher can set the multicast properties you listed to be the defaults for all of the subscribers of the stream.  in addition, the publisher can select whether or not "push" mode is used by changing NetStream.multicastPushNeighborLimit.  setting the limit to 0 disables push, setting it to non-zero enables push in the mesh, but only changes the actual push neighbor limit for the publisher.  if push is enabled for the stream, each peer will use push mode, but will start out with the global default limit (which is currently 4).  this is for safety.  we recommend you always leave push enabled.
    each peer (including the publisher) can change the multicast stream parameters dynamically.  changes are local to that peer.
    for the publisher to set the initial parameters for the stream that all peers will inherit as the default, the parameters must be changed on a new NetStream *before* NetStream.publish() is called.  example:
       var ns:NetStream = new NetStream(netConnection, groupSpecification);
       ns.multicastWindowDuration = 10; // change default for everybody
       ns.publish("mystream");
       ns.multicastWindowDuration = 15; // change window duration just for publisher, everybody else will start with 10 for this stream
    each subscriber can override the multicast stream properties locally, but the overrides must be set on the NetStream *after* receiving a NetStream.MulticastStream.Reset NetStatusEvent.NET_STATUS event in order for the override to stick.  overrides must be reapplied each time the NetStream.MulticastStream.Reset event is received.

  • [Error] No value found in the Gateway. Default value in the repository is used.

    Hi All,
    I am new to Siebel and installed Siebel 8.1.1.11 on RHEL 5.5 (64 bit). Everything is fine Siebel server and gateway server are up and running but i am unable to open login page.
    Login Error : The server you are trying to access is either busy or experiencing difficulties. Please close the Web browser, open a new browser window, and try logging in again.[15:36:09]
    Siebel Server log file error :
    GenericLog
    GenericError
    1
    00006c5c52eb6e6f:0
    2014-01-31 13:06:04
    (sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
    GenericLog
    GenericError
    1
    00006c6352eb6e6f:0
    2014-01-31 13:06:04
    (sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
    GenericLog
    GenericError
    1
    00006c6452eb6e6f:0
    2014-01-31 13:06:04
    (sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
    GenericLog
    GenericError
    1
    00006c6552eb6e6f:0
    2014-01-31 13:06:04
    (sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
    GenericLog
    GenericError
    1
    00006c6652eb6e6f:0
    2014-01-31 13:06:04
    (sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
    GenericLog
    GenericError
    1
    00006c7152eb6e6f:0
    2014-01-31 13:06:04
    (sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
    GenericLog
    GenericError
    1
    00006c8052eb6e6f:0
    2014-01-31 13:06:04
    (sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
    GenericLog
    GenericError
    1
    00006c8152eb6e6f:0
    2014-01-31 13:06:04
    (sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
    GenericLog
    GenericError
    1
    00006c9052eb6e6f:0
    2014-01-31 13:06:04
    (sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
    GenericLog
    GenericError
    1
    00006c9152eb6e6f:0
    2014-01-31 13:06:04
    (sccitems.cpp (310) err=2555932 sys=0) SBL-SCM-00028: Key not found
    GenericLog
    GenericError
    1
    00006c9152eb6e6f:0
    2014-01-31 13:06:04
    (sccconfg.cpp (2149) err=2555932 sys=0) SBL-SCM-00028: Key not found
    I can connect to Siebel Server manager using command as : srvrmgr /g 192.168.0.163 /e Sieb81 /u SADMIN /p SADMIN
    ODBC connectivity is also ok  and i can connect as : ./odbcsql /source Sieb81_DSN /u SADMIN /p SADMIN
    While installing Siebel i had left one step i .e.. creation of siebenv.sh using CreateSiebSrvrEnvScript because i got error when executed this script as :
    Execution command : ./CreateSiebSrvrEnvScript /u01/siebel/ses/siebsrvr  192.168.0.163:2320 ENU Oracle
    Error : cp: cannot copy a directory, '/u01/siebel/ses/siebsrvr/locale/' , into itself , '/u01/siebel/ses/siebersrvr/locale/C/locale'
    Please suggest me what to do because if i want to configure again the same issue with CreateSiebSrvrEnvScript.
    Message was edited by: Prabhakar2991

    Hi Prameela,
    You can see all application objects are online and running. One more thing I have also checked ODBC is also working fine. I mean , user SADMIN can connect using ODBC.
    =====================================================================================================================================
    [oracle@siebel163 siebsrvr]$ srvrmgr /g 192.168.0.163 /e Sieb81 /u SADMIN /p SADMIN
    Siebel Enterprise Applications Siebel Server Manager, Version 8.1.1.11 [23030] LANG_INDEPENDENT
    Copyright (c) 1994-2012, Oracle. All rights reserved.
    The Programs (which include both the software and documentation) contain
    proprietary information; they are provided under a license agreement containing
    restrictions on use and disclosure and are also protected by copyright, patent,
    and other intellectual and industrial property laws. Reverse engineering,
    disassembly, or decompilation of the Programs, except to the extent required to
    obtain interoperability with other independently created software or as specified
    by law, is prohibited.
    Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of
    Oracle Corporation and/or its affiliates. Other names may be trademarks
    of their respective owners.
    If you have received this software in error, please notify Oracle Corporation
    immediately at 1.800.ORACLE1.
    Type "help" for list of commands, "help <topic>" for detailed help
    Connected to 1 server(s) out of a total of 1 server(s) in the enterprise
    srvrmgr> list components
    SV_NAME     CC_ALIAS                   CC_NAME                                              CT_ALIAS         CG_AL                       IAS        CC_RUNMODE   CP_DISP_RUN_STATE  CP_STARTMODE  CP_NUM_RUN_TASKS  CP_MAX_TASKS  CP_ACTV_MTS_PROCS  CP_MAX                       _MTS_PROCS  CP_START_TIME        CP_END_TIME  CC_INCARN_NO  CC_DESC_TEXT
    siebelsrvr  BusIntBatchMgr             Business Integration Batch Manager                   BusSvcMgr        EAI                                    Batch        Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  BusIntMgr                  Business Integration Manager                         BusSvcMgr        EAI                                    Batch        Not Online         Auto          0                 20            0                  1                                        2014-01-29 02:48:30
    siebelsrvr  SCCObjMgr_enu              Call Center Object Manager (ENU)                     AppObjMgr        CallC                       enter      Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  CustomAppObjMgr_enu        Custom Application Object Manager (ENU)              CustomAppObjMgr  EAI                                    Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  DQMgr                      Data Quality Manager                                 Dqmgr            DataQ                       ual        Batch        Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  EAIObjMgr_enu              EAI Object Manager (ENU)                             EAIObjMgr        EAI                                    Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  InfraEAIOutbound           EAI Outbound Server                                  BusSvcMgr        EAI                                    Batch        Not Online         Auto          0                 20            0                  1                                        2014-01-29 02:48:30
    siebelsrvr  EIM                        Enterprise Integration Mgr                           EIM              EAI                                    Batch        Online             Auto          0                 5                                                                         2014-01-29 02:48:30
    siebelsrvr  FSMSrvr                    File System Manager                                  FSMSrvr          Syste                       mAux       Batch        Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:25
    siebelsrvr  GenTrig                    Generate Triggers                                    GenTrig          Workf                       low        Batch        Online             Auto          0                 1                                                                         2014-01-29 02:48:30
    siebelsrvr  JMSReceiver                JMS Receiver                                         EAIJMSRcvr       EAI                                    Batch        Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  MqSeriesAMIRcvr            MQSeries AMI Receiver                                EAIRcvr          EAI                                    Background   Online             Auto          0                 20                                                                        2014-01-29 02:48:30
    siebelsrvr  MqSeriesSrvRcvr            MQSeries Server Receiver                             EAIRcvr          EAI                                    Background   Online             Auto          0                 20                                                                        2014-01-29 02:48:30
    siebelsrvr  MSMQRcvr                   MSMQ Receiver                                        EAIRcvr          EAI                                    Background   Online             Auto          0                 20                                                                        2014-01-29 02:48:30
    siebelsrvr  SMQReceiver                SMQ Receiver                                         EAIRcvr          EAI                                    Background   Online             Auto          0                 20                                                                        2014-01-29 02:48:30
    siebelsrvr  SServiceObjMgr_enu         Self Service Object Manager (ENU)                    AppObjMgr        CallC                       enter      Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  ServerMgr                  Server Manager                                       ServerMgr        Syste                       m          Interactive  Running            Auto          2                 20                                                                        2014-01-29 02:48:20
    siebelsrvr  SRBroker                   Server Request Broker                                ReqBroker        Syste                       m          Interactive  Running            Auto          25                100           1                  1                                        2014-01-29 02:48:20
    siebelsrvr  SRProc                     Server Request Processor                             SRProc           Syste                       mAux       Interactive  Running            Auto          2                 20            1                  1                                        2014-01-29 02:48:25
    siebelsrvr  SvrTblCleanup              Server Tables Cleanup                                BusSvcMgr        Syste                       mAux       Background   Running            Auto          1                 1                                                                         2014-01-29 02:48:25
    siebelsrvr  SvrTaskPersist             Server Task Persistance                              BusSvcMgr        Syste                       mAux       Background   Running            Auto          1                 1                                                                         2014-01-29 02:48:25
    siebelsrvr  AdminNotify                Siebel Administrator Notification Component          AdminNotify      Syste                       mAux       Batch        Online             Auto          0                 10            1                  1                                        2014-01-29 02:48:25
    siebelsrvr  SCBroker                   Siebel Connection Broker                             SCBroker         Syste                       m          Background   Running            Auto          1                 1                                                                         2014-01-29 02:48:20
    siebelsrvr  WorkActn                   Workflow Action Agent                                WorkActn         Workf                       low        Background   Online             Auto          0                 5                                                                         2014-01-29 02:48:30
    siebelsrvr  WorkMon                    Workflow Monitor Agent                               WorkMon          Workf                       low        Background   Online             Auto          0                 5                                                                         2014-01-29 02:48:30
    siebelsrvr  WfProcBatchMgr             Workflow Process Batch Manager                       BusSvcMgr        Workf                       low        Batch        Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  WfProcMgr                  Workflow Process Manager                             BusSvcMgr        Workf                       low        Batch        Not Online         Auto          0                 20            0                  1                                        2014-01-29 02:48:30
    siebelsrvr  WfRecvMgr                  Workflow Recovery Manager                            BusSvcMgr        Workf                       low        Batch        Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  eChannelCMEObjMgr_enu      eChannel Power Communications Object Manager (ENU)   AppObjMgr        Commu                       nications  Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  eCommunicationsObjMgr_enu  eCommunications Object Manager (ENU)                 AppObjMgr        Commu                       nications  Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  eCommWirelessObjMgr_enu    eCommunications for Wireless Object Manager (ENU)    AppObjMgr        Commu                       nications  Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  eCustomerCMEObjMgr_enu     eCustomer Power Communications Object Manager (ENU)  AppObjMgr        Commu                       nications  Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  eEnergyObjMgr_enu          eEnergy Object Manager (ENU)                         AppObjMgr        Commu                       nications  Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  eMediaObjMgr_enu           eMedia Object Manager (ENU)                          AppObjMgr        Commu                       nications  Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  eEnergyOGCObjMgr_enu       eOil Gas & Chemicals  Object Manager (ENU)           AppObjMgr        Commu                       nications  Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  eSalesCMEObjMgr_enu        eSales Power Communications Object Manager (ENU)     AppObjMgr        Commu                       nications  Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    siebelsrvr  eServiceObjMgr_enu         eService Object Manager (ENU)                        AppObjMgr        CallC                       enter      Interactive  Online             Auto          0                 20            1                  1                                        2014-01-29 02:48:30
    37 rows returned.
    srvrmgr>
    =======================================================================================================================================
    Please suggest me what to do.
    Thanks
    Prabhakar

  • Can we set a default value for the container variable in BPM?

    Can we set a default value for the container variable.?
    Suppose if i have a loop step and i have given a container variable i=5 as end condition.What value will it take during its first execution?Can we set the value for container before a recieve step?

    Hi
    Define Container Variable of Type integer and Category Simple Type .Use Condtion in Loop.
    In Container Operation Step Assign value and Use Expression to
    Increase or Decrease Valus according to your operation.
    look Pattern 4 in this blog to understand Container Operation
    /people/sharathchandra.girmaji/blog/2008/09/11/bpm-with-patterns-explained-part-1

  • How to pass current month as the default value in the prompt

    Hi,
    Could you please tell me how to pass the current month as the default value in the prompt.
    I have a report where month is a prompt. By Default it should ahve current month as the default value along with other months.
    Please let me know the syntax for the same.
    Thanks in advance!!
    Regards
    Sindhu

    Hi,
    what datasource do you have? Is it SAP BW or something else?

  • How to set a Default Value in the drop down on Account Creation ?

    Hi,
    i have to set a default value in the drop down as soon as a User in a particular business role clicks on New Account. I have written the following code in do_prepare_output method. But this code is executed in the 2nd server round trip after entering some value or pressing enter. so i am not getting as soon as user clicks on the New Account.
    How to set that default value when user clicks on New Account ? and where should i code ?
      IF lv_icwc_profile = 'ZCSALESPRO' or lv_icwc_profile = 'Z_SALESPRO' .
      try.
                  lr_entity ?= me->typed_context->header->collection_wrapper->get_current( ).
                  lv_current = lr_entity->create_related_entity(
                                                  iv_relation_name = 'BuilRolesRel' ).
                                 lv_current->set_property(
                                    iv_attr_name = 'PARTNERROLE'
                                    iv_value     =  'BUP002' ).
                   CATCH cx_sy_ref_is_initial cx_sy_move_cast_error
                   cx_crm_genil_model_error.
                   return.
            ENDTRY.
    Thanks and Regards
    Raman Khurana

    Hi,
    I have some idea abt it, it is also used in account life cycle.
    Please refer SAP note 1097651, Defaulting a life cycle stage.
    Let me know if useful.
    rgds,
    Vinay

  • Default values for the controlling area and language

    Hello
    I have a query.
    I need to set default values for the controlling area and language in the screen
    "find account assignment data 1"
    Is it possible to do so?
    Thanks.
    Jayawant Gokhale

    Hello
    To clarify,
    This is the search used ,when I go for shopping.For the Cost assignment,the fields controlling area and language should be default for a user.
    Could someone throw a light on this.
    Thanks.

  • URM How to set default value in the "New Check-in" - "Folder" field

    Hello everyone,
    I'm trying to find out how to set the default value for the "folder" field in a check-in profile created using the Configuration Manager. If I browse to the folder in the "Browse Content -> Folders" menu and check-in a file inside the folder, it will fill this field automatically. I need to replicate this behavior using the "New Check-in" drop-down menu and selecting a profile, in other words, associate a Folder with a check-in profile.
    I know it was possible to do so in previous versions using the folders_g component, but I'm unable to figure out how to accomplish it with the new FrameworkFolders component.
    Any help is greatly appreciated.
    Thank you.

    Hello,
    It is working fine try this.
    PARAMETERS :
    y_p_list TYPE char32  AS LISTBOX VISIBLE LENGTH 22
                                  MODIF ID rsg. .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR y_p_list.
      MOVE: text-200 TO y_wa_listbox-field.
      APPEND y_wa_listbox TO y_i_listbox.
      CLEAR y_wa_listbox.
      MOVE  text-203 TO y_wa_listbox-field.
      APPEND y_wa_listbox TO y_i_listbox.
      CLEAR y_wa_listbox.
      MOVE  text-210 TO y_wa_listbox-field.
      APPEND y_wa_listbox TO y_i_listbox.
      CLEAR y_wa_listbox.
      MOVE  text-211 TO y_wa_listbox-field.
      APPEND y_wa_listbox TO y_i_listbox.
      CLEAR y_wa_listbox.
      MOVE  text-204 TO y_wa_listbox-field.
      APPEND y_wa_listbox TO y_i_listbox.
      CLEAR y_wa_listbox.
      MOVE text-205 TO y_wa_listbox-field.
      APPEND y_wa_listbox TO y_i_listbox.
      CLEAR y_wa_listbox.
      MOVE text-206 TO y_wa_listbox-field.
      APPEND y_wa_listbox TO y_i_listbox.
      CLEAR y_wa_listbox.
      MOVE text-207 TO y_wa_listbox-field.
      APPEND y_wa_listbox TO y_i_listbox.
      CLEAR y_wa_listbox.
      MOVE text-208 TO y_wa_listbox-field.
      APPEND y_wa_listbox TO y_i_listbox.
      CLEAR y_wa_listbox.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'FIELD'
          dynpprog        = sy-repid
          stepl           = 1
          value           = ' '
          value_org       = 'S'
          display         = ' '
        TABLES
          value_tab       = y_i_listbox[]
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.
      REFRESH y_i_listbox.

  • How we can find out the default value of the initialization parameters

    Hi All,
    How we can find out the default value of the initilization parameters from oracle database.
    Thanks
    Shiju

    Hi,
    you can find currently used parameter values v$parameter and v$parameter2.
    if default values is different real values then you can see alert.log.
    because in alert.log you will see non default values, rests is default.
    Edited by: admin on May 8, 2010 3:41 AM

  • [svn:fx-trunk] 7553: Fix the default value of the [skinPart] "required" attribute for asdoc.

    Revision: 7553
    Author:   [email protected]
    Date:     2009-06-04 09:32:51 -0700 (Thu, 04 Jun 2009)
    Log Message:
    Fix the default value of the "required" attribute for asdoc.
    Bugs: SDK-21488
    QE Notes: None.
    Doc Notes: None.
    tests: checkintests
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21488
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelGenerator.java

    ${ui:cond( uix.current.isNewRow, 'true', ui:cond( bindings.AddProjectNutsoverleg.value == 1, 'true', 'false' ) ) } notice the '.value' it could also be '.inputValue'.
    If not there is also an option to make sure that when the checkbox is empty a value is returned anyways this work like this:
      protected void processUpdateModel( DataActionContext ctx )
        //First look for the request parameter
        Object cbInRequest = ctx.getHttpServletRequest().getParameter( "nameofthecheckbox" );
        //We only need to do anything if it was not submitted
        if( cbInRequest == null )
          // Get hold of the Form Bean containing the record
          BindingContainerActionForm updateForm = (BindingContainerActionForm) ctx.getActionForm();
          //Get the binding for our particular column
          JUCtrlAttrsBinding checkBoxBinding = (JUCtrlAttrsBinding)updateForm.get( "nameofthecheckbox" );
          //Reset that explicitly to the *unchecked* value
          checkBoxBinding.setAttribute( 0, new oracle.jbo.domain.Number( 0 ) );
        super.processUpdateModel( ctx );
      }Maybe this helps.

  • Need to set default values for the fields plant and location in ME21N

    Hi All,
    i need to set default values for the fields plant and location in ME21N tcode.
    In accout assignment if we give 'A' then we need to create asset by clicking the Asset tab,there you have the fields plant and location.
    How to resolve this?
    Thanks in Advance

    hi .
    i needed to set default strorage location and plant in personal setting  in me21n.
    i solve it with this way.
    go to program SAPLMEPERS in se38.
    create new function in output with the sample name :MODULE ZTEST_001 OUTPUT.
    in this module write:
    if MEPOITEM_PROP-WERKS is INITIAL and  MEPOITEM_PROP-LGORT is INITIAL.
    MEPOITEM_PROP-WERKS = '1000'.
    MEPOITEM_PROP-LGORT = '0032'.
    endif.
    this is the solution.
    best regards.
    maryam

  • How to set default values on the screen painter parameters?

    Hello ABAP Gurus,
    I would just want to ask how to set default values on the screen painter parameters.
    Thank you for your replies.

    Hi,
    To set default values for screen painter parameters initialize the field names with default values in the PBO module....
    say u have the field name as f_field1....
    in the PBO of that screen initialize it....
    f_field1 = '100'  "here 100 is the default value.
    <b>reward points if useful.</b>
    regards,
    Vinod Samuel.

  • Badi for setting default values in the transaction in APO.

    BADI NAME: SMOD_APOCF005 which is used for setting default values in the transaction.
    I have implemented the BADI using the below code but that BADI is not triggering. Please can you provide any solution for resolving this.
    As per my requirement I am trying to set default values for these three fields RRP_TYPE, WHATBOM, CONVH.
    DATA: LS_MATLOC LIKE LINE OF IT_MATLOC.
    LOOP AT IT_MATLOC INTO LS_MATLOC.
    LS_MATLOC-RRP_TYPE = '4'.
    LS_MATLOC-WHATBOM = '5'.
    LS_MATLOC-CONVH = '999'.
    MODIFY TABLE IT_MATLOC FROM LS_MATLOC TRANSPORTING RRP_TYPE WHATBOM CONVH.
    ENDLOOP.
    DATA: LS_MATLOCX LIKE LINE OF IT_MATLOCX.
    LOOP AT IT_MATLOCX INTO LS_MATLOCX.
    LS_MATLOCX-RRP_TYPE = 'X'.
    LS_MATLOCX-WHATBOM = 'X'.
    LS_MATLOCX-CONVH = 'X'.
    MODIFY TABLE IT_MATLOCX FROM LS_MATLOCX TRANSPORTING RRP_TYPE WHATBOM CONVH.
    ENDLOOP.

    The  BADI name: SMOD_APOCF005 .
    T.code at APO : /sapapo/mat1
    Once we enter in that T.Code with some Product and Location data.
    There under PP/DS tab.
    Under Planning Procedure there is a field PP Plng Procedure which I want to set as 4
    And under Order Creation there is Plan Explosion which needs to be set as 5
    And Under Horizons there is PP/DS Horizon which needs to be set as 999.
    BADi is implemented and active.
    And once the data is CIF from ECC to APO
    These default values are not set in the T code in APO and the BADi is not triggering.

  • How to set the default values of the field of the context.

    Hi Experts ,
    I want to set the default value of the field of the context.
    Where and how this declaration should be done.
    Thanks in Advance.

    In the context tab of the view. Select the attribute for which you want to set the default value.it will show the properties at the bottom. set the Default value property to the value which you want to set as the default value.
    Regards
    Naresh

  • How to make the LV front panel controls the current value through the program is set as the default value when the next time you open?

    How to make the LV front panel controls the current value through the programis set as the default value when the next time you open?
    1110340051 

    Try this: Re: How to make a VI remember the latest control value?
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

Maybe you are looking for