RDA method to extract MAster Data from R/3

We need to implement the way to extract the Master Data from R/3 As soon as it available in R/3, but it's not like the new MAster Data is loaded in R/3 every 5 minutes, it's more like 3 o 4 times a month and i thought about RDA method, just wanted to see you opinion on wheather it is a good option for such an infrequent loads to BW
Does this DAEMON eats a lot of system resources? Pleas if the answer could be provided by someone who actually use RDA, it be great!

Hi,
We use RDA for systems where the load is very frequent, but a Process Chain would do the required in your case as the data gets updated only a few times in a month.
RDA will be occupied in the Background Process, so that would create some problems. And it keeps on chiecking for new data.
I feel its unnecessary. So, go for Process Chains
Edited by: Vishal Sanghvi on Sep 16, 2008 12:33 PM

Similar Messages

  • Extract BOM data from R/3 to BW

    Hello BW Gurus,
    what is the method of extracting BOM data from R/3 into BW.
    Thanks in advance.
    rgds,
    TR PRADEEP

    Hi Pradeep,
    unfortunately you have to create something custom in order to manage BOM data in BW.
    Doing that, consider that all your BOM data is available in R/3 tables  STKO and STPO (Header and Item).
    With the table MAST you can find also the link among the combination material/plant with every BOM codes.
    At this point your might create a view (and then link it with your custom datasource) by using these tables (however you have to consider your specific needs).
    Please keep in mind that you will extract all historical data of that BOM number. So, use the "Created date" to use the BOM data you are interested in.
    By the way, access against these tables is not so feasible...try to search in your R/3 (I don't have the access now) a function module (search with BOM) that has as input parameters BOM Header, Alternative and others and gives back a table of the respective BOM items. You can create an InfoSet on the table STKO, enhance it with some code that calls the FM and writes the returned values in the Infoset (then use it to create your custom datasource !)
    Hope it helps !
    Bye,
    Roberto

  • BPC NW - Error Importing Master Data from BI to BPC

    Hello,
    I am importing MD from BW to BPC; openhub is working as required, and creating the corresponding file in the application server.
    However, when I run the package from Data Manager, it is displaying the following error:
    "An exception with the type CX_SY_STRUCT_COMP_NAME occurred, but was neither handled locally, nor declared in a RAISING clause.
    No Component name specified for Component 6."
    I have been looking other posts and OSS notes, and looks a problem related to DB; however in this case we do not have any dump.
    Has anyone encountered the same issue?
    Thanks&Kind regards,
    Begonia

    Hi Begonia Boloqui,
    After you extracted master data from BI using Openhub. The file is available in the application server.
    Before you run the package from Data Manager.
    Please examine the file data contents.
    From the Action Pane, Click Manage Data and then clicking Preview data file
    System allows you to preview the first 200 lines of a data file. Check whether data record is compatible with dimension definition and the mapping from external to internal members.
    Looks like error is with COMP_NAME field?
    Hope this information is useful.
    Regards,
    Rajesh Muppala.

  • Question about Extraction of master data from R/3 into BI 3.5

    Hi there,
    i want to extract master data, let's say customers or material, from an R/3 system into BI 3.5.
    Now I know that SAP delivers ready-to-go DataSources for certain SAP applications that can be used for this type of situation. These DataSources will map some R/3 table fields for example to the according Business Content objects in BI.
    My question is:
    Is there some ready-to-go DataSource for the master data i want to extract? Let it be customer data. Or "business partners" is the appropriate expression i think.
    When I use Tcode SBIW to activate the DataSource I need for the extraction, I kind of have problems finding the right one. But for some simple master data I assume there must be a standard DataSource that I can use without bothering to change anything.
    Or am I thinking the wrong way and it is easier than I think?
    Cheers,
    Stefan

    Hi Stefan,
    Some DataSources are 0MATERIAL_ATTR - 0ARTICLE_ATTR - 0MAT_PLANT_ATTR - 0ART_PLANT_ATTR - 0MAT_SALES_ATTR...
    Consider that in some cases (Retail for example) you can find Master Data with 50mln of records, in this case you need absolutely delta upload method, offered by these extractors.
    And above all you can always enhance these extractors.
    You can built your custom extractors, on MARA - MARC - MBEW - ..., but you will not have delta capabilities and support from SAP for maintenance.
    Ciao.
    Riccardo.

  • Unable to extract Customer Master data from MDC

    Hello,
    We creating an MDM-XI-ERP2005 Customer scenario. We want to work with all bussiness scenarios (not customizing scenario).
    First I'm trying to extract Customer Master Data from EP 2005 using MDM_CLNT_EXTR.
    I have created a New Variant which properties are:
    Variant: CUSTOMER_TOTAL
    Description: Send all customer data to MDM
    Extraction Object: CUSTOMER_EXTRACT.
    Target System: PI7.
    But, the display jobs shows the following error: Could not determine recipients for message type MDMRECEIPT. Job cancelled after system exception.
    We need to focus the problem. We have done the following ALE configuration.
    SALE transaction:
    In Basic Settings -> Logical Systems -> Define Logical System we have add the following logical systems:
                  EUS100
                  MDM: Master Data Management
                  PI7: Process Integration 7.0
    WE21:
    Transactional RFC -> PI7, IDOC record types SAP Release 4.x
    RFC destination: SAPSLDAPI
    BD64
    New Model -> PFMC
    Add message type: Model iview: PFMC
                                 Sender: EUS100
                                  Receiver: PI7
                                 Message Type: DEBMDM
    WE20 transaction shows:
    Partner profiles -> Partner Type LS (logical system)
                        PI7: Outbound parmtrs. DEBMDM, SYNCH.
    Any idea will be very helpful,
    Thanks in advance
    Marta.
    Edited by: Marta Sánchez on Jul 9, 2008 12:34 PM

    Sorry because I made a mistake in my previous message. ALE seems to be correctly configured. I'll try to update correctly my current situation:
    In WE02 I can see al IDOCs that I'm trying to send to XI. All them have the IDoc Status = 3 (Data Passed to Port OK) instead of 12 Status Dispatch OK :(. So, It seems an tRFC error.
    SM58 shows me more trails: "Basic type 'DEBMDM06' is unknown"
    before that I have done the following steps at SAP ERP:
        1. WE21: I have created a PI7 port with 700PI70CLNT RFC.
        2. SM59: I have checked successfully 700PI70CLNT RFC connection.
        3. WE20: I have created a PI7 Partner Type LS with the following inbound and outbound parameters: DEBMDM and MDMRECEIPT.
        4. BD64: I have created a Distribution Model with DEBMDM and MDMRECEIPT message types.
    and at SAP PI:
         5.IDX: Port: SAPEUS. Client: 111. RFC Destination: PI7.
         6. technical and business system for sender SAP system(System Landscape Directory)...
    - Maybe some of the previous steps is not correct....
    - Is RFC Destination = PI7 is correct in step #5?
    - Is also necessary to configure more steps in PI system like RFC destinations or Transactional port?
    - I have read that is neccessary to check that the option "transfer idoc immediately" in we20. How?
    Please any idea will be very helpful.......
    Thank you!
    Best regards,
    Marta.

  • How to handle/extract Hierarchies in master data from R3

    Hi Experts!!!
    Iu2019m currently working on HR Implementation project and this is my first project. Implementation is being done in BI 7.0 and ECC 6.0. I have some queries  regarding the extraction of master data from R3 as furnished below.
    1.     By default all the datasources  are in 3.x technology  and Iu2019ve migrated all the datasources with export and successfully performed InfoPackages  and  DTPS  into their respective InfoObjects/Data targets. But when it comes to the masterdata datasources with hierarchies, Iu2019m unable to migrate them as there is no MIGRATE option in the context menu. When I tried to create infopackage, it asked me to create Transfer rules first and perform InfoPackage. Is it mandatory to work in 3.x technology (Transfer rules/ Update rules)  in case of master data hierarchies? In this case how to handle datasources with hierarchies?
    2.     Is it required to have any data staging component  like DSO while extracting master data datasources from SAP R/3  to their respective InfoObjects (Data targets)?? Or can I directly schedule Infopackage and DTP directly into the InfoObject with out any DSOS in between for HR master data??
    Good day!!!

    hello,
    1)
    all DataSource that are created in BI 7.0 are new design, master data attribute, text and transaction DataSource can all be created in the new BI 7.0, but for hierarchy DataSource, it remains as 3.X, if you double click on the Hier DataSource, you will see the title "...Emulated 3.X ...", so the DataSource should be working perfectly fine except it is in "Modified" version, i believe it is just SAP has not or can't a way to upgrade hier DataSource.
    Also,
    RSDS doesnt support hierarchy datasources in BI 7.0. So we cannot use transformations and DTP with hierarchy. So it is very similar to the way we used to load it in 3.x.
    Check below link for step by step procedure to load hierarchy using flat file:
    http://help.sap.com/saphelp_nw04s/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm
    2)
    i dont think you need a DSO in between for laoding master data from R/3 to BI IO.
    Reg,
    Dhanya

  • Extraction of master data from R3 into BW.

    Hello.
    This is my new SAP BI assignment:
    I'm going to use standard SAP InfoOjects (from Business Content) in order to build a new InfoCube (Logistics - MM/SD) with for example standard Characteristics like: 0MATERIAL, 0MATL_GROUP, 0SHIP_TO, 0SOLD_TO, 0SALESORG, 0PROD_HIER, 0CUST_GROUP, 0COMP_CODE... (_Note: NO generic extraction involved_)
    My question is, do I need some extra "Process Chain"  (Tcode: RSPC) in order to bring all these characteristics and all associated master data/texts, attributes and hierarchies from the R/3 ( source system) into BW, or these data will come with a standard extractor into SAP BW? I mean no extra work is needed for  bringing master data from R/3 in to BW?
    Another question, Is there any way to know which Characteristics need an extra "Process Chain"  (Tcode: RSPC) in order to bring associated master data/texts, attributes and hierarchies from the R/3 ( source system) into BW?
    Regards
    ASantos

    Hi ,
    1. In SAP R3 system go to the transaction RSA6, find the application component then select the data Source and view the structure of the data source and  select all the required fields.
    2. As you said no generic data source involve , then create the generic data source using the transaction SBIW, generic data sources have many creation options. view is the simplest.You can create a viewwith all requred fields on the top of different source table fieldsa per your requirement.
    3.Now go to the transaction RSA3 the extractor checker ,give name of your ectractor as input and check this data source.
    4.go to BW system,transaction RSA1, find the source system then replicate the metadata in the corresponding application component.After replication only the structure of the data source is copied not the actual data.
    5. Create InfoPackage, so that the actual data is loaded in the PSA table.
    6. Create transformation between the data source and the corresponding data target (InfoProvider - infoobject, cube, DSO). This is done by mapping the source fields with target fields using the appropriate rule type.If there are some update rules in R3 system then you may need to write some field level routines depend on your requirement.
    7.Create DTP between the source and target, and execte it .It will load actual data into the target.
    8.then more transformation and DTP can be created and executed according to the requirements, like from DSO to cube. Thus the data is available in BW data targets on which query can be generated for reporting.
    I don't think you need any process chain for this .this is manual process but loading DTP and all can be automated via creating process chain .
    For more guidence you an refer this document:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40394d9b-93b9-2d10-9f9a-f13118a4776d?quicklink=index&overridelayout=true
    Hope this will be helpful.
    Regards,
    Jaya

  • How to  extract  master data  attribute from  r/3 to bw give steps details

    how to  extract  master data  attribute from  r/3 to bw give steps details screenshots

    Hi
    Go through the below process to extract Master Data Attribute from R/3
    Hi,
    Maintaining Generic DataSources
    Use
    Regardless of the application, you can create and maintain generic DataSources for transaction data, master data attributes or texts from any transparent table, database view or SAP Query InfoSet, or using a function module. This allows you to extract data generically.
    Procedure
    Creating Generic DataSources
    1. Select the DataSource type and specify a technical name.
    2. Choose Create.
    The screen for creating a generic DataSource appears.
    3. Choose the application component to which you want to assign the DataSource.
    4. Enter the descriptive texts. You can choose any text.
    5. Select the datasets from which you want to fill the generic DataSource.
    a. Choose Extraction from View if you want to extract data from a transparent table or a database view. Enter the name of the table or the database view.
    After you generate the DataSource, you have a DataSource with an extraction structure that corresponds to the database view or transparent table.
    For more information about creating and maintaining database views and tables, see the ABAP Dictionary Documentation.
    b. Choose Extraction from Query if you want to use a SAP Query InfoSet as the data source. Select the required InfoSet from the InfoSet catalog.
    Notes on Extraction Using SAP Query
    After you generate the DataSource, you have a DataSource with an extraction structure that corresponds to the InfoSet.
    For more information about maintaining the InfoSet, see the System Administration documentation.
    c. Choose Extraction Using FM if you want to extract data using a function module. Enter the function module and extraction structure.
    The data must be transferred by the function module in an interface table E_T_DATA.
    Interface Description and Extraction Process
    For information about the function library, see the ABAP Workbench: Tools documentation.
    d. With texts you also have the option of extracting from fixed values for domains.
    6. Maintain the settings for delta transfer, as required.
    7. Choose Save.
    When performing extraction, note SAP Query: Assigning to a User Group.
    Note when extracting from a transparent table or view:
    If the extraction structure contains a key figure field that references a unit of measure or a currency unit field, this unit field has to be included in the same extraction structure as the key figure field.
    A screen appears on which you can edit the fields of the extraction structure.
    8. Edit the DataSource:
    ○ Selection
    When you schedule a data request in the BI scheduler, you can enter the selection criteria for the data transfer. For example, you can determine that data requests are only to apply to data from the previous month.
    If you set the Selection indicator for a field within the extraction structure, the data for this field is transferred in correspondence with the selection criteria in the scheduler.
    ○ Hide field
    You set this indicator to exclude an extraction structure field from the data transfer. The field is no longer available in BI when you set the transfer rules or generate the transfer structure.
    ○ Inversion
    Reverse postings are possible for customer-defined key figures. Therefore inversion is only active for certain transaction data DataSources. These include DataSources that have a field that is marked as an inversion field, for example, the update mode field in DataSource 0FI_AP_3. If this field has a value, the data records are interpreted as reverse records in BI.
    If you want to carry out a reverse posting for a customer-defined field (key figure), set the Inversion indicator. The value of the key figure is transferred to BI in inverted form (multiplied by –1).
    ○ Field only known in exit
    You can enhance data by extending the extraction structure for a DataSource by adding fields in append structures.
    The Field Only Known in Exit indicator is set for the fields of an append structure; by default these fields are not passed to the extractor from the field list and selection table.
    Deselect the Field Only Known in Exit indicator to enable the Service API to pass on the append structure field to the extractor together with the fields of the delivered extract structures in the field list and in the selection table.
    9. Choose DataSource ® Generate.
    The DataSource is saved in the source system.
    Maintaining Generic DataSources
    ● Change DataSource
    To change a generic DataSource, in the initial screen of DataSource maintenance, enter the name of the DataSource and choose Change.
    You can change the assignment of a DataSource to an application component or change the texts of a DataSource. Double-click on the name of the table, view, InfoSet or extraction structure to get to the appropriate maintenance screen. Here you make the changes to add new fields. You can also completely swap transparent tables and database views, though this is not possible with InfoSets. Return to DataSource maintenance and choose Create. The screen for editing a DataSource appears. To save the DataSource in the SAP source system, choose DataSource ® Generate.
    If you want to test extraction in the source system independently of a BI system, choose DataSource ® Test Extraction.
    ● Delta DataSource
    On the Change Generic DataSource screen, you can delete any DataSources that are no longer relevant. If you are extracting data from an InfoSet, delete the corresponding query. If you want to delete a DataSource, make sure it is not connected to a BI system.
    NR

  • Use LINQ to extract the data from a file...

    Hi,
    I have created a Subprocedure CreateEventList
    which populates an EventsComboBox
    with a current day's events (if any).
    I need to store the events in a generic List communityEvents
    which is a collection of
    communityEvent
    objects. This List needs to be created and assigned to the instance variable
    communityEvents.
    This method should call helper method ExtractData
    which will use LINQ to extract the data from my file.
    The specified day is the date selected on the calendar control. This method will be called from the CreateEventList.
    This method should clear all data from List communityEvents.  
    A LINQ
    query that creates CommunityEvent
    objects should select the events scheduled for selected
    day from the file. The selected events should be added to List
    communityEvents.
    See code below.
    Thanks,
    public class CommunityEvent
    private int day;
    public int Day
    get
    return day;
    set
    day = value;
    private string time;
    public string Time
    get
    return time;
    set
    time = value;
    private decimal price;
    public decimal Price
    get
    return price;
    set
    price = value;
    private string name;
    public string Name
    get
    return name;
    set
    name = value;
    private string description;
    public string Description
    get
    return description;
    set
    description = value;
    private void eventComboBox_SelectedIndexChanged(object sender, EventArgs e)
    if (eventComboBox.SelectedIndex == 0)
    descriptionTextBox.Text = "2.30PM. Price 12.50. Take part in creating various types of Arts & Crafts at this fair.";
    if (eventComboBox.SelectedIndex == 1)
    descriptionTextBox.Text = "4.30PM. Price 00.00. Take part in cleaning the local Park.";
    if (eventComboBox.SelectedIndex == 2)
    descriptionTextBox.Text = "1.30PM. Price 10.00. Take part in selling goods.";
    if (eventComboBox.SelectedIndex == 3)
    descriptionTextBox.Text = "12.30PM. Price 10.00. Take part in a game of rounders in the local Park.";
    if (eventComboBox.SelectedIndex == 4)
    descriptionTextBox.Text = "11.30PM. Price 15.00. Take part in an Egg & Spoon Race in the local Park";
    if (eventComboBox.SelectedIndex == 5)
    descriptionTextBox.Text = "No Events today.";

    Any help here would be great.
    Look, you have to make the file a XML file type -- Somefilename.xml.
    http://www.xmlfiles.com/xml/xml_intro.asp
    You can use NotePad XML to make the XML and save the text file.
    http://support.microsoft.com/kb/296560
    Or you can just use Notepad (standard), if you know the basics of how to create XML, which is just text data that can created and saved in a text file, which, represents data.
    http://www.codeproject.com/Tips/522456/Reading-XML-using-LINQ
    You can do a (select new CommunityEvent) just like the example is doing a
    select new FileToWatch and load the XML data into the CommunityEvent properties.
    So you need to learn how to make a manual XML textfile with XML data in it, and you need to learn how to use LINQ to read the XML. Linq is not going to work against some  flat text file you created. There are plenty of examples out on Bing and Google
    on how to use Linq-2-XML.
    http://en.wikipedia.org/wiki/Language_Integrated_Query
    <copied>
    LINQ extends the language by the addition of query
    expressions, which are akin to
    SQL statements, and can be used to conveniently extract and process data from
    arrays, enumerable
    classes, XML documents,
    relational databases, and third-party data sources. Other uses, which utilize query expressions as a general framework for readably composing arbitrary computations, include the construction of event handlers<sup class="reference" id="cite_ref-reactive_2-0">[2]</sup>
    or
    monadic parsers.<sup class="reference" id="cite_ref-parscomb_3-0">[3]</sup>
    <end>
    <sup class="reference" id="cite_ref-parscomb_3-0"></sup>

  • How to Update Master Data from R/3

    Hi,
    In the R/3 source system, there a few new company code. 
    I have run an infopackage to full update Datasource 0COMP_CODE_ATTR. But when I display data, the new company code is not there.
    I also run rsattr, and selected all the infoObject list. But i still can't see the new company code.
    May I know how to extract the new company code from R/3 to BI?
    What are the steps?
    Thank you.

    Hello
    Check if the DTPs ran and the monitor turns green. The monitor in DTP also tells you how many records are processed.
    After that run the Attribute change Run.
    In general the steps to load master data from R/3 are:
    1. Execute InfoPackage
    2. Run DTP
    3. Run Attribute Change Run
    If the company code still does not show check the tables (P & M tables) to see if the data is there and in active version.
    Hope this helps

  • Upload vendor master data from legacy system to internal table tcode xk01

    through batch input program how to upload vendor master data from legacy system to internal table and then to SAP R/3 database(transaction XK01) by using recording method.

    By learning the basics of BDC recording and the use of GUI_UPLOAD

  • How to extract the data from R/3?

    Gurus,
    I need to extract the data from R/3 to BI . Below i am giving Table name followed by field name and field description.
    I am using BI 7.0 and ECC 6.0
    I am having following doubts.
    1. Based on below information which extract method I need to use (Generic data  Extraction?)?
    2. I try to create a one view but I could not find Join between the tables. I found only few joins. how to join other tables?
    3. Without joining these table how can I collect the data ?
    4. Do i need to create multiple tables?
    SAP Table      SAP Field        Field Description
    VBAK->             VBELN->        Sales Document
    VBAP->             WERKS->        Plant
    VBAK->              AUART->            Doc Type
    VBAP->             PSTYV->        Item Category
    VBAP->             MATNR->        Material
    VBAP->             ARKTX->        Description
    MATNR->              GROES->     
    VBAP->             ZIEME->        Target Quantity UOM
    VBAP->             WAVWR->        Cost
    VBAK->             ERNAM->        Name of a person who created the object
    VBAKA->             KUNNR->        Customer Number 1
    VBAP->             BSTNK->                 Customer purchase Order no
    VBEP->             BANFN->        Purchase Requisition Number
    QMFE->             FEGRP->        Cause Code(Code Group Problem)
    QMFE->             FECOD->        Damage Code(Problem or Damage Code)
    QMEL->             QMNUM->        Notification No
    EQUI->             EQUNR->        Equipment Number
    QMEL->             QMART->        Notification Type
    QMELI->             ERDAT->        Date on Which Record Was Created
    ============================================================================================
    Gurus I will assign full points .
    Thanks

    Hi,
    I would use the standard extractor 2lis_11_vaitm and enhance it for the following fields:
    VBEP-> BANFN-> Purchase Requisition Number
    QMFE-> FEGRP-> Cause Code(Code Group Problem)
    QMFE-> FECOD-> Damage Code(Problem or Damage Code)
    QMEL-> QMNUM-> Notification No
    EQUI-> EQUNR-> Equipment Number
    QMEL-> QMART-> Notification Type
    QMELI-> ERDAT-> Date on Which Record Was Created
    regards
    Siggi

  • Extraction of data from SAP R/3 Bapi into SAP BW

    hi,
    i am extracting data from sap r/3 bapi into sap bw. can u please send me the link and documents of how to extract the data from bapi to sap bw.
    Answers will be rewarded
    Thanks
    sd shahid

    Hi Swapnali,
    In your case you have to send process order to XI and you have a bapi that satisfies your requirement.
    Here the solution depends what is the triggerring point of the Interface.
    If you want that from SAP side Interface should be triggered, then Use ABAP proxy program
    You have to craete a Abap proxy class using outbound message interafce defined in IR of XI.This can be done by transaction SPROXY.
    Then create a program that call sync/async method that is created by Sproxy t.code.
    In this way , when u will execute the proxy program in R/3 , then call will be made to BAPI in Sap from XI server and u will get output back to your proxy program.
    If your requirement is to not to trigger from SAP then nothing is required in R/3 side.
    In XI , Bapi will be added in imported objects in Integration repository and bapi will be called.
    Hope this will help u.
    Please revert in case of queries.
    Regards,
    Monica

  • Extraction of Data from ECC using ABAP Stage in Datastage

    Hi
    We are required to extract the customer master data from GFIMS SAP ECC5.0 system. This extraction involves fetching of data from 5 different tables. To attain this we are using ABAP stage in DATASTAGE.
    For every run the ABAP stage of DataStage generates the ABAP program in DataStage, will place it in the SAP system and extract the data by executing the ABAP program.
    To be able to use this ABAP stage we need to integrate the DataStage with SAP system. We have to send the cofiles and data files to SAP, these files will install a RFC enabled function module and user profile components in SAP.
    They say, there is a security flaw in the function module component and this will lead to exposing of complete SAP system to outside members.
    Please advise me to do alternative Ways.
    Thanks in Advance.

    Hi
    You dont see the data source in R3? When you created the data source using Tcode RSO2 you would have put the data source under some application like SD, MM etc.
    Please check in the respective application for your data source. If still the data source is still not seen, then check whether the data source is active or not.
    Hope it helps.
    Regards
    Sadeesh

  • Extract of Data from Oracle in a Flat File with Column and Record seperator

    I have a case where I have to extract whole data froma Oracle Table where the Columns should be seperated by |@|
    and Records by ^*^.
    The reason for this is My data has Space and New line in it. So My Program to recoganize each column and record I want them to be seperated by special chars.
    Itried this but of no much help.
    set echo off newpage 0 space 0 pagesize 0 feed off head off trimspool on;
    spool on;
    set colsep '|@|';
    set recsepchar '^*^';
    spool "T_COMPLAINT.dat";
    select * from T_COMPLAINT where ROWNUM < '100' order by cptoid;
    spool off;

    Having '@' and '*' characters in the data will not make any difference if you are using a combined column separator of '|@|' - provided any process you use subsequently can handle it.
    However, the recsepchar parameter appears to be restricted to a single character which is repeated right across the page, so I don't think you could have a single iteration of '|*|' using this method:
    SQL> set  newpage 0 space 0 pagesize 0 feed off head off trimspool on
    SQL> set recsep EACH
    SQL> set recsepchar '*'
    SQL> set colsep '|@|'
    SQL> select * from testa;
    A         |@|1@        |@|22-JUN-2010
    B         |@|2*        |@|22-JUN-2010
    B         |@|2*        |@|22-JUN-2010
    ********************************************************************************Edited by: LindaA on 23-Jun-2010 08:33

Maybe you are looking for