SAP - AS400 Tables cleaning

Hi experts
I apoligize because I'm newbie on BW and I have my first requirement. The scene is: SAP get data from AS400 to BW environment, when BW process this I have to put a file on AS400 server and activate something (that I don´t know) to clean one AS400 table.
Please I need help for this, points rewards
Thanks in advance.-
Regards
mag

Hola Oscar,
Thanks for your answer, I found some information for including some code lines into an ABAP program, these lines are
PARAMETERS: variant TYPE rspc_variant.
DATA: l_instance TYPE rspc_instance,
      l_lodid    TYPE rspc_logid,
      l_chainid  TYPE rspc_chain.
      import instance to l_instance
             log_id   to l_lodid
             chain_id to l_chainid
             FROM DATABASE rspc_buffer(ab)
             ID variant.
I really appreciate it to know how use them?
Regards
gabriela

Similar Messages

  • Error while loading AS400 table

    Posted: 14 May 2014 08:11
    Post subject: Error while loading AS400 table
    Hi,
    I was trying to load an AS400 table using a flat file as source. The table and flat file has a single field only. I'm getting the error "<SQLExecute>: <[IBM][System i Access ODBC Driver]Error in assignment.>"
    The screenshot of the full error message is attached. can someone please help me to resolve this.
    Thanks,
    david

    Posted: 14 May 2014 08:11
    Post subject: Error while loading AS400 table
    Hi,
    I was trying to load an AS400 table using a flat file as source. The table and flat file has a single field only. I'm getting the error "<SQLExecute>: <[IBM][System i Access ODBC Driver]Error in assignment.>"
    The screenshot of the full error message is attached. can someone please help me to resolve this.
    Thanks,
    david

  • Insert /delete data from SAP Z table to Oracle table and opposite

    Hi,
    Can u help me write this FM from the SAP side?
    So, I have two tables ZTABLE in SAP and Oracle table ORAC.
    Let's put three columns in each of them, for example
    TEL1
    TEL2
    ADRESS
    NAME
    where TEL field is primary from ZTABLE to ORAC...
    (in FM there shoud be abap code for writing data in ZTABLE after we press some pushbutton made in sap screen painter..)
    for example, when we write new record in ZTABLE
    00
    112233
    Street 4
    Name1
    this data shoud be inserted in Oracle table ORAC.
    when we write new record in Oracle table for example
    01
    445566
    New Street
    Name2
    this data shoud be inserted in ZTABLE.
    Field TEL1 can be only of two values 01 or 02, other combination is not valid...
    I must have all data from Oracle table ORAC in ZTABLE and opposite.
    It should be the same scenario for DELETE...
    And this communication should be online between sap and table in oracle database...
    Can u help me from sap side? and give idea how to configure on oracle side??
    Thanks a lot,
    Nihad

    I dont know if we can directly connect to a oracle database ( wait for the answers from others on this )
    but in XI we have the JDBC adaptor to insert and retrieve data.
    so for the outbound from SAP the flow can be something like this (with XI in landscape):
    1) You have a screen to maintain a new entry / delete an entry
    2) On save , this record gets saved or deleted from the Ztable in SAP
    3)) In the same screen you can call a proxy class-method (generated using SPROXY transaction ) to send the record to XI.
    4) XI to format it and insert into the oracle table
    Mathews

  • Help Required -- Can we use SQL Query to READ data from SAP MDM Tables

    Hi All,
    Please help.........
    Can we use SQL Query to READ(No Creation/Updation/Deletion  just Read) Data from SAP MDM tables directly, without using MDM Syndicator.
    Or direct SQL access to SAP MDM tables is not possible. Only through MDM Syndicator can we export data.
    Thanks in Advance
    Regards

    All the tables you create in Repository comes under A2i_CM_Tables in Database named as your repository name. So the tables names are fields of table A2i_CM_Tables. Now i tried it but cant make it.
    Now, I dont think its possible to extract all fields in tables and there values using select query. May be pure sql guy can do that or not.
    But there is no relation of data extraction and syndicator. Data is viewed in Data Manager. and you can also store data in a file from DM also.
    BR,
    Alok

  • SAP MM table for MRP

    Dear Expert,
    I have question about SAP MM table.
    I have material with MRP type is PD and lot size is EX, let say this material is X.
    Then i create reservation from WO using material X. In MD04, we will see there is requirement for material X under that WO. Stock does not exist than MRP Run will create PR to fulfill this requirement.
    But we do not know, this PR was trigeer by what WO.
    I want to ask all of you, is there table for SAP to save this mapping.
    So we can surely thougt that this PR came from this WO.
    I just trying to trace, i found MDRS, but in this table, i am not found the PR number with specific.
    Please let me know, if you have information
    Appreciate for your help and Thank you
    Regards,
    Silvia

    Hi Silvia,
    In MD04, click on the PR & click on pegging info, you will be able to see which WO is calling this PR.
    If you want to check for a lot of materials at a given time, then create a Z report & call the FM -> MD_PEGGING_NO_DIALOG
    But note that the same PR / planned order can be pegged to many requirements depending on the MRP parameters maintained in the MRP views.
    Hope the above answers your query.
    Regards,
    Vivek

  • How to create a crystal report based on SAP R3 Tables????????????

    Dear All!!!!!!!!!!!
    I am new to SAP BO crystal reports.
    I want to extract the data from SAP R3 tables and design the crytal report. When i tried to make a new connection;
    We have lot of connection as OLAP;OLE DB and etc, I am not sure how to establish a connection between R3 tables and crystal reports. I cannot able to find documents too...
    Is there any documents available to make the connection or can anyone help me out to figure this..........
    Thanks in advance.
    Regards,
    Suman.

    Dear Efstratios Kara,
    I installed SAP Integration Kit 3.1. Yes I installed the integration kit after installing CR.
    I have uninstalled the earlier version and i have reinstalled CR with (12.3.0.601) version.
    But still i cant view the SAP connectivity. can u tell me from which version they have included this connectivity option in CR.
    If CR going to support SAP Table connectivity on specific version, what is that version.
    Waiting for your reply.
    Regards,
    Suman

  • Value of new field in SAP internal table does not appear in HTML

    There is already an existing web application. (has both SAP and HTML programs)
    I only need to add one field in the SAP internal table and display the value in HTML.
    I activated and pushed the publish button in SAP.
    Still, it is not read successfully in HTML and therefore not displayed in the GUI.
    What step did I miss?

    Hi,
    To publish completely an internet service, try SIAC_PUBLISH_ALL_INTERNAL transaction.
    Hope this helps,
    Iván.

  • SAP transparent table stores condition value of Shipment cost

    HI
    I need to know which SAP transparent table stores condition value of Shipment cost document (specific for Freight condition which derived from Bulkiness group).
    Background:
    Minimum load calculation logic
    In the pricing procedure for shipment cost we have two conditions: One is ZMIN (similar with SP00)  which is having condition class u201CHu201D, Calculation type u201CGu201D which determine Bulkiness group according to access sequence. Bulkiness group is where we define different group with different minimum load. e.g. ZCEM16 u2013 25.TON (22.68) Second condition is ZAFR (Similar with FB00), ZAFR calculates the base value from ZMIN (Compare actual weight with Min weight value of Bulkiness group), if the net weight is 23 ton, it will calculate at 25 ton because of the bulkiness group.
    Now I need to know in which table system stores dynamic value of ZMIN?  Just like we have PR00 in KONV which we can find from KNUMV of billing / sales order.  If I use the same logic then I donu2019t find ZMIN Condition type and value in KONV table for the specific shipment cost document.  Please advice how to and from which Table I can find Bulkiness group value of Shipment cost document.
    Thanks

    Hi,
    Get the shipment cost number from shimpment document (document flow or shipment document header).
    Goto VFKP table,enter shipment cost number and choose detials. get the document condition number from  KNUMV field.
    Now goto KONV and enter document condition number and choose details. you can see condition type and value.
    Thanks & Regards,
    Chandrasekhar

  • Dynamic binding of items in sap.m.Table using JS views

    HI,
    I am developing a master detail page for a Purchase Order application. In master page, i display the list of Purchase Orders & on clicking the PO, i should display the detail page.
    We use different ODATA models for Master & detail page. I am able to successfully list the POs in master page & i am struggling on the part where i have to pass the selected PO number to the new ODATA service URL & then display the details in a table.
    Below is the code i use on TAP of Purchase order from master page:
    tap: function(oEvent)
          sap.ui.getCore().byId("PODetailstable_nodata_id").setVisible(false);
          var oContext=oEvent.getSource().getBindingContext();
          var odataModel_PO_detail = new sap.ui.model.odata.ODataModel(detailServiceUrl,false,  "dev_sde", "28aug@2013");
          odataModel_PO_detail.setCountSupported(false);
          var tappedPONumber= oContext.getProperty("PONumber");
          var path = "/POHeaderSet('"+tappedPONumber+"')/HDRtoITM";
          PO_DetailsPage.setBindingContext(oContext);
          sap.ui.getCore().byId("po_details_table_id").setModel(odataModel_PO_detail);
          sap.ui.getCore().byId("po_details_table_id").bindContext(path);
          sap.ui.getCore().byId("po_details_table_id").setVisible(true);
    And below is the code of my Detail page & the table: I set the bindcontext with new path at "tap" function in master page, i also do bindaggregation for the table with the new path.
    The issue is i am able to HIT the new service URL, but no data is displayed. There is also a demo application on the same, but w/o source code it doesnt help me much in resolving this issue.
    var PODetailstable_nodata = new sap.m.Table("PODetailstable_nodata_id",{title : "No Data"});
      var po_details_table =  new sap.m.Table("po_details_table_id", {
      inset: true,
             headerText: "table for Detail page",
             columns: [
                       new sap.m.Column({
                           header: new sap.m.Label({ text: "PO Number" })       }),
                       new sap.m.Column({ header: new sap.m.Label({ text: "Vendor" }) }),
                       new sap.m.Column({
                           header: new sap.m.Label({ text: "Vendor Name" })  }),
      var oTemplate = new sap.m.ColumnListItem({
                cells: [
                        new sap.m.Text({ text: "{PoNumber}" }),
                        new sap.m.Text({ text: "{Vendor}" }),
                        new sap.m.Text({ text: "{VendorName}"})
      po_details_table.bindAggregation("items", {
             path:"/POHeaderSet('"+"{PONumber}"+"')/HDRtoITM",
             template: oTemplate
      var PO_DetailsPage = new sap.m.Page("PO_DetailsPage_id",
      // title : "Purchase Order Details",
      title :  "{PoNumber}",
      content : [
               PODetailstable_nodata,
               po_details_table,
        footer : new sap.m.Bar
           contentRight: [
                          new sap.m.Button({
                          text : "Approve",
                          //press: oController.approve_pr,

    I have modified my code by referring another forum,
    on Tap, i now invoke a method from controller to update the binding i.e to pass the clicked PO number to the context.
    updateBinding: function(oEvent)
      alert("updatebinding");
      var detailServiceUrl = "http://incas1054.ind.cldsvc.accenture.com:8000/sap/opu/odata/sap/ZPURCHASE_PAY_SRV";
      var odataModel_PO_detail = new sap.ui.model.odata.ODataModel(detailServiceUrl,false,  "dev_sde", "28aug@2013");
      odataModel_PO_detail.setCountSupported(false);
      var tableView=sap.ui.getCore().byId("po_details_table_id");
      tableView.setModel(odataModel_PO_detail);
      alert(tableView.getModel());
      var oContext = tableView.getBindingContext();
      //tableView.bindContext("/POHeaderSet");
      alert(oContext);
      var path=  oContext.sPath + "/HDRtoITM";
      var oTemplate = new sap.m.ColumnListItem({
                cells: [
                        new sap.m.Text({ text: "{PoNumber}" }),
                        new sap.m.Text({ text: "{Vendor}" }),
                        new sap.m.Text({ text: "{VendorName}"})
      tableView.bindItems(path, oTemplate);
    Now, i see the PO number is set in the context, but i want to set a different context for details page as i hit different URL, Can anyone suggest on how to set a different context for details page & then pass the PO number from master to detail page?

  • How to change the lenth of existing field in sap standard table

    Hi all,
    can anybody help,my requirement is, how to change the length of existing field in sap standard table....
    thanks in advance..

    Which field are you thinking of in particular?  Are you wanting to increase or decrease the length?
    Some fields are used so extensively that a change to their length will mean adjusting many tables, some of them potentially very large, and hence taking a long time to adjust.
    Some standard SAP programs expect certain fields to be of specific lengths and won't work if the length is changed.
    Some screens could cease to work.
    If you decrease length, then you could lose data.
    matt

  • SAP PI Table which stores Dynamicconfiguration(filename) for file sender

    Hello All,
    What is the SAP PI table in which SOAP header elements are getting stored. In my scenario, i need to find out the message ID for a specific file name which is picked by file sender, as file name is stored under Dynamicconfiguration of SOAP header node...
    Regards,
    Sreenivas.

    Hi Sreenivas,
    I am not sure if I have understood your requirement correctly but can't you achieve this using a UDF:
    String headerField;
    java.util.Map map;
    AbstractTrace trace=container.getTrace();
    map = container.getTransformationParameters();
    String key = "MessageId";
    headerField = (String) map.get(key);
    return headerField;
    Let us know.
    Regards,
    Shweta

  • Whats SAP internal table which populate data in reuest tab of manags of DSO

    HI team ,
    I want to know do any one know about SAP interanl table which might be used to polpulate data in Request tab of DSO manage.
    Where we see all information about request loaded in DSO , I want to know that underline table name.
    Regards
    Ashutosh D

    Hi
    Table RSICCONT table contains the requests that are actually loaded in a target.(the table which actually populates the data in request tab)
    Table RSMONICDP contains the request id of the fact table.
    Table RSODSACTREQ contains information if an ODS is available for reporting/deleting inactive requests also possible.
    In table RSBODSLOGSTATE see the entries for your DSO and request
    Hope this helps
    Regards
    Shilpa

  • Populating SAP Database table using JDBC adapter

    Hi Folks,
        I have a requirement to populate a SAP database table say ZTABLE using XI. The Model is the table has to be populated through a file which will be processed by SAP XI. Basically this is a File to JDBC scenario. The database used is ORACLE. Kindly provide me some idea to go ahead.

    I tried to place the MS access table in the shared folder of the Application server system but still it seems the table is not being populated.
    did you check the log in your receiver channel? (/people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn)
    The requirement is to update the tables directly as those are the custom tables.
    i would still say that do not update SAP tables directly from XI/ PI.....this is not a standard architecture/ solution....

  • Accessing a SAP BW table data to display content in Design Studio Application

    Hi,
    I am working on a Design Studio application that contains a link to all the reports for different business users in an organization. The end user should see the links to only those reports he/ she has access to. This access rights are stored in a SAP BW table. I want to pull that data from SAP BW table to my application so that I can implement a layer of security in my application.
    1) What would be a good idea to get SAP BW table data in a design studio application.(This data is not used to populate my application, but will be used to check access rights for a user who is going to open this application).
    2) What will be a good option for deployment of this application ? On SAP Netweaver platform or on SAP BI Platform

    Hi Michael,
    Let me present my issue in a more clear format,
    I have a web template launch page that was created using BW 3.5. This web template has only one web item and that is 'role menu'. This role menu will display all the available list of web templates for each user as per the access rights of each user. Hence this web template was the only door for my end users to access BEx reports.
    While we were migrating to 7.x we found that there were no equivalent item available in 7x  version. As a workaround, I migrated all the queries and web templates from 3.5 to 7x but I didn't migrate the door. I asked my Basis team to replace the connection parameters for the links present in the door.
    So now all my users still use the 3.x web template but when they click on items in the list, they will be accessing reports that are of 7x version.
    Now my IT is planning to upgrade IE and knowing that bex 3.5 tools are not compatible with BW 7.4. This sounds like the role menu won't work at all with 7.4.
    I started exploring Design Studio to search for an alternative for Role Menu component. I created an application using HTML template in Design Studio. Now I am looking for different approaches to implement the same functionality in Design Studio. Can you please provide some inputs on this scenario.

  • Read SAP XI table

    Hi everybody,
    in BLOG:
    Pipeline Approach in SAP XI Implementations.
    writes about reading a SAP XI table via RFC-Lookup in UDF.
    The speciality is, that the table is osted an XI.
    Does anybody know, how to set up a RFC connection/communication channel from SAP XI integration engine to XI-ABAP Stack to make a RFC-Lookup?
    Thanks, Regards
    Mario

    Hi,
    >>Does anybody know, how to set up a RFC connection/communication channel from SAP XI integration engine to XI-ABAP Stack to make a RFC-Lookup?
    Add the XI business system to the ID and create an RFC channel to it. Specify the XI server URL and the logon crediantial in it.
    In my blog Impede Duplicate Files a table is created in XI ABAP Stack and every time a look is made to this table using the RFC channel that has been configured in the way that I have specified above.
    Thanks
    SaNv...

Maybe you are looking for

  • I can't figure out what im doing wrong with my File I/O program lol

    I'm new to the java language and was wondering if anybody could help me with the program i an writing. I don't quite understand file I/O but I've given it my best and I'm stuck. I'm supposed to write a program that will read in a file of student acad

  • DAQmxBaseReadAnalogF64 function

    Hi, I am experiencing problems with the DAQmxBaseReadAnalogF64 function for the USB-6009 acquisition card. I am working on a project to build an electrocardiogram. There is an instrumentation circuit sending heart signals to the card. Then, using Bor

  • Attachment of Word/PDF to Sapscript layout

    Hello everyone, Need some help regarding attachment of document in script. I know that we can convert the ouput of a SAPscript form to a PDF in a mail attachment or a spool. But what we require is attaching a word/pdf document to an existing SAPscrip

  • Can Page Redirect affect caching of .SWZ files?

    Can Page Redirect affect caching of .SWZ files? I have two servers: Server 1: works perfect it creates cache on client machine (.swz and .heu files) and uses the cache (I can see the change in the .heu files) Server 2: is not able to create cache but

  • How to manually add music

    I want to add music manually from my mac. however when i try to set it up to do that, it wipes my itouch music out completely and have to do a complete re-sync for music from the Library. Isn't there some way to sync it and only add new music that i