Reg script transportation

Hi all,
     I have made the necessary changes in scripts and saved it.  Now i want to release it for quality.  How can i know the request no. to release in se09.
for first time it will ask but for second time how can we get it.
Urgent.....
Regards
Ratna

Hi Ratna,
You can look up the transport request for Script in SE03.
SE03 -> Search for objects in requests/tasks -> Put object type as FORM and give name of your SAP script -> Execute.
You'll get a list of TRs for your Script.
Hope this helps!
Regards,
Saurabh

Similar Messages

  • SAP "Z" Script Transport from DEV -- TO-- QTY Server

    Experts....
    We have created a Z SAP Script. in DEVELOPMENT CLIENT : 100
    We have successfully transported the changes from DEVELOPMENT CLIENT to UNIT TESTING CLIENT 120 in the same system thru SCC1.
    UNIT TESTING RESULTS are OK, and our DEVELOPER has given a request to import into production.
    But we imported the request, But changes are not reflecting in QUALITY.
    I found below thread but i failed to understand...the last steps...
    Can any one please help in this regard.
    SAP Script transport issue
    Rgds

    Finally.....We could able to close this....
    Weunderstood....to do inital fill in target client we do it from "000" clinet to "XXX" target clinet
    once it is available ..the rest all goes with CLASSIC TRANSPORT APPROACH.
    Not sure why the inital Transport request with changed did nor worked.
    With the help of ABAP Expert...we just reactivated the in SE71 and added into request
    imported the request into Quality & Worked..
    When the inital fill is completed for SAP Standard ,
    the rest of changes to is managed thru SAP Classic Transport Method.
    For "Z" script..even no where connected with "000" client.
    As we fixed with above assumptions...we conclude as above....
    i request any expert to correct us if our assumptions in wrong direction.
    Rgds

  • Interactive Scripting Transport

    Hi experts
    I have created the interactive scripts in Dev System. I have used transport icon in ISE to transport from Dev to QA. But, when i have imported in Quality, Branching action (which is included in script) is missing / not got  transported. I have transported the relevant ABAP class first, before transporting the actual scripts.
    Can anyone guide me what is the best practice for scripting transport. 
    1) Is there anything i have missed?
    2) How does delta-transport will work? Means, if i makes any change in Dev and transports again to QA, how it behaves?
    3) What is the approach to transport Scripts that contain Branching/Non-branching actions?
    4) Once transport is finished, can i activate the script again in Dev? Does it impact anything?
    I would appreciate your expert help in this regard.
    Thank you
    Surya

    Hi Surya,
    Very valid questions asked and I feel disappointed that despite 4 yrs, I still stand at same place where you were in 2010. I also have the exact questions as I could not find any proper document related to IS transports. There many ifs and buts and dos and  don't and with my experience in SAP CRM, I generally prefer to find the right ways and learn from the lessons others might have learnt when trying the same thing.
    Can you please advice from your experience your take on the approach and procedure for IS transports for these questions ?
    Thank you so much in advance.
    Best Regards
    Suchita

  • Client dependent SCRIPT transporting to QA systems?

    Hi,
    We hv clients like below,
    clinet_gold (100- Gold clinet)
    clinet_EU for Europe region
    clinet_US for US region.
    We hv a Z_Script_Invoice, meant (developed and using) for Europe region i.e. in clinet_EU
    We r supposed to do changes (create TR/CR) only in clinet_gold (100- Gold clinet).
    I got a requirement of fixing some issue in this script.
    So, I made changes in the script in clinet_gold (100- Gold clinet), so TR/CR is created here in this client, fine.
    Then, I logged in to clinet_EU>SE71->Menu->Utilities>COPY FROM CLIENT.......so, I entered the selection screen fields and OVER WRITTEN the existing script, so that, my changes are reflected, fine.
    So, now, the created TR/CR is released to QA, so, pls. let me know,
    1) Where and Where I can see my changes in QA boxes? in perspective of clinet_gold_QA, clinet_EU_QA?
    2) Or by default this TR/CR will get imported in ALL test (QA) systems?
    Thank you

    HI
    you should not do client_eu->se71.......
    You should go to client_eu
    execute the transaction scc1
       and provide the transport request number which u have create for changes for script in client_gold.
       and check the check box immediately
      this will bring the changes from clent client_gold to client_eu.
      se71->goto->copy from clients is used when we create new script from already existing.
    hope this works for you.
    all the best.

  • How to populate class based on value of seed class attribute instead of doing reg/script discovery again?

    I have a seed class. I populate that seed class using script discovery and it has attribute 1,2 and 3. Those 3 attributes are all populated via the script discovery too.
    Now I created a new application class which use the seed class as target. The criteria is if attribute 1 equal to a certain value. Here comes the question, how to create this discovery? In authoring console the options are registry discovery, script discovery
    and custom discovery. Since attribute 1 is already populated in seed class using script, I think I can use that instead of doing another script discovery for the new application class. 
    However I didn't find a way to do that. Any suggestions?

    I pasted the base seed MP as following.
    The base MP has two classes: "MyBaseMP.MyApps.Candidates" and "MyBaseMP.MyApps".
    "MyBaseMP.MyApps.Candidates" is created from "Windows.Computer" class. Then it is discovered by "MyBaseMP.MyApps.Candidates.RegDiscvoery". 
     "MyBaseMP.MyApps" is created from "Windows.Local.Application" class. It is then discovered by "MyBaseMP.MyApps.ScriptDiscovery". This script discovery is targeting on "MyBaseMP.MyApps.Candidates" class. The script
    also populated 5 attribute for  "MyBaseMP.MyApps" and they are APPLICATION, LOB, GROUP, ENVIRONMENT and STATE.
    This base MP works as expected.
    Now I want to create a new custom MP. The new MP has a new class "MyFinanceApps" created from  "MyBaseMP.MyApps". The service model is very simple just like following
      <TypeDefinitions>
        <EntityTypes>
          <ClassTypes>
            <ClassType ID="MyFinanceApps" Accessibility="Internal" Abstract="false" Base="MyBaseMP!MyBaseMP.MyApps" Hosted="true" Singleton="false" />
          </ClassTypes>
        </EntityTypes>
      </TypeDefinitions>
    I want to populate this class if LOB attribute echos to "Finance". How to make this discovery then? Sure I can create another script discovery but since those values already discovered in the seed class, is there any way I can use them?
    The MyBaseMP is as following:
    <ManagementPack ContentReadable="true" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <Manifest>
        <Identity>
          <ID>MyBaseMP</ID>
          <Version>1.0.0.0</Version>
        </Identity>
        <Name>MyBaseMP</Name>
        <References>
          <Reference Alias="SC">
            <ID>Microsoft.SystemCenter.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Windows">
            <ID>Microsoft.Windows.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Health">
            <ID>System.Health.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="System">
            <ID>System.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
        </References>
      </Manifest>
      <TypeDefinitions>
        <EntityTypes>
          <ClassTypes>
            <ClassType ID="MyBaseMP.MyApps" Accessibility="Internal" Abstract="false" Base="Windows!Microsoft.Windows.LocalApplication" Hosted="true" Singleton="false">
              <Property ID="APPLICATION" Type="string" Key="true" CaseSensitive="false" Length="256" MinLength="0" />
              <Property ID="GROUP" Type="string" Key="false" CaseSensitive="false" Length="256" MinLength="0" />
              <Property ID="LOB" Type="string" Key="false" CaseSensitive="false" Length="256" MinLength="0" />
              <Property ID="STATE" Type="string" Key="false" CaseSensitive="false" Length="256" MinLength="0" />
              <Property ID="APP_TYPE" Type="string" Key="false" CaseSensitive="false" Length="256" MinLength="0" />
              <Property ID="ENVIRONMENT" Type="string" Key="false" CaseSensitive="false" Length="256" MinLength="0" />
            </ClassType>
            <ClassType ID="MyBaseMP.MyApps.Candidates" Accessibility="Internal" Abstract="false" Base="Windows!Microsoft.Windows.Computer" Hosted="false" Singleton="false" />
          </ClassTypes>
        </EntityTypes>
      </TypeDefinitions>
      <Monitoring>
        <Discoveries>
          <Discovery ID="MyBaseMP.MyApps.Candidates.RegDiscovery" Enabled="true" Target="Windows!Microsoft.Windows.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
            <Category>Discovery</Category>
            <DiscoveryTypes>
              <DiscoveryClass TypeID="MyBaseMP.MyApps.Candidates" />
            </DiscoveryTypes>
            <DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
              <ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
              <RegistryAttributeDefinitions>
                <RegistryAttributeDefinition>
                  <AttributeName>FoundAppKey</AttributeName>
                  <Path>SOFTWARE\MyCompany\SystemCenter</Path>
                  <PathType>0</PathType>
                  <AttributeType>0</AttributeType>
                </RegistryAttributeDefinition>
              </RegistryAttributeDefinitions>
              <Frequency>180</Frequency>
              <ClassId>$MPElement[Name="MyBaseMP.MyApps.Candidates"]$</ClassId>
              <InstanceSettings>
                <Settings>
                  <Setting>
                    <Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
                    <Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
                  </Setting>
                </Settings>
              </InstanceSettings>
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <XPathQuery Type="String">Values/FoundAppKey</XPathQuery>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
                    <Value Type="String">true</Value>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
            </DataSource>
          </Discovery>
          <Discovery ID="MyBaseMP.MyApps.ScriptDiscovery" Enabled="true" Target="MyBaseMP.MyApps.Candidates" ConfirmDelivery="false" Remotable="true" Priority="Normal">
            <Category>Discovery</Category>
            <DiscoveryTypes>
              <DiscoveryClass TypeID="MyBaseMP.MyApps" />
            </DiscoveryTypes>
            <DataSource ID="DS" TypeID="Windows!Microsoft.Windows.TimedScript.DiscoveryProvider">
              <IntervalSeconds>300</IntervalSeconds>
              <SyncTime />
              <ScriptName>MyApps.Script.Discovery.vbs</ScriptName>
              <Arguments>$MPElement$ $Target/Id$ $Target/Property[Type="Windows!Microsoft.Windows.Computer"]/DNSName$ $MPElement$</Arguments>
              <ScriptBody><![CDATA[
    Option Explicit
    ' Definitions for Registry Walking
    Const HKEY_LOCAL_MACHINE = &H80000002
    Dim oReg
    Dim arrValues, arrSubKeys
    Dim strComputer, strKeyPath, subkey, strProperty, strArrValue
    ' Define where the App Subkeys are located, strKeyPath MUST end with a slash!
    strKeyPath = "SOFTWARE\MyCompany\SystemCenter\"
    strComputer = "."
    Dim WshShell, bKey
    ' Definitions for SCOM Discovery
    Dim oAPI
    Set oAPI = CreateObject("MOM.ScriptAPI")
    Dim oArgs
    Set oArgs = WScript.Arguments
    ' Check for the required script arguments.
    if oArgs.Count < 3 Then
        ' If the script is called without the required arguments,
        ' create an information event and then quit. 
        Call oAPI.LogScriptEvent(WScript.ScriptName,101,0, _
            "script was called with fewer than three arguments (" & oArgs.Count & " arguments) and was not executed.")
        Wscript.Quit -1
    End If
    Dim SourceID, ManagedEntityId, TargetComputer
    SourceID = oArgs(0) ' The GUID of the discovery object that launched the script.
    ManagedEntityId = oArgs(1) ' The GUID of the computer class targeted by the script.
    TargetComputer = oArgs(2) ' The FQDN of the computer targeted by the script.
    Dim oDiscoveryData, oInst
    Set oDiscoveryData = oAPI.CreateDiscoveryData(0, SourceID, ManagedEntityId)
    ' Functions for Registry Walking
    ' Create Shell Object
    Set WshShell = WScript.CreateObject("WScript.Shell")
    ' Create WMI Object, and check for existence
    On Error Resume Next
    Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ 
        strComputer & "\root\default:StdRegProv")
    Select Case Err.Number
      Case 0:
    'Error Code 0 = 'success'
    'Wscript.Echo "DEBUG:  Opened WMI"
      Case Else
    'Any other error code is a failure code
    Notify("ERROR:  Can not open WMI")
    Wscript.Quit 1
    End Select
    On Error Goto 0 'Turn error reporting back on
    ' Check to ensure first level reg key exists
    If RegistryKeyExists("HKLM\" & strKeyPath) Then
    If oReg.EnumKey(HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys) > 0 Then
    ' We have NO subkeys
    Notify("ERROR: No Subkeys defined")
    Wscript.Quit 1
    End if
    Else
    Notify("DEBUG: Key [" & strKeyPath & "] doesn't exist")
    Wscript.Quit 1
    End If
    'Check size of arrSubKeys for sub keys
    If Not IsArray(arrSubKeys) Then
    ' We have NO subkeys
    Notify("ERROR: No Subkeys defined")
    Wscript.Quit 1
    End If
    For Each subkey In arrSubKeys
    'Wscript.Echo "DEBUG: subkey = " & subkey
    strProperty = ""
    'Check to ensure Subkey Exists
    If RegistryKeyExists("HKLM\" & strKeyPath & "\" & subkey & "\") Then
    'Get Values under each key
    'Wscript.Echo "DEBUG:  Create OBJECT"
    ' Discovered the application. Create the application instance.
    Set oInst = oDiscoveryData.CreateClassInstance("$MPElement[Name='MyBaseMP.MyApps']$")
    ' Define Property
    Call oInst.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", TargetComputer)
    If RegistryValueExists("HKLM\" & strKeyPath & "\" & subkey & "\ENVIRONMENT") Then
    'Wscript.Echo "DEBUG: Value " & strArrValue & " found"
    strProperty = WshShell.RegRead("HKLM\" & strKeyPath & "\" & subkey & "\ENVIRONMENT")
    Else
    'Wscript.Echo "DEBUG: value " & strArrValue & " NOT found"
    strProperty = "NONEXISTANT"
    End If
    Call oInst.AddProperty("$MPElement[Name='MyBaseMP.MyApps']/ENVIRONMENT$", strProperty)
    If RegistryValueExists("HKLM\" & strKeyPath & "\" & subkey & "\STATE") Then
    'Wscript.Echo "DEBUG: Value " & strArrValue & " found"
    strProperty = WshShell.RegRead("HKLM\" & strKeyPath & "\" & subkey & "\STATE")
    Else
    'Wscript.Echo "DEBUG: value " & strArrValue & " NOT found"
    strProperty = "NONEXISTANT"
    End If
    Call oInst.AddProperty("$MPElement[Name='MyBaseMP.MyApps']/STATE$", strProperty)
    If RegistryValueExists("HKLM\" & strKeyPath & "\" & subkey & "\APP_TYPE") Then
    'Wscript.Echo "DEBUG: Value " & strArrValue & " found"
    strProperty = WshShell.RegRead("HKLM\" & strKeyPath & "\" & subkey & "\APP_TYPE")
    Else
    'Wscript.Echo "DEBUG: value " & strArrValue & " NOT found"
    strProperty = "NONEXISTANT"
    End If
    Call oInst.AddProperty("$MPElement[Name='MyBaseMP.MyApps']/APP_TYPE$", strProperty)
    If RegistryValueExists("HKLM\" & strKeyPath & "\" & subkey & "\LOB") Then
    'Wscript.Echo "DEBUG: Value " & strArrValue & " found"
    strProperty = WshShell.RegRead("HKLM\" & strKeyPath & "\" & subkey & "\LOB")
    Else
    'Wscript.Echo "DEBUG: value " & strArrValue & " NOT found"
    strProperty = "NONEXISTANT"
    End If
    Call oInst.AddProperty("$MPElement[Name='MyBaseMP.MyApps']/LOB$", strProperty)
    If RegistryValueExists("HKLM\" & strKeyPath & "\" & subkey & "\GROUP") Then
    'Wscript.Echo "DEBUG: Value " & strArrValue & " found"
    strProperty = WshShell.RegRead("HKLM\" & strKeyPath & "\" & subkey & "\GROUP")
    Else
    'Wscript.Echo "DEBUG: value " & strArrValue & " NOT found"
    strProperty = "NONEXISTANT"
    End If
    Call oInst.AddProperty("$MPElement[Name='MyBaseMP.MyApps']/GROUP$", strProperty)
    'Set Application Name
    'Wscript.Echo "SET APPLICATION NAME: " & subkey
    Call oInst.AddProperty("$MPElement[Name='MyBaseMP.MyApps']/APPLICATION$", subkey)
    'Wscript.Echo "SUBMIT INSTANCE"
       Call oDiscoveryData.AddInstance(oInst)
    Else
    ' Registry Sub Key does not exist
    Notify("ERROR: A found registry subkey, [" & subkey & "] doesn't actually exist")
    End If
    Next
    ' Submit the discovery data for processing.
    Call oAPI.Return(oDiscoveryData) 
    ' A helper function to remove the extension from a file name.
    Function StripExtension (sFile)
    StripExtension = Left(sFile, Len(sFile) -4)
    End Function
    '* Registry Value Exists (Function)
    '* Returns a value (true / false)
    'This function checks to see if a passed registry value exists, and
    'returns true if it does
    'Requirements: The registry value you are looking for (RegistryValue)
    Function RegistryValueExists (RegistryValue)
      'Ensure the last character is NOT a backslash (\) - if it is, we aren't looking for a value
      If (Right(RegistryValue, 1) = "\") Then
        'It's not a registry value we are looking for
    'Wscript.Echo "No slash....returning false"
        RegistryValueExists = false
      Else
        'If there isnt the value when we read it, it will return an error, so we need to resume
        On Error Resume Next
        'Try reading the value
        WshShell.RegRead RegistryValue
        'Catch the error
        Select Case Err.Number
          Case 0:
            'Error Code 0 = 'success'
            RegistryValueExists = true
          Case Else
            'Any other error code is a failure code
            RegistryValueExists = false
        End Select
        'Turn error reporting back on
        On Error Goto 0
      End If
    End Function
    '* Registry Key Exists (Function)
    '* Returns a value (true / false)
    'This function checks to see if a passed registry key exists, and
    'returns true if it does
    'Requirements: The registry key you are looking for (RegistryKey)
    'Note: RegistryKey MUST end in a backslash (\), or FALSE will be returned
    Function RegistryKeyExists (RegistryKey)
       Dim errDescription
      'Ensure the last character is a backslash (\) - if it isn't, we aren't looking for a key
      If (Right(RegistryKey, 1) <> "\") Then
        'It's not a registry key we are looking for
        RegistryKeyExists = false
      Else
        'If there isnt the key when we read it, it will return an error, so we need to resume
        On Error Resume Next
        'Try reading the key
        WshShell.RegRead RegistryKey
        'Catch the error
    ' Wscript.Echo "Err.Number = " & Err.Number
    ' Wscript.Echo "Err.Message = " & Err.Message
        Select Case Err.Number
          'Error Code 0 = 'success'
          Case 0:
            RegistryKeyExists = True
            'Wscript.Echo "DEBUG: Case 0: Key Exists"
          'This checks for the (Default) value existing (but being blank); as well as key's not existing at all (same error code)
          Case &h80070002:
            'Read the error description, removing the registry key from that description
            ErrDescription = Replace(Err.description, RegistryKey, "")
            'Clear the error
            Err.clear
            'Read in a registry entry we know doesn't exist (to create an error description for something that doesnt exist)
            WshShell.RegRead "HKEY_ERROR\"
            'The registry key exists if the error description from the HKEY_ERROR RegRead attempt doesn't match the error
            'description from our RegistryKey RegRead attempt
            If (ErrDescription <> Replace(Err.description, "HKEY_ERROR\", "")) Then
              RegistryKeyExists = true
            Else
              RegistryKeyExists = false
            End If
          'Any other error code is a failure code
          Case Else:
            RegistryKeyExists = false
        End Select
        'Turn error reporting back on
        On Error Goto 0
      End If
    End Function
    Function Notify(strNotifyMessage)
    Call oAPI.LogScriptEvent(Wscript.Name,101,0, strNotifyMessage)
    End Function]]></ScriptBody>
              <TimeoutSeconds>60</TimeoutSeconds>
            </DataSource>
          </Discovery>
        </Discoveries>
      </Monitoring>
      <LanguagePacks>
        <LanguagePack ID="ENU" IsDefault="true">
          <DisplayStrings>
            <DisplayString ElementID="MyBaseMP">
              <Name>MyBaseClass</Name>
            </DisplayString>
            <DisplayString ElementID="MyBaseMP.MyApps">
              <Name>MyBaseMP.MyApps</Name>
            </DisplayString>
            <DisplayString ElementID="MyBaseMP.MyApps" SubElementID="APPLICATION">
              <Name>APPLICATION</Name>
            </DisplayString>
            <DisplayString ElementID="MyBaseMP.MyApps.Candidates">
              <Name>MyBaseMP.MyApps.Candidates</Name>
            </DisplayString>
            <DisplayString ElementID="MyBaseMP.MyApps.Candidates.RegDiscovery">
              <Name>MyBaseMP.MyApps.Candidates.RegDiscovery</Name>
            </DisplayString>
            <DisplayString ElementID="MyBaseMP.MyApps.ScriptDiscovery">
              <Name>MyBaseMP.MyApps.ScriptDiscovery</Name>
              <Description />
            </DisplayString>
          </DisplayStrings>
        </LanguagePack>
      </LanguagePacks>
    </ManagementPack>

  • SCRIPT TRANSPORT

    How to transport Smartform to Script and Script to smartform?

    hi Reddy,
    <b>Goto Tcode, Smartforms->utilities->migrat sapscript.</b>
    Check
    SCRIPTS TO SMARTFORMS;&#56894;
    Regards,
    Santosh

  • Actions - Interactive Script Transporting Issue

    Hi
    I have transported all Interactive Scripts to Test system, but unable to transport actions related to it, Is there any way we can do it.
    I appreciate early answer.
    Thanks
    Santosh

    Hi there,
    I understand from a SAP Note (can't recall the number) that actions cannot be transported.
    However let me know if things have changed :-) What approach you took ?
    By the way, I am trying to design the script in such a way that transporting can be easy - I would like your input here.I am on CRM7.0 Ehp 2.
    Can you please advise any precautions I must take when transporting the scripts based on your experience ? Also if possible, can you list the steps or may be create a blog - I am sure it will help a lot of people.
    Awaiting your reply,
    Thanks a lot.
    Best Regards
    Suchita

  • Reg: Script Output in PDF form

    Hai..
    Can anybody tell me how we will get script output
    (P.order output) in PDF format and we need to downlaod this PDF to our local drives. plz tell me the function modules to be used for this requirement and paste the code if any of you worked on this earlier..
    Regards

    Check this link for sample program.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49e15474-0e01-0010-9cba-e62df8244556
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/downloadSAPScriptoutputtoPDF+file.&
    Function Module: CONVERT_OTF
    Regards,
    Maha

  • Reg. table transport.....have ur points.

    Hi all,
    As we know we can't directly put data in table in production server, I've a z table on development server. I used it for validation purpose. So when i'll transport it...how i will put data in production server..
    Pleas assist me.
    Have ur point.s

    Please check the code ..
    First create table maintaince.
    now create program and add table name in list.
    select one of the radio button ,it will take you sm30 and when you create record at Sm30 -> then it will ask request #.
    so you can transport the data.
    Table diclaration
    tables: tvdir.
    Selection screento table View
      selection-screen skip 2.
      parameter p_tabnm(30) as listbox visible length 30 obligatory.
      selection-screen skip 1.
      selection-screen begin of block s1 with frame title text-001.
      parameter: p_radio1 radiobutton group g1,
                 p_radio radiobutton group g1.
      selection-screen end of block s1.
    Add values to list box
    at selection-screen output.
      type-pools: vrm.
      data: name  type vrm_id,
            list  type vrm_values,
            value like line of list.
      name = 'P_TABNM'.
      refresh list.
      <b>value-key = 'Table name'.   " Add your table name</b> 
         value-text = text-002. "'Table description'.
      append value to list.
      call function 'VRM_SET_VALUES'
           exporting
                id     = name
                values = list.
    start-of-selection.
    Get flag of corresponding table view
      select single tabname flag from tvdir into tvdir
                    where tabname = p_tabnm.
    Set flag of corresponding table view
      if p_radio1 eq 'X'.
        if tvdir-flag ne 'X'.
          update tvdir set: flag  = 'X'
                     where tabname = p_tabnm.
        endif.
      endif.
      if p_radio eq 'X'.
        if tvdir-flag eq 'X'.
          update tvdir set: flag  = ''
                       where tabname = p_tabnm.
        endif.
      endif.
    Execute View/Table
      call function 'VIEW_MAINTENANCE_CALL'
        exporting
          action                               = 'U'
          view_name                            = p_tabnm
       exceptions
         client_reference                     = 1
         foreign_lock                         = 2
         invalid_action                       = 3
         no_clientindependent_auth            = 4
         no_database_function                 = 5
         no_editor_function                   = 6
         no_show_auth                         = 7
         no_tvdir_entry                       = 8
         no_upd_auth                          = 9
         only_show_allowed                    = 10
         system_failure                       = 11
         unknown_field_in_dba_sellist         = 12
         view_not_found                       = 13
         others                               = 14.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    Reset flag of corresponding table view
      update tvdir set: flag  = tvdir-flag
                    where tabname = p_tabnm.
    Thanks
    Seshu

  • Reg: XI_CMS Transports. I need this forum reply very urgent. Please help me

    Hi! Gurus,
         This is Amar Srinivas Eli.I am workig on Production Support project. Herehave one doubt regarding CMS Servers
    Actually according to my knowledge XI Content aca be transfered from DEV>QA>PROD XI servers using CMS transports right?
    But for this Actually one CMS Server is enogh right? that means here XI DEV Server is X42
                          QA                X44
                          PROD           X46
    For cms server link is [http://sapr3001.geips.ge.com:54200/webdynpro/dispatcher/sap.com/tcSLCMS~WebUI/Cms]
    but client is asking why we a re not able to access this
    http://sapr3001.geips.ge.com_:54400_/webdynpro/dispatcher/sap.com/tcSLCMS~WebUI/Cms  for transporting XI content
    I think he is thinking that like XI portals for CMS also there will be 3 individual cms links are there right?
    But is it wrong or my argument is righ? at which my arguement is only one CMS Sever is enough that means one link is enough right?
    NOTE::
    Please provide exact CMS transport link procedure other that the linnk contaning "How To Transport XI Content Using CMS
    Version 1.00 – October 2005"?
    here in this only one procedure is there I want an exact procedure of how to transfer SLD systems means business and logcal and software components from all DEV>QA>PROD?
    I need entire produre of transfering Business systems?
    Please Kindly guide me in step by step procedure regarding this with Screen shots so that it may be helpful to me.
    Regards::
    Amar Srinivas Eli.

    Hi,
    Only one CMS is required as correctly said by Raj.
    For more information please refer the below links:
    CMS transport method:
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/frameset.htm
    •     CMS for SAP Exchange Infrastructure:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b8d8f7b2-0701-0010-b09a-cda4cca2c98e
    •     How to handle Xi with CMS:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/43f5d790-0201-0010-2984-ff72d822b109
    •     Configuration of CMS in Central NWDI & SLD to transport XI objects:
    /people/praveen.mayalur/blog/2007/05/31/configuration-of-cms-in-central-nwdi-sld-to-transport-xi-objects
    •     XI Software Logistics Solution III: CMS:
    /people/sap.india5/blog/2005/11/28/xi-software-logistics-solution-iii-cms
    Thnx
    Chirag

  • Reg: Script Logic - REC Statement Variable usage

    hi friends
    Pl find enclosed the following code:
    *WHEN TIME               
    *IS TMVL(-1,2011.04)               
    *WHEN ACCOUNT               
    *IS "EXP01"               
    *REC(EXPRESSION = [TIME].[2011.04]-%VALUE%,TIME = 2011.04,ACCOUNT = EXP01A)               
    *ENDWHEN               
    *ENDWHEN               
    The above code is working fine and result is extracted but i have hardcoded , ACCOUNT=EXP01A;
    My Query is follows:
    I have used
    *WHEN ACCOUNT               
    *IS "EXP01"
    In REC i want to use concatenation of "A" To account like EXP01&"A"
    i know accunt & i want to concatenate "A" and use in REC statement like assign to variable
    var1="EXP01" & "A" and use var1 in REC
    *REC(EXPRESSION = [TIME].[2011.04]-%VALUE%,TIME = 2011.04,ACCOUNT = var1)
    i am not sure the syntax (Whether we need to put in strings)
    Also if EXP02 then var1="EXP02"&"A" and so on
    In fact i want to make this for all members in Account Dimenstion as generalised.
    Pl. verify and suggest best possibility
    Thanx & Rgds
    Srinath

    Hi Krishna
    *XDIM_MEMBERSET ACCOUNT AS %ACC% = EXP01
    *WHEN ACCOUNT
    *IS %ACC%
    REC(EXPRESSION = %VALUE%2,TIME = 2011.04,ACCOUNT = %ACC%A)
    *ENDWHEN
    Is it required to add EXP01A as below?
    XDIM_MEMBERSET ACCOUNT AS %ACC% = EXP01, EXP01A
    Also In Generalized code you have mentioned:
    Instead of Hard Coding EXP01, EXP02 can i have hierarchy of all EXP , so that if any new account added in dimension, there will be no change in script logic. Pl. can you share how to use the same.
    If above code needs to be generalised, *FOR *NEXT can be used .
    *XDIM_MEMBERSET ACCOUNT AS %ACC_LIST% = EXP01,EXP02,EXP03,EXP04
    *FOR %ACC_MBR% = %ACC_LIST%
    *WHEN ACCOUNT
    *IS %ACC_MBR%
    REC(EXPRESSION = %VALUE%2,TIME = 2011.04,ACCOUNT = %ACC_MBR%A)
    *ENDWHEN
    *NEXT
    Rgds
    Srinath

  • Reg script condense prob?

    Hi
    iam trying to modify MEDRUCK for request for quotation printing.  in the standard script i was trying to print all variables in one line . for dng that i have to condense variable . how can i condense variables ? i tried with by giving &variable(c)&. but its not working pls provide me the solution
    Thanks

    there is maybe a little misunderstanding:
    1) if variables A = 'HELLO               ' and B = 'WORLD'
    &A& &B& will print 'HELLO               WORLD'
    &A(C)& &B& will print 'HELLO WORLD'
    2) if variable A = 'HELLO               WORLD'
    &A& will print 'HELLO               WORLD'
    &A(C)& will print 'HELLO               WORLD'
    If you want to replace 2 or more successive blanks by one blank, you must use "CONDENSE A" ABAP statement so that:
    &A& will print 'HELLO WORLD'
    &A(C)& will print 'HELLO WORLD'
    Edited by: Sandra Rossi on Jan 20, 2010 5:00 PM: EDITION PROBLEM WHEN MORE THAN 1 CONSECUTIVE BLANK

  • Reg script prob

    iam trying to modify MEDRUCK for request for quotation printing. in the standard script i was trying to print all variables in one line . for dng that i have to condense variable . how can i condense variables ? i tried with by giving &variable(c)&. but its not working pls provide me the solution
    Thnks

    If you are trying to condense blank spaces within two words probably (C) is not working. An alternative is condese this field in control program and using CONDENSE NO-GAP. I think that (C) is work that CONDENSE instruction but without NO-GAP.
    Best Regards,

  • Reg :  Script spool file downloading into xl-file

    Dear friends,
    I need  to find the script spool no as well as the same script spool
    to be download into xl-file.
    Could u please give me guidelines, how to do that.
    Thanks and Regards
    V.Raja sekaran

    Thanks for your reply,
    My requirements is like  below,
    I am calling the script from report, In report i have a check box for excel download,
    If the user selected the option check box download into excel file than i need to indentify the spool number as well as download the script spool file into excel file.
    Thanks and regards
    V.Rajasekaran.

  • Reg script invoice

    Hi,
    i copied std script program to customed script, i want to assign that one in nace transaction, i have a doubt which output type i will assign that customer script form,
    i could able to fine NEU in that output type,,
    which output type will i use???????
    pls help

    Hi,
    Go to se12 and see the tnapr table. see the application for the standard script. Go to NACE transaction. select the application. Choose the output type. Thereare output types like fax, printout edi etc. Choose the one you want. go to change mode. Enter the name of the customized script there and save.
    NEU is for purchase order.
    Regards,
    kamala.

Maybe you are looking for

  • BAPI_SALESORDER_CREATEFROMDAT2 with reference to a contract item

    Hi all, i'm having troubles creating an order with reference to a contract item on item level. My order is created and also a reference to the contract item is created on item level, but no conditiions are copied from the contract item (no conditions

  • Select-options in smartforms

    Hi everybody, can anybody give me clarification that. . . .  can we use select-options in smartforms ? thanks in advance.

  • "error code -1 was returned by the core audio driver" battery multi?

    working on a track with NI's battery 3 loaded as a multi, eveyrthings fine. next day come to open the project and i get the following message: "error code -1 was returned by the core audio driver" everything is fine with the project except that in th

  • Mail crashes when opening a message with an attachment!

    Each time I try to open a message from a friend of mine with an attached file, Mail immediately crashes. I've tried to delete these emails, but can't even do that much because as soon as I select them, it again crashes. Any ideas?

  • Very Important Scenario - Filling Tables with Data

    Hi, For my current project, the custom (z) staged table will be filled every night with data, based on data and calculations on the previous day's material movements, for the company code selected on the selection screen (via a scheduled job that run