Redirected restore - automatic storage - using DB2 api not br tools

I've done 100+ redirected restores for non-automatic storage databases using TSM only using the DB2 api's  - and not the BR tools . 
Now, I'm challenged with a redirect automatic storage DB.
*SQL1277N  Restore has detected that one or more table space containers are*
inaccessible, or has set their state to 'storage must be defined'.
DB20000I  The RESTORE DATABASE command completed successfully.
The backup image gets read and the TAG's for the containers are build.  I can see that by doing a "df" on the filesystem level.  But as soon as the restores attempts to write data into the containers, I get the above error message.
Here are my steps: 
1. offline backup using db2 api on source
2. create restore script
RESTORE DB DCC use adsm open 4 sessions TAKEN AT 20080722155529 on /db2/SCC/sapdata1,/db2/SCC/sapdata2,/db2/SCC/sapdata3,/db2/SCC/sapdata4 ,/db2/SCC/sapdata5,/db2/SCC/sapdata6,/db2/SCC/saptemp1 dbpath on /db2/SCC INTO SCC NEWLOGPATH /db2/SCC/log_dir with 16 buffers REPLACE EXISTING redirect parallelism 2 without rolling forward without prompting
3. drop the target db and clean out all sapdata's and saptemp
4. create db on target:db2 create database scc automatic storage yes on /db2/SCC/sapdata1,/db2/SCC/sapdata2,/db2/SCC/sa**
+pdata3,/db2/SCC/sapdata4,/db2/SCC/sapdata5,/db2/SCC/saptemp1 dbpath on /db2/SCC+
5. update target db cfg with tsm parms so that it will be able to read the TSM tapes.  ie tsm_mgmtclass, tsm_nodename, tsm_owner, tsm_password
6.  setup my dsm.opt with
+SErvername       redirect_restore+
and the dsm.sys with a new stanza
SErvername  redirectrestore_
   SchedMode            PROMPT
   nodename             useagan1743ddb2_
   PasswordAccess       prompt
   COMMMethod         TCPip
   TCPPort            1500
   TCPServeraddress     unixtsm1p.ecolab.com 
7.  as root I run the /db2/db2<sid>/sqllib/adsm/dsmapipw password to make sure to have access to the tsm nodename.
8.  execute restore script on target
RESTORE DB DCC use adsm open 4 sessions TAKEN AT 20080722155529 on /db2/SCC/sapdata1,/db2/SCC/sa
pdata2,/db2/SCC/sapdata3,/db2/SCC/sapdata4 ,/db2/SCC/sapdata5,/db2/SCC/sapdata6,/db2/SCC/saptemp
1 dbpath on /db2/SCC INTO SCC NEWLOGPATH /db2/SCC/log_dir with 16 buffers REPLACE EXISTING redir
ect parallelism 2 without rolling forward without prompting;

Hello Anke,
Looks like your create database statement is missing the collating sequence, codeset etc.  Here is a database create statement I got from my sapinst for your reference:
create database SX1
  automatic storage yes on /db2/SX1/sapdata1, /db2/SX1/sapdata2, /db2/SX1/sapdat
a3, /db2/SX1/sapdata4
  dbpath on /db2/SX1
  using codeset UTF-8
  territory en_US
  collate using IDENTITY_16BIT
  pagesize 16 k
  dft_extent_sz 2
  catalog tablespace managed by automatic storage extentsize 2
  with 'SAP database SX1';
Regards,

