RE: [sap-dev] Updating a table
Posted by
Admin at
|
Share this post:
|
on 05/29/2009 02:13:00 PM
Hi Abhilasa,
I'm glad it worked out for you, "my bad" on the Index. Sometimes you run
into trouble when updating itabs from the work area if don't specify an
index but it's not appropriate in this case. Your Transaction is not in
the customer name space. Try making it ZPAM1.
Cheers!
Scott Bains-Jordan
From: Abhilasa via sap-dev [mailto:sap-dev@groups.ittoolbox.com]
Sent: Friday, May 29, 2009 9:47 AM
To: Bains Jordan, Scott
Subject: RE:[sap-dev] Updating a table
Hi Scott ,
Thanks for your pointers and the program works now.However I had to
remove the INDEX sy-index part from the MODIFY i_pamas FROM w_pamas
INDEX sy-index stmt. I gt the following short dump ---
The error can occur when using the following options:
1. "INDEX idx" for specifying the line number in the table
"\PROG=/ORGIT/PAMU_SALD_NEW\FORM=SELECT_TABLE_GT_BB\DATA=I_PAMAS"
where you want to change, insert or delete.
2. "FROM idx" for specifying the start index when deleting a line
area from or inserting a line area into the table
"\PROG=/ORGIT/PAMU_SALD_NEW\FORM=SELECT_TABLE_GT_BB\DATA=I_PAMAS".
3. "TO idx" for specifying the end index when deleting a line
area from or inserting a line area into the table
"\PROG=/ORGIT/PAMU_SALD_NEW\FORM=SELECT_TABLE_GT_BB\DATA=I_PAMAS".
Thanks again.
I have one more issue.I am trying to assign a transaction to this
report.I am trying to create the transaction from se80 from the program
itself and while trying to assign the tx to the package /orgit/pam (the
package to which also the program belongs) , it says SAP object TRAN
PAM1(name of the tx) cannot be assigned to development class /orgit/pam.
Kindly suggest. __.____._
Toolbox.com
4343 N. Scottsdale Road
Suite 280
Scottsdale, AZ 85251