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

Routine issue

Hello, I am trying to write a transfer rule routine for one field. but i can not un comment the following.

* Declaration of transfer structure (selected fields only)

TYPES: BEGIN OF TRANSFER_STRUCTURE ,

* InfoObject 0LANGU: LANG - 000001

SPRAS(000001) TYPE C,

* InfoObject 0ACCNT_GRPV: CHAR - 000004

KTOKK(000004) TYPE C,

* InfoObject 0TXTMD: CHAR - 000030

* TXT30(000030) TYPE C,

END OF TRANSFER_STRUCTURE .

without uncommenting this i will not be able to write the routine and will keep getting not defined message. can some one tell me how to uncomment this?

thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on May 30, 2013 at 08:56 AM

    Hi Venkat,

    While writing transfer rules, you no need to touch predefined objects which are already defiend on screen. you just need to define which your going use in routine. Use your fields as shown by suman.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

    • i asked him to try and not to close. actually in 3.x version we have to use TRAN_STRUCTURE, so i informed the same and even i asked him to further conditions to make the code perfect. about scams no one have ideas in mind to play like that if we feel like that we have option hit it.

      Thanks

  • author's profile photo Former Member
    Former Member
    Posted on May 30, 2013 at 05:22 AM

    Hi Venkat,

    From the declaration I understanda that only TXT30 is not defined. When you select routine in a transfer rule, a screen appears for choosing the necessary fields that will be used within the routine. You need to select txt30 from that screen, then it automatically uncomments.

    Hope it helps

    Yasemin...

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 30, 2013 at 05:38 AM

    Hi,

    You have to select only the fields which are going to write the logic for..like below


    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.