Skip to Content
avatar image
Former Member

ecatt multiple line items

Hi Gurus,

i am creating ecatt with TCD recording. My requirement is if i record a sales order with one line item can i use the same ecatt for multiple line items.

for example if i create a test script z_va01 in this i record a sales order having one line item. For this i created test data and configaration. Can i use same ecatt to create a sales order having multiple line items.

Thanks in advace


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 22, 2007 at 08:00 AM

    Hi Anilkumar,

    I don't think you can use same TCD script for single line item and multiple line item. The reason behind is the line items are part of recording. And their positions get recorded. So data has to match with run time behavior of transaction.

    In SAPGUI recording, record VA01 transaction for multiple line items first. And see whether you get different dynpro for each line item. If so, then you can make them Optional. Now this script can run for both multiple line item as well as single item provided one dynpro for each line item.

    Find the following weblog for SAPGUI recording and making screens optional -



    But my personal experience says not to play much with the recorded scripts in the given scenario. If you can record two different scripts for the different line items, your life will be simpler.

    Hope this helps.

    PS If the answer solves your query, plz close the thread by marking it Solved and rewarding each reply.

    Add comment
    10|10000 characters needed characters exceeded