Skip to Content
author's profile photo Former Member
Former Member

Start routine problem

I am having ODS1, ODS2. (Both are containing marital status InfoObjects)

My scenario is

1. I have to load data from a flat file to ODS1, which are having same marital status in ODS2.

For this I am writing a start routine .In this start routine first I am trying to read the records from ODS2. pls find the code ….but when I am trying to activate the transfer rules ..i am getting error…..i think the problem is in my code ….can you correct my code pls ..I am not a ABAP’er

TABLES : /BIC/AZMSTATUS00. (…….ODS2)

Data : ITAB LIKE /BIC/AZMSTATUS00 OCCURS 0 WITH HEADER LINE.

data: MST LIKE /BIC/AZMSTATUS00-/BIC/YM0_MST .

select * from /BIC/AZMSTATUS00 INTO TABLE ITAB.

  • READ TABLE ITAB.

  • MOVE ITAB-/BIC/YM0_MST TO MST.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 09:24 PM

    Hi

    can you specify the error?

    try to change this line:

    Data : ITAB LIKE /BIC/AZMSTATUS00 OCCURS 0 WITH HEADER LINE.

    to:

    Data : ITAB TYPE /BIC/AZMSTATUS00.

    Reg's

    Edan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 09:53 PM

    try to fix this line:

    select * from /BIC/AZMSTATUS00 INTO TABLE ITAB.

    to:

    select * INTO TABLE ITAB from /BIC/AZMSTATUS00 .

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      ok

      can you press the compile/check button when you are in the start routine editor?

      this will generate a more detailed error message and will also point you to the row the error occurred.

      then let us know the details.

      Edan

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2005 at 03:47 AM

    Hi Kris,

    Is your Marital Status not coming from FlatFile ? Regarding the code.

    rather than read Statement,use a loop as shown below, as you are not comparing any Key value.

    Loop at Itab.

    ITAB-/BIC/YM0_MST = MST.

    endloop.

    But I feel there should be some comparing when loading a field from ODS table .

    Hope it helps and please give your complete Business Req.

    Thanks,

    Krish

    *awarding points is saying thanks in sdn

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2005 at 12:26 PM

    Hi,

    Go through the oss notes

    RSAR 245 error analysis with RSTMPL80:<b>602318</b>

    Error activating the transfer rules:<b>147195</b>

    Regards-

    Siddhu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.