Similar Messages

  • How to send automated mail using Weblogic API ,,,,,, NOT Java Mail API.

    Hi All,
    I need to send an automated mail using BEA Weblogic API, can you please let me know how to accomplish this task,
    I will be heartly thankful to you,
    waiting for your response back
    naveen

    does it uses weblogic API ,, is thre any other way to do the task apart from email controls ,,,, because we are using timers and email control uses event genrators.

  • Upload document to Temp Folder using Rest API not working

    I am using Poster in Firefox to upload an xml document to document Temporary Folder. Response I'm getting is 400 Bad Request. Is this a problem with Poster not supporting file upload to UCCX or are there parameters i'm missing for this?
    Url=http://<uccx fqdn>/adminapi/document/uploadFile
    User Auth=Administrator user
    File=xml file stored on my computer
    Content Type=multipart/form-data
    Action=POST
    Everything else is blank.
    Response
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><apiErrors><apiError><errorData>Bad Request</errorData><errorMessage>The request could not be understood by the server due to malformed syntax</errorMessage><errorType>400</errorType></apiError></apiErrors>
    Finnur

    query = "Select SI_ID,SI_NAME FROM CI_INFOOBJECTS "                             
                                   + " where SI_ID='" + SelectedReportDetails.Rows[i]["ID"].ToString() + "'";
    Change this to a Select *...     Since your only bringing back Si_ID and Si_Name..  your not bringing back other properties it needs to make a successful copy..

  • TS4009 Trying to restore my 4s using icloud and not been given the option to restore from icloud (it says it was last backed up yesterday)

    Hi, I have somehow deleted everything from my new 4s.  My last computer back up was on my old phone.  I have set up back up on icloud and it was last backed up yesterday.  When I follow instructions it says it should give me the option to restore from back up on icloud, but it doesn't.  What am I doing wrong ? (I have plugged it in and restored via computer and gone back to set up assistant, but it doesn't give me that resore option on the back up page)

    Settings/iCloud/Storage & Backup/Manage Storage, swipe sideways on the entry to reveal the delete button.

  • Process with RenderPDFForm using Java API not generating output file

    I have a short-lived process that renders a PDF/HTML form based on input parameters. It also takes a .xdp file as input. This works just fine from with
    in Workbench (9.0). I have created a Java client to invoke this process. When I invoke the process from the Java Client,
    it is not creating the output file. When I look at the invocation response, I see the output parameter (output file) name, but it is null.
    Here is my code.
    Properties connectionProps =
    new Properties(); 
    connectionProps.setProperty(
    "DSC_DEFAULT_SOAP_ENDPOINT", "http://hostname:8080");connectionProps.setProperty(
    "DSC_TRANSPORT_PROTOCOL","SOAP"); 
    connectionProps.setProperty(
    "DSC_SERVER_TYPE", "JBoss"); 
    connectionProps.setProperty(
    "DSC_CREDENTIAL_USERNAME", "username"); 
    connectionProps.setProperty(
    "DSC_CREDENTIAL_PASSWORD", "password"); 
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
    //Create a ServiceClient object
    ServiceClient myServiceClient = myFactory.getServiceClient();
    //Create a Map object to store the parameter value
    Map params =
    new HashMap();
    File file =new File("C:/test1/test.xdp");File ofile =
    new File("C:/TestProcess.pdf"); 
    //String formName = "RD410-4.xdp";
    InputStream inFile =new FileInputStream(file);OutputStream oFileStream =
    new FileOutputStream(ofile); 
    byte[] cData = "".getBytes(); 
    Document inputData =
    new Document(inFile); 
    // Document outputData = new Document(oFileStream);
    inputData.passivate();
    params.put("Form", inputData);params.put(
    "FormId", "12");params.put(
    "RevId", "12");params.put(
    "OutputType", "PDF");params.put(
    "targetSubmission", "http://localhost:8090/LCWebProject/HandleData");params.put(
    "param1",1);
    InvocationRequest invokeRequest = myFactory.createInvocationRequest(
    "MyApplication10/Processes/RenderForm", //Specify the short-lived process name
    "invoke", //Specify the operation name
    params,
    //Specify input values
    true); //Create a synchronous request
    InvocationResponse invokeresponse = myServiceClient.invoke(invokeRequest);
    Document encryptDoc = (Document) invokeresponse.getOutputParameter("outputFile"); 
    //Save the encrypted PDF document returned by the process
     //Save the password-encrypted PDF document
    File outFile =new File("C:\\test1.pdf");encryptDoc.copyToFile (outFile);
    I see the output parameter "outputFile" in the invokeresponse object. But it is null.
    Can anyone guide me in the right direction ?
    Thanks,
    Jyothi

    I am not giving the solution, providing you a hint..
    This is the query you need to satisfy,
    SELECT NVL(R.DESCRIPTION ,CP.USER_CONCURRENT_PROGRAM_NAME)
    FROM FND_CONCURRENT_REQUESTS R, FND_CONCURRENT_PROGRAMS_VL CP,XDO_DS_DEFINITIONS_B XDS
    WHERE ( ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'U'
    AND R.REQUESTED_BY = :$PROFILES$.USER_ID ) or
    ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'R'
    AND R.RESPONSIBILITY_ID = :$PROFILES$.RESP_ID ) )
    AND R.PROGRAM_APPLICATION_ID = CP.APPLICATION_ID
    AND R.CONCURRENT_PROGRAM_ID = CP.CONCURRENT_PROGRAM_ID
    AND XDS.APPLICATION_SHORT_NAME=
    ( SELECT APPLICATION_SHORT_NAME
    FROM FND_APPLICATION
    WHERE APPLICATION_ID=CP.APPLICATION_ID)
    AND XDS.DATA_SOURCE_CODE = CP.CONCURRENT_PROGRAM_NAME
    AND R.OUTPUT_FILE_TYPE='XML'
    AND R.STATUS_CODE not in ('E', 'D', 'T', 'X')
    ORDER BY R.REQUEST_ID DESC
    Go to system profiles and query for 'Concurrent:Report Access Level', responsibility you need and modify the profile name accordingly....

  • How can i add custom attributes to a new Class Object using the API ?

    Hello everyone,
    Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
    // doc is an instance of Document
    ClassObject co = doc.getClassObject();
    ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
    cod.setSuperclass(co);
    cod.setSuperclassName(co.getName());
    cod.setName("MYDocument");
    ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
    Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
    AttributeDefinition value = new AttributeDefinition(ifsSession);
    value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
    c.addAttribute(value);
    But i got the following error message :
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
    oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
    void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
    So, what am i doing wrong ?
    More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
    Any help would be appreciated. Thanks in advance.
    Guillaume
    PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
    null

    Hi Guillaume,
    you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
    is used to check for erronous cases only
    and it shouldn't be used otherwise.
    Creating your own objects could be simply done via
    ClassObject ifsClassObject;
    DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
    // get class object for my very own document
    ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
    // set the class for the document i'd like to create
    ifsDocDef.setClassObject(ifsClassObject);
    // set attributes and content for the document...
    ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
    ifsDocDef.setContent("This is the content of my document");
    // create the document...
    PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
    null

  • Sharepoint-Hosted App giving FORBIDDEN error when i use REST Api

    Hi,
    I have created a sharepoint hosted app which will create Team site on button click.
    I used REST Api  and  NAPA Tool to develop this app.
    Napa tool gives to things ClientWebpart.aspx and Default.aspx.
    When i run my Default.aspx code is working fine but ClientWebpart.aspx is giving FORBIDDEN error when i am trying to create site.
    Below is the code which i used to create site
    code:
    var hostweburl;
    var appweburl;
    $(document).ready(function () {
    hostweburl= decodeURIComponent(getQueryStringParameter("SPHostUrl"));
    appweburl = decodeURIComponent(getQueryStringParameter("SPAppWebUrl"));
    function createSPWeb() {
    $.ajax(
    url: appweburl +
    "/_api/SP.AppContextSite(@target)/web/webinfos/add?@target='" +
    hostweburl + "'",
    type: "POST",
    data: JSON.stringify(
    'parameters':
    '__metadata': { 'type': 'SP.WebInfoCreationInformation' },
    'Url': 'RestSubWeb',
    'Title': 'RestSubWeb',
    'Description': 'REST created web',
    'Language': 1033,
    'WebTemplate': 'sts#0',
    'UseUniquePermissions': false
    headers: {
    "accept": "application/json;odata=verbose",
    "content-type": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val()
    success: successHandler,
    error: errorHandler
    NOTE:This is on sharepoint online.
    Please help
    Regards,
    sudeep

    So in the app you are testing, are you using the FQDN or the NetBIOS name? Bad practice but could you test with both (hard code the absolute URL for testing purposes) then retest your app?
    If you are making a web part based on the new app model this will be an "app part" and probably have the same issues you are experiencing. If this is for something internal rather than a product you are developing to resell then the script editor /
    content editor web part approach could work for you.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • URGENT:How can we submit a web page containing form using Java API?

    Dear Friends,
    I want to submit a form to a form action page resides in a web site. Then I need to get the response of the same.
    Is there any way to do this automatically by using Java API.
    Does java.net have anything?
    Thanks in advance
    Sarath

    Have you looked at a package called httpunit.
    http://httpunit.sourceforge.net/
    This allows form submission, Javascript, cookies etc.

  • DB2 v9.1fp4 on suse linux 10sp2 - redirect restor PRD to DEV

    Hi All,
    First of all thank you, for valuable TIME.
    issue:
    My development server got crashed due to failure of dedicated SAN. in simple lost every thing. since, even DB2 backups happening to SAN.
    requirement:
    As we lost all the developments and configuration of development server, we need build a DEV from PRD.
    Steps taken:
    a. we have installed Suse 10sp2 followed by db2 v9.1 fp4 and SAP ERP6.0 sr2.
    b. taken backup of db2 & sap kernel backup by tar command followed by SAP db13 backup along with logs - for newly installed Development server.
    hostname - development
    SID - DEV
    c. I need to restore development server with sid DEV from the backup of production with sid PRD.
          To get all the data {development data, transaction data & configuration etc..}
    Problem
    Till now i haven't worked on DB2 restore, and the current requirement is to dump data from PRD in to DEV.
    i.e.. db2 redirect restore     
    current landscape status:
    Both production and development {freshly installed} are up and working fine.
    PRD with all the live data, DEV freshly installed and without data.
    Need to restore data from PRD to DEV.
    Database: DB2 v9.1 fp4
    OS: SUSE linux 10 sp2
    SAP solution: ERP 6.0 sr2
    Backup of PRD: in to SAN box {backup folder}, backup triggered by DB13 with include logs option.
    I request you to guide me in understanding and performing the restoration.
    i.e.. the steps to be performed along with the necessary precautions to be take to avoid problems.
    PRD data to  DEV.
    Thank you very much your time.
    by
    Harika

    trans.log
    4 ETW000 R3trans version 6.14 (release 700 - 23.07.10 - 09:23:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 12.05.2011 - 22:15:52
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Thu May 12 22:15:52 2011                                                  84  0.000084
    4 ETW000  [dev trc     ,00000]  db_con_init called                                                        25  0.000109
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                                                 29  0.000138
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/DEV/SYS/exe/run/dbdb6slib.so' ...            39  0.000177
    4 ETW000  [dev trc     ,00000]  DlLoadLib() success: dlopen("/usr/sap/DEV/SYS/exe/run/dbdb6slib.so"), hdl 0
    4 ETW000                                                                                491  0.000668
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/DEV/SYS/exe/run/dbdb6slib.so' loaded                    22  0.000690
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/DEV/SYS/exe/run/dbdb6slib.so
    4 ETW000                                                                                32  0.000722
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/DEV/SYS/exe/run/dbdb6slib.so' is "700.08", patchlevel (0.297)
    4 ETW000                                                                                120  0.000842
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/DEV/SYS/exe/run/dbdb6slib.so
    4 ETW000                                                                                24  0.000866
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/DEV/SYS/exe/run/dbdb6slib.so
    4 ETW000                                                                                31  0.000897
    4 ETW000  [dev trc     ,00000]  New connection 0 created                                                  21  0.000918
    4 ETW000  [dev trc     ,00000]  000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
    4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                                43  0.000961
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                                             24  0.000985
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:                17  0.001002
    4 ETW000  [dev trc     ,00000]  000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
    4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                                39  0.001041
    4 ETW000  [dev trc     ,00000]  RLIMIT_STACK: current=8388608, max=-1                                    315  0.001356
    4 ETW000  [dev trc     ,00000]  DB6 (DB2 UDB) UNICODE database interface 700.08 [opt]                     21  0.001377
    4 ETW000  [dev trc     ,00000]  DB6 shared library (dbdb6slib) patchlevels                                23  0.001400
    4 ETW000  [dev trc     ,00000]    (0.8) DB6: V8.2.2 optguidelines in OPEN SQL (note 150037)               22  0.001422
    4 ETW000  [dev trc     ,00000]    (0.8) Support of SDBUPDEXCL (note 847616)                               21  0.001443
    4 ETW000  [dev trc     ,00000]    (0.9) DB6: use export file for dbdb6slib (note 835135)                  19  0.001462
    4 ETW000  [dev trc     ,00000]    (0.9) DB6: Core in getAndBindSQLDA (note 833183)                        17  0.001479
    4 ETW000  [dev trc     ,00000]    (0.10) DB6: link dbdb6slib.dll on windows with libdb6.obj (note 761159)
    4 ETW000                                                                                42  0.001521
    4 ETW000  [dev trc     ,00000]    (0.10) DB6: DUPLICATE_KEY on MERGE -> repeat (note 851474)              18  0.001539
    4 ETW000  [dev trc     ,00000]    (0.15) DB6: wrong CAST for short string ABAP type (note 861905)         21  0.001560
    4 ETW000  [dev trc     ,00000]    (0.17) DB6: special characters in sidadm passwd (note 865839)           18  0.001578
    4 ETW000  [dev trc     ,00000]    (0.21) DB6: no SAP_INFO comments (note 873889)                          19  0.001597
    4 ETW000  [dev trc     ,00000]    (0.22) DB6: hints: get correlation names from view texts (note 868888)
    4 ETW000                                                                                32  0.001629
    4 ETW000  [dev trc     ,00000]    (0.23) DB6: hints: get correlation names from view texts (note 868888)
    4 ETW000                                                                                24  0.001653
    4 ETW000  [dev trc     ,00000]    (0.26) DB6: DB6_DBSL_CLP_COMMAND STRING_BAD_REF (note 883402)           17  0.001670
    4 ETW000  [dev trc     ,00000]    (0.27) DB6: activate value compression (note 886231)                    20  0.001690
    4 ETW000  [dev trc     ,00000]    (0.28) DB6: optimization guidelines on views part 2 (note 868888)       18  0.001708
    4 ETW000  [dev trc     ,00000]    (0.30) DB6: no SQL trace for SQLCancel (note 892111)                    17  0.001725
    4 ETW000  [dev trc     ,00000]    (0.33) DB6: append SAP_TA comment (note 873889)                         19  0.001744
    4 ETW000  [dev trc     ,00000]    (0.34) DB6: activate value compression with quoted names (note 886231)
    4 ETW000                                                                                28  0.001772
    4 ETW000  [dev trc     ,00000]    (0.36) DB6: Repeat isolated DDL statements after SQL0911 (note 901338)
    4 ETW000                                                                                30  0.001802
    4 ETW000  [dev trc     ,00000]    (0.41) DB6: add V9 to list of supported DB2 releases (note 912386)
    4 ETW000                                                                                28  0.001830
    4 ETW000  [dev trc     ,00000]    (0.50) DB6: reread passwords for secondary connections (note 931742)
    4 ETW000                                                                                27  0.001857
    4 ETW000  [dev trc     ,00000]    (0.52) DB6: double quote table names in optguidelines (note 868888)
    4 ETW000                                                                                24  0.001881
    4 ETW000  [dev trc     ,00000]    (0.54) DB6: error handling in DBSL CLP (note 940260)                    19  0.001900
    4 ETW000  [dev trc     ,00000]    (0.69) DB6: technical support of DB2 CLI driver (note 962892)           22  0.001922
    4 ETW000  [dev trc     ,00000]    (0.73) DB6: log table name on TRUNCATE failure (note 970743)            21  0.001943
    4 ETW000  [dev trc     ,00000]    (0.79) DB6: column type XML in index size calculation (note 982993)
    4 ETW000                                                                                32  0.001975
    4 ETW000  [dev trc     ,00000]    (0.82) DB6: CAST for SSTRING data types (note 989568)                   19  0.001994
    4 ETW000  [dev trc     ,00000]    (0.86) DB6: long runtimes for R3szchk (note 1000847)                    18  0.002012
    4 ETW000  [dev trc     ,00000]    (0.88) DB6: patch collection Dec 06 (note 1005574)                      19  0.002031
    4 ETW000  [dev trc     ,00000]    (0.96) DB6: patch collection Jan 07 (note 1017852)                      19  0.002050
    4 ETW000  [dev trc     ,00000]    (0.97) DB6: CLP commands with DB2 CLI Driver (note 1024102)             18  0.002068
    4 ETW000  [dev trc     ,00000]    (0.99) DB6: SUBSTITUTE VALUES with FAE statements (note 1028779)        19  0.002087
    4 ETW000  [dev trc     ,00000]    (0.107) DB6: patch collection Apr 07 (note 1047194)                     20  0.002107
    4 ETW000  [dev trc     ,00000]    (0.110) DB6: SAP user names ending with non-ASCII char (note 1054555)
    4 ETW000                                                                                49  0.002156
    4 ETW000  [dev trc     ,00000]    (0.113) DB6: work process type in application snapshot (note 1059905)
    4 ETW000                                                                                25  0.002181
    4 ETW000  [dev trc     ,00000]    (0.114) DB6: connect using SAPDBHOST and DB2DB6_SVCENAME (note 1062049)
    4 ETW000                                                                                24  0.002205
    4 ETW000  [dev trc     ,00000]    (0.117) DB6: patch for execution of long DDL statements (note 1069658)
    4 ETW000                                                                                27  0.002232
    4 ETW000  [dev trc     ,00000]    (0.122) DB6: SNAPSHOT_TBS_CFG table function is deprecated (note 1077963)
    4 ETW000                                                                                27  0.002259
    4 ETW000  [dev trc     ,00000]    (0.123) DB6: CLP commands on Windows with V9.1 (note 1080149)           16  0.002275
    4 ETW000  [dev trc     ,00000]    (0.124) DB6: Set DB2CODEPAGE=819 for non-Unicode (note 1084400)         18  0.002293
    4 ETW000  [dev trc     ,00000]    (0.126) DB6: reuse optguidelines on FAE statements (note 1087375)       19  0.002312
    4 ETW000  [dev trc     ,00000]    (0.126) DB6: Enforce DB2CODEPAGE=819 for non-Unicode environments (note 1084400)
    4 ETW000                                                                                30  0.002342
    4 ETW000  [dev trc     ,00000]    (0.128) DB6: db6_free on invalid memory area (note 1092030)             17  0.002359
    4 ETW000  [dev trc     ,00000]    (0.133) DB6: statement cache enhancements (note 1101031)                20  0.002379
    4 ETW000  [dev trc     ,00000]    (0.136) DB6: change for enhancement pack installer (note 1111536)       22  0.002401
    4 ETW000  [dev trc     ,00000]    (0.138) DB6: improoved table size estimate for DB8 V8 (note 1119934)
    4 ETW000                                                                                28  0.002429
    4 ETW000  [dev trc     ,00000]    (0.144) I5/OS ldappasswd support for 5250 terminal. (note 1129573)
    4 ETW000                                                                                27  0.002456
    4 ETW000  [dev trc     ,00000]    (0.144) MSSQL: ODBC fastload on separate connection (note 1131805)
    4 ETW000                                                                                24  0.002480
    4 ETW000  [dev trc     ,00000]    (0.148) DB6: allocate new CLI env handle if PID changes (note 1141570)
    4 ETW000                                                                                26  0.002506
    4 ETW000  [dev trc     ,00000]    (0.150) DB6: USE AND KEEP EXCLUSIVE LOCKS clause lost (note 1145580)
    4 ETW000                                                                                31  0.002537

  • What is the best way to get storage data for hard disk using REST api

    Hello All,
    Given that I have disk info for virtual machine/role from service management REST api (for example using
    GetRole) how I could retrieve container/blob related info for it?
    So I have credentials for service management REST API, I have OSVirtualHardDisk info, but I am not sure how to detect correctly to which storage account connect and than which container to use. Yes, I know that there is OSVirtualHardDisk .MediaLink property
    which contains storage account name and container inside of it but I am not sure it is good practice to assume about it format. Alternatively I have another solution - just retrieve all storage accounts from  Service management REST, then compare url
    of each account with disk's  MediaLink. And use appropriate storage account for further data retrieve.   But seem to me it could retrieve too many info. 
    So generally I am trying to find correct way to join  service management REST api and Storage Services REST API for disks

    Hi,
    From my experience, your first approach is correct. The media link exactly points to the location of the blob. With the link, you can access the blob if you have the storage account key. If you want to extract more information, such as what
    the container is and what the blob is, you can parse the link. 
      >> From my point of view it is bad way to retrieve storage account name and container.
    In addition, you are welcome to post feature requests on
    http://feedback.windowsazure.com/forums/34192--general-feedback
    Best Regards,
    Ming Xu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I am not able to Sync. My iPOD classic 80Gb. It tells that as iTunes can not read the contents-restore to factory settings- after restoring – it tells that it can not be restore bcause there are files that are used by other application. I am having Widows

    I am not able to Sync. My iPOD classic 80Gb. It tells that as iTunes can not read the contents-restore to factory settings- after restoring – it tells that it can not be restored bcause there are files that are used by other application. My iPOD appears in My Computer in drive H as a mass storage generick volume

    Try disabilng the Enable Disk Use option from under the iPod's Summary tab, applying the changes, and seeing if that helps.
    Otherwise, temporarily disabling any antivirus, security, firewall, or file indexing software that may be running on your system and then try restoring your iPod again.
    B-rock

  • About DB2 Automatic Storage Management

    Does it mean that DB2 will create/resize containers of table spaces automatically if we use Automatic Storage Management to manage?
    If yes, when DB2 will create new container within a table space?
    If yes, when DB2 will resize containers within a table space?
    Please advise. thanks so much.
    James

    Thanks for you reply, I still have some questions.
    Q1: When the size of table space need to be increased, by default, which one will occur, (1)DB2 will increase the size of existing container, or (2)add new container?
    Q2: When DB2 add new container, whether the new container is added as new stripe set, or added as existing stripe set. I think it should be new stripe set since it can avoid rebalance.
    Q3: What's the threshold to trigger size increasing? Can we configure it?
    Thanks so much
    James

  • Storage location Data is not saving in table MARD using BAPI method.

    Hi Experts,
    TABLES: T001L, "Storage Locations
            MARA,  "General Material Data
            MAKT,  "Material Descriptions
            MBEW,  "Material Valuation
            MARC,  "Plant Data for Material
            MARD.  "Storage Location Data for Mate
    DATA: BAPI_HEAD   LIKE BAPIMATHEAD,  "MATERIAL
          BAPI_MAKT   LIKE BAPI_MAKT,    "Material Description
          BAPI_MARA1  LIKE BAPI_MARA,    "Client Data
          BAPI_MARAX  LIKE BAPI_MARAX,
          BAPI_MARC1  LIKE BAPI_MARC,    "Plant View
          BAPI_MARCX  LIKE BAPI_MARCX,
          BAPI_MBEW1  LIKE BAPI_MBEW,    "Accounting View
          BAPI_MBEWX  LIKE BAPI_MBEWX,
          BAPI_MARD1  LIKE BAPI_MARD,    "Storage location
          BAPI_MARDX  LIKE BAPI_MARDX,
          BAPI_RETURN LIKE BAPIRET2.
    DATA: BEGIN OF INT_MAKT OCCURS 100.
            INCLUDE STRUCTURE BAPI_MAKT.
    DATA: END OF INT_MAKT.
    DATA: BEGIN OF INT_MAT OCCURS 100,
             WERKS(4),     "Plant
             LGORT(4),     "Storage location
             MTART(4),     "Material type
             MATNR(18),    "Material number
             MAKTX(40),     "Material description
             MATKL(9) ,    "Material group
             MBRSH(1),     "Industry sector
             MEINS(3),     "Base unit of measure
             GEWEI(3),     "Weight Unit
             SPART(2),     "Division
             EKGRP(3),     "Purchasing group
             VPRSV(1),     "Price control indicator
             STPRS(12),    "Standard price
             PEINH(3),     "Price unit
             SPRAS(2),     "Language key
             BKLAS(4),     "VALUATION CLASS
             VERPR TYPE VERPR_BAPI,    "MOVING PRICE
             BWTTY(1),     "Valuation Catogory
             MLAST(1),     "Price determination
             MLMAA(1),     "Material Ledger
             EKLAS(4),     "Valuation Class for sales order stock
             QKLAS(4),     "Valuation Class for Project Stock
             ZKPRS TYPE DZKPRS, "Future price
             ZKDAT TYPE DZKDAT, "Valid From Date
             BWPRS TYPE BWPRS,  "Tax price 1
             BWPS1 TYPE BWPS1,  "Tax price 2
             VJBWS TYPE VJBWS,  "Tax price 3
             ABWKZ TYPE ABWKZ,  "Devaluatin indicator
             BWPRH TYPE BWPRH,  "Commercial price 1
             BWPH1 TYPE BWPH1,  "Commercial price 2
             VJBWH TYPE VJBWH,  "Commercial Price 3
             XLIFO(1),          "LIFO/FIFO revelant
             MYPOL(4),          "Pool no for LIFO
             MMSTA(2),          "Plant specific material status
             AUSME TYPE AUSME,  "Unit of issue
             QMATA(6),          "Material Authorization group
             RBNRM(9),          "Catalog Profile
             WEBAZ TYPE WEBAZ,  "Goods reciept processing time in days
             PRFRQ TYPE PRFRQ,  "Recurring Insepction
             SSQSS(8),          "QM Control key
             QZGTP(4),          "Certificate Type
             QSSYS(4),          "Required QM system for vendor
           END OF INT_MAT.
    DATA: V_MATNR TYPE MARA-MATNR.
    SELECT-OPTIONS:
                PLANT    FOR  MARC-WERKS OBLIGATORY MEMORY ID PLT,
                S_LGORT  FOR  MARD-LGORT MEMORY ID STL,
                MATERIAL FOR  MARA-MATNR MEMORY ID MAT,
                MATLTYPE FOR  MARA-MTART MEMORY ID MTY,
                DIVISION FOR  MARA-SPART MEMORY ID DIV.
    PARAMETERS:  F_FILE LIKE RLGRAP-FILENAME
                 DEFAULT 'C:\DATA\ZMATERIAL.XLS' MEMORY ID F_FILE,
    GETDATA AS CHECKBOX, "Tick to download materials data to local harddisk
             UPDDATA AS CHECKBOX. "Tick to update date to Materials Master
    IF GETDATA = 'X'.
       PERFORM DOWNLOAD_DATA.
       PERFORM DOWNLOAD_FILE.
    ENDIF.
    IF UPDDATA = 'X'.
       PERFORM UPLOAD_FILE.
       PERFORM UPDATE_MM.
    ENDIF.
    FORM DOWNLOAD_DATA.
    SELECT * FROM MARC  WHERE LVORM EQ ' '
                          AND WERKS IN PLANT
                          AND MATNR IN MATERIAL.
        CLEAR MARA.
        SELECT SINGLE * FROM MARA WHERE MATNR =  MARC-MATNR.
        CHECK MATLTYPE.
        CHECK DIVISION.
        CLEAR MBEW.
        SELECT SINGLE * FROM MBEW WHERE MATNR =  MARC-MATNR
                                    AND BWKEY =  MARC-WERKS.
        CLEAR MAKT.
        SELECT SINGLE * FROM MAKT WHERE SPRAS =  'EN'
                                    AND MATNR =  MARC-MATNR.
        CLEAR MARD.
        SELECT SINGLE * FROM MARD WHERE WERKS IN PLANT
                                  AND   LGORT IN S_LGORT.
        WRITE:/ MARC-WERKS,    "Plant
                MARD-LGORT,    "Storage location
                MARA-MTART,    "Material type
                MARA-MATNR,    "Material number
                MARA-MATKL,    "Material group
                MARA-MBRSH,    "Industry sector
                MARA-MEINS,    "Base unit of measure
                MARA-GEWEI,    "Weight Unit
                MARA-SPART,    "Division
                MARC-EKGRP,    "Purchasing group
                MBEW-VPRSV,    "Price control indicator
                MBEW-STPRS,    "Standard price
                MBEW-PEINH,    "Price unit
                MBEW-BKLAS,    "VALUE CLASS
                MAKT-SPRAS,    "Language key
                MBEW-BKLAS,    "Valuation Class
                MBEW-VERPR,    "Moving price
                MAKT-MAKTX,    "Material description
                MBEW-BWTTY,    "Valutaion Catogorey
                MBEW-MLAST,    "Price Determination
                MBEW-MLMAA,    "Material Ledger
                MBEW-EKLAS,    "Valuation class for Sales order stock
                MBEW-QKLAS,    "Valutaion Class for Project Stock
                MBEW-ZKPRS,    "Future Price
                MBEW-ZKDAT,    "Valid From Date
                MBEW-BWPRS,    "Tax price 1
                MBEW-BWPS1,    "Tax price 2
                MBEW-VJBWS,    "Tax price 3
                MBEW-ABWKZ,    "Devaluatin indicator
                MBEW-BWPRH,    "Commercial price 1
                MBEW-BWPH1,    "Commercial price 2
                MBEW-VJBWH,    "Commercial Price 3
                MBEW-XLIFO,    "LIFO/FIFO revelant
                MBEW-MYPOL,    "Pool no for LIFO
                MARC-MMSTA,    "Plant specific material status
                MARC-AUSME,    "Unit of issue
                MARC-QMATA,    "Material Authorization group
                MARA-RBNRM,    "Catalog Profile
                MARC-WEBAZ,    "Goods reciept processing time in days
                MARC-PRFRQ,    "Recurring Insepction
                MARC-SSQSS,    "QM Control key
                MARC-QZGTP,    "Certificate Type
                MARC-QSSYS.    "Required QM system for vendor
                INT_MAT-WERKS = MARC-WERKS.    "Plant
                INT_MAT-LGORT = MARD-LGORT.    "Storage Location
                INT_MAT-MTART = MARA-MTART.    "Material type
                INT_MAT-MATNR = MARA-MATNR.    "Material number
                INT_MAT-MAKTX = MAKT-MAKTX.    "Material description
                INT_MAT-MATKL = MARA-MATKL.    "Material group
                INT_MAT-MBRSH = MARA-MBRSH.    "Industry sector
                INT_MAT-MEINS = MARA-MEINS.    "Base unit of measure
                INT_MAT-GEWEI = MARA-GEWEI.    "Weight Unit
                INT_MAT-SPART = MARA-SPART.    "Division
                INT_MAT-EKGRP = MARC-EKGRP.    "Purchasing group
                INT_MAT-VPRSV = MBEW-VPRSV.    "Price control indicator
                INT_MAT-STPRS = MBEW-STPRS.    "Standard price
                INT_MAT-PEINH = MBEW-PEINH.    "Price unit
                INT_MAT-SPRAS = MAKT-SPRAS.    "Language key
                INT_MAT-BKLAS = MBEW-BKLAS.    "VALVATION CLASS
                INT_MAT-VERPR = MBEW-VERPR.    "MOVING price
                INT_MAT-BWTTY = MBEW-BWTTY.    "Valutaion Catogorey
                INT_MAT-MLAST = MBEW-MLAST.    "Price Determination
                INT_MAT-MLMAA = MBEW-MLMAA.    "Material Ledger
                INT_MAT-EKLAS = MBEW-EKLAS.    "Valuation class forS.O Stock
                INT_MAT-QKLAS = MBEW-QKLAS.    "Valutaion Class for Project
                INT_MAT-ZKPRS = MBEW-ZKPRS.    "Future Price
                INT_MAT-ZKDAT = MBEW-ZKDAT.    "Valid From Date
                INT_MAT-BWPRS = MBEW-BWPRS.    "Tax price 1
                INT_MAT-BWPS1 = MBEW-BWPS1.    "Tax price 2
                INT_MAT-VJBWS = MBEW-VJBWS.    "Tax price 3
                INT_MAT-ABWKZ = MBEW-ABWKZ.    "Devaluatin indicator
                INT_MAT-BWPRH = MBEW-BWPRH.    "Commercial price 1
                INT_MAT-BWPH1 = MBEW-BWPH1.    "Commercial price 2
                INT_MAT-VJBWH = MBEW-VJBWH.    "Commercial Price 3
                INT_MAT-XLIFO = MBEW-XLIFO.    "LIFO/FIFO revelant
                INT_MAT-MYPOL = MBEW-MYPOL.    "Pool no for LIFO
                INT_MAT-MMSTA = MARC-MMSTA.    "Plant specific material
                INT_MAT-AUSME = MARC-AUSME.    "Unit of issue
                INT_MAT-QMATA = MARC-QMATA.    "Material Authorization group
                INT_MAT-RBNRM = MARA-RBNRM.    "Catalog Profile
                INT_MAT-WEBAZ = MARC-WEBAZ.    "Goods reciept processing
                INT_MAT-PRFRQ = MARC-PRFRQ.    "Recurring Insepction
                INT_MAT-SSQSS = MARC-SSQSS.    "QM Control key
                INT_MAT-QZGTP = MARC-QZGTP.    "Certificate Type
                INT_MAT-QSSYS = MARC-QSSYS.    "Required QM system for
                APPEND INT_MAT.
                CLEAR  INT_MAT.
    ENDSELECT.
    ENDFORM.
    FORM DOWNLOAD_FILE.
    call function 'WS_DOWNLOAD'
      EXPORTING
        FILENAME                      = F_FILE
        FILETYPE                      = 'DAT'
      FILETYPE                      = 'WK1'
      tables
        data_tab                      = INT_MAT
      EXCEPTIONS
        FILE_OPEN_ERROR               = 1
        FILE_WRITE_ERROR              = 2
        INVALID_FILESIZE              = 3
        INVALID_TYPE                  = 4
        NO_BATCH                      = 5
        UNKNOWN_ERROR                 = 6
        INVALID_TABLE_WIDTH           = 7
        GUI_REFUSE_FILETRANSFER       = 8
        CUSTOMER_ERROR                = 9
        OTHERS                        = 10.
    IF SY-SUBRC = 0.
       FORMAT COLOR COL_GROUP.
       WRITE:/ 'Data Download Successfully to your local harddisk'.
       SKIP.
    ENDIF.
    ENDFORM.
    FORM UPLOAD_FILE.
    call function 'WS_UPLOAD'
      EXPORTING
        FILENAME                      = F_FILE
        FILETYPE                      = 'DAT'
      FILETYPE                      = 'WK1'
      tables
        data_tab                      = INT_MAT
      EXCEPTIONS
        FILE_OPEN_ERROR               = 1
        FILE_WRITE_ERROR              = 2
        INVALID_FILESIZE              = 3
        INVALID_TYPE                  = 4
        NO_BATCH                      = 5
        UNKNOWN_ERROR                 = 6
        INVALID_TABLE_WIDTH           = 7
        GUI_REFUSE_FILETRANSFER       = 8
        CUSTOMER_ERROR                = 9
        OTHERS                        = 10.
    IF SY-SUBRC = 0.
       FORMAT COLOR COL_GROUP.
       WRITE:/ 'Data Upload Successfully from your local harddisk'.
       SKIP.
    ENDIF.
    ENDFORM.
    FORM UPDATE_MM.
    LOOP AT INT_MAT.
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
      EXPORTING
        INPUT              = INT_MAT-MATNR
    IMPORTING
       OUTPUT             = INT_MAT-MATNR
    EXCEPTIONS
      LENGTH_ERROR       = 1
      OTHERS             = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Header
        BAPI_HEAD-MATERIAL        = INT_MAT-MATNR.
        BAPI_HEAD-IND_SECTOR      = INT_MAT-MBRSH.
        BAPI_HEAD-MATL_TYPE       = INT_MAT-MTART.
        BAPI_HEAD-BASIC_VIEW      = 'X'.
        BAPI_HEAD-PURCHASE_VIEW   = 'X'.
        BAPI_HEAD-ACCOUNT_VIEW    = 'X'.
    Material Description
        REFRESH INT_MAKT.
        INT_MAKT-LANGU           = INT_MAT-SPRAS.
        INT_MAKT-MATL_DESC       = INT_MAT-MAKTX.
        APPEND INT_MAKT.
    Client Data - Basic
        BAPI_MARA1-MATL_GROUP     = INT_MAT-MATKL.
        BAPI_MARA1-BASE_UOM       = INT_MAT-MEINS.
        BAPI_MARA1-UNIT_OF_WT     = INT_MAT-GEWEI.
        BAPI_MARA1-DIVISION       = INT_MAT-SPART.
        BAPI_MARAX-MATL_GROUP = 'X'.
        BAPI_MARAX-BASE_UOM   = 'X'.
        BAPI_MARAX-UNIT_OF_WT = 'X'.
        BAPI_MARAX-DIVISION   = 'X'.
    Plant - Purchasing
        BAPI_MARC1-PLANT      = INT_MAT-WERKS.
        BAPI_MARC1-PUR_GROUP  = INT_MAT-EKGRP.
        BAPI_MARC1-PUR_STATUS = INT_MAT-MMSTA.
        BAPI_MARC1-ISSUE_UNIT = INT_MAT-AUSME.
        BAPI_MARC1-QM_AUTHGRP = INT_MAT-QMATA.
        BAPI_MARC1-GR_PR_TIME = INT_MAT-WEBAZ.
        BAPI_MARC1-INSP_INT   = INT_MAT-PRFRQ.
        BAPI_MARC1-CTRL_KEY   = INT_MAT-SSQSS.
        BAPI_MARC1-CERT_TYPE  = INT_MAT-QZGTP.
        BAPI_MARC1-QM_RGMTS   = INT_MAT-QSSYS.
        BAPI_MARCX-PLANT      = INT_MAT-WERKS.
        BAPI_MARCX-PUR_GROUP  = 'X'.
        BAPI_MARCX-PUR_STATUS = 'X'.
        BAPI_MARCX-ISSUE_UNIT = 'X'.
        BAPI_MARCX-QM_AUTHGRP = 'X'.
        BAPI_MARCX-GR_PR_TIME = 'X'.
        BAPI_MARCX-INSP_INT   = 'X'.
        BAPI_MARCX-CTRL_KEY   = 'X'.
        BAPI_MARCX-CERT_TYPE  = 'X'.
        BAPI_MARCX-QM_RGMTS   = 'X'.
    Accounting 1
        BAPI_MBEW1-VAL_AREA      = INT_MAT-WERKS.
        BAPI_MBEW1-PRICE_CTRL    = INT_MAT-VPRSV.
        BAPI_MBEW1-STD_PRICE     = INT_MAT-STPRS.
        BAPI_MBEW1-PRICE_UNIT    = INT_MAT-PEINH.
        BAPI_MBEW1-MOVING_PR     = INT_MAT-VERPR.
        BAPI_MBEW1-VAL_CLASS     = INT_MAT-BKLAS.
        BAPI_MBEW1-VAL_CAT       = INT_MAT-BWTTY.
        BAPI_MBEW1-ML_SETTLE     = INT_MAT-MLAST.
        BAPI_MBEW1-ML_ACTIVE     = INT_MAT-MLMAA.
        BAPI_MBEW1-VM_SO_STK     = INT_MAT-EKLAS.
        BAPI_MBEW1-VM_P_STOCK    = INT_MAT-QKLAS.
        BAPI_MBEW1-FUTURE_PR     = INT_MAT-ZKPRS.
        BAPI_MBEW1-VALID_FROM    = INT_MAT-ZKDAT.
    *ACCOUNTING 2
       BAPI_MBEW1-TAXPRICE_1    = INT_MAT-BWPRS.
       BAPI_MBEW1-TAXPRICE_2    = INT_MAT-BWPS1.
       BAPI_MBEW1-TAXPRICE_3    = INT_MAT-VJBWS.
       BAPI_MBEW1-DEVAL_IND     = INT_MAT-ABWKZ.
       BAPI_MBEW1-COMMPRICE1    = INT_MAT-BWPRH.
       BAPI_MBEW1-COMMPRICE2    = INT_MAT-BWPH1.
       BAPI_MBEW1-COMMPRICE3    = INT_MAT-VJBWH.
       BAPI_MBEW1-LIFO_FIFO     = INT_MAT-XLIFO.
       BAPI_MBEW1-POOLNUMBER    = INT_MAT-MYPOL.
        BAPI_MBEWX-VAL_AREA   = INT_MAT-WERKS.
        BAPI_MBEWX-PRICE_CTRL = 'X'.
        BAPI_MBEWX-STD_PRICE  = 'X'.
        BAPI_MBEWX-PRICE_UNIT = 'X'.
        BAPI_MBEWX-MOVING_PR =  'X'.
        BAPI_MBEWX-VAL_CLASS =  'X'.
        BAPI_MBEWX-VAL_CAT       = 'x'.
        BAPI_MBEWX-ML_SETTLE     = 'X'.
        BAPI_MBEWX-ML_ACTIVE     = 'X'.
        BAPI_MBEWX-VM_SO_STK     = 'X'.
        BAPI_MBEWX-VM_P_STOCK    = 'X'.
        BAPI_MBEWX-FUTURE_PR     = 'X'.
        BAPI_MBEWX-VALID_FROM    = 'X'.
       BAPI_MBEWX-TAXPRICE_1    = 'X'.
       BAPI_MBEWX-TAXPRICE_2    = 'X'.
       BAPI_MBEWX-TAXPRICE_3    = 'X'.
       BAPI_MBEWX-DEVAL_IND     = 'X'.
       BAPI_MBEWX-COMMPRICE1    = 'X'.
       BAPI_MBEWX-COMMPRICE2    = 'X'.
       BAPI_MBEWX-COMMPRICE3    = 'X'.
       BAPI_MBEWX-LIFO_FIFO     = 'X'.
       BAPI_MBEWX-POOLNUMBER    = 'X'.
    *Storage Locations
        BAPI_MARD1-PLANT      = INT_MAT-WERKS.
        BAPI_MARD1-STGE_LOC   = INT_MAT-LGORT.
        BAPI_MARDX-PLANT      = INT_MAT-WERKS.
        BAPI_MARDX-STGE_LOC   = INT_MAT-LGORT.
       WRITE:/ BAPI_HEAD-MATERIAL, BAPI_MARC1-PLANT ,BAPI_MARD1-STGE_LOC.
        call function 'BAPI_MATERIAL_SAVEDATA'
          exporting
            HEADDATA                   = BAPI_HEAD
            CLIENTDATA                 = BAPI_MARA1
            CLIENTDATAX                = BAPI_MARAX
            PLANTDATA                  = BAPI_MARC1
            PLANTDATAX                 = BAPI_MARCX
          FORECASTPARAMETERS         =
          FORECASTPARAMETERSX        =
          PLANNINGDATA               =
          PLANNINGDATAX              =
    <b>      STORAGELOCATIONDATA        =  BAPI_MARD1
           STORAGELOCATIONDATAX       =  BAPI_MARDX</b>
            VALUATIONDATA              = BAPI_MBEW1
            VALUATIONDATAX             = BAPI_MBEWX
          WAREHOUSENUMBERDATA        =
          WAREHOUSENUMBERDATAX       =
          SALESDATA                  = BAPI_MVKE1
          SALESDATAX                 = BAPI_MVKEX
          STORAGETYPEDATA            =
          STORAGETYPEDATAX           =
          IMPORTING
            RETURN                     = BAPI_RETURN
          TABLES
            MATERIALDESCRIPTION        = INT_MAKT
          UNITSOFMEASURE             =
          UNITSOFMEASUREX            =
          INTERNATIONALARTNOS        =
          MATERIALLONGTEXT           =
          TAXCLASSIFICATIONS         =
          RETURNMESSAGES             =
          PRTDATA                    =
          PRTDATAX                   =
          EXTENSIONIN                =
          EXTENSIONINX               =
    IF BAPI_RETURN-TYPE = 'E'.
       WRITE:/ 'Error Message ', BAPI_RETURN-MESSAGE.
    ENDIF.
    ENDLOOP.
    ENDFORM.
    <b>i am using this bapi method to copy materials from one plant to another plant using storage location so here what happenig is everyting is going correct but only the storage location data is not saving in table mard so any body faced this kind of problem please tell me.... and one more dbt
    bapi_marcx-pur_status = 'x' what is 'X' here??? is that mandatory field or required field ???
    points wil be rewarded.
    reagrds,
    sunil k airam.

    In the HEADDATA structure, STORAGE_VIEW should also be set as 'X' , in order to update storage location data
    for example
    BAPI_HEAD-STORAGE_VIEW = 'X'.
    Also, PUR_STATUS corresponds to field MARA-MSTAE whose domain has value table T141, therefore values in the field are checked against T141
    Edited by: Harris Veziris on May 12, 2008 12:37 PM

  • TS4036 I am trying to restore my phone using iTunes back up and iCloud back up. Both won't let me do it.  They said that it could not be completed.  What can I do to get my phone restored?

    I had to wipe my phone clean because of storage issues.  It kept saying I didn't have enough storage for pics or apps, but I only had about 75 pics and 1 extra app. So, I backed up my iPhone on icloud and itunes, then cleared off my iphone using the steps in the settings.  Then, when I am going back to restore my iPhone using iTunes back up and iCloud backup, it fails in both locations.  It says it failed to be completed. 
    What now?

    Thank you Terence for your help.  I was able to restore my backup from my time machine ext drive to a new 1tb seagate ext drive.  so i felt sort of ok.  but yesterday that older ext drive i used for time machine wouldn't open! i called applecare and they trouble shooted with me and said it's probably a goner and data is probably corrupted.  it's only a few years old and i'm very careful with it.  my husband accidentally dropped my new drive last night -- i know, unbelievable, i was SO upset, poor guy -- but I'm so stressed with all of this.  i have 10 years of photos and videos.  so now i only have the one newer drive with a backup.  i have to buy another one today to backup again so i at least have two backups.  i tried to delete a ton of files last night to free up the 30 gb of space i need to get my full library back on my mac. i have 90gb free and deleted 7 years worth of photos i had on picasa that were in my "pictures" folder and also a ton or random photos and videos i had in that same pictures folder and thought that would give me the 30 gb but it hardly freed up any space at all!  do you know why that is?  all of this stuff is really a pain and really stressful.  thank god i did have a backup in the first place but now i am panicked the one i have left will somehow crash.  especially after my husband dropped the drive lastnight! it didn't fall far and fell onto a wood floor and seems fine, but after my older ext drive crashed yesterday -- and i lost my entire iphoto library a fewweeks ago off my mac -- i feel cursed.  any answers you have would be great. thank you.

  • HT4191 iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.

    iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.  I've seen reference to the  "My iPhone" local storage put no mention on how you create this folder or access this folder within the Notes app.  I realize storing information in a local storage like this provides no syncing between other iDevices but that is exactly what I'm looking for.  I'm running iOS7.0.4 on a iPhone 5S, and a iPad Air.  Any help would be greatly appreciated.

    If you go to Settings > Notes > Default Account you will see "On My iPhone" as the default account and the only choice if you have not enabled syncing Notes in Settings >iCloud or Settings > Mail, Contacts, Calendars. If you have enabled syncing you can still select "On My iPhone" as the default account. When you are in the Notes app you won't see any accounts listed if you have not enabled syncing because they are all in the On My iPhone account and that is the only place possible. It is not a folder that you create.

Maybe you are looking for

  • Why does setting up a new eprint address procedure reach a dead end?

    UPDATE 2012 03 08 Thursday About 30 minutes after posting this message, I starting trying again. I was having the same problems. Eventually, I started to get suggestions for names - a list of about 6 - after clicking CHECK. But, then when I would try

  • ILL 10 selection tool not working

    I'm working in Illustrator 10 on a Mac, 10.3.9. When I use the selection tool and click on an object or text block I no longer get the bounding box. If I select a circle it is selected as if I were using the direct selection tool. I can no longer sca

  • Language and firmware 5300

    I have a nokia 5300 and I have upgrade the phone for the new firmware, my problem is that I'm from Italy and now there's no Italian language in the phone (I understand english but it shouldn't be selected). I think it's caused by the firmware. what s

  • How to find information who created an InfoCube

    Hi folks, I hope I won't be ridiculed I am a junior consultant and I'm looking for information which might help me with current problem. I would like to know is there any chance to see who created an InfoCube? - I am looking for login and preferably

  • How to transfer my iPod to a new MacBook?

    So I got a new MacBook, and I want this new computer to be the one I use for syncing. For clarity, I'll call my old computer "Computer A" and my MacBook "Computer B." So some people here told me to back-up and restore my iPod on Computer B, and that