on 09-28-2007 10:51 AM
hi friends
i need to give a start routine for my baseunit.
i need my baseunit always EA,
i get the data from the flat file , so what ever the unit they mention there in the flat file if it is not equal to 'EA', then it should take it as EA.
i gave code like this
IF COMM_STRUCTURE-0BASE_UOM NE EA
APPEND 'EA'
then i got this error
E:Field "COMM_STRUCTURE-0BASE_UOM" is unknown. It is neither in one of
the specified tables nor defined by a "DATA" statement. "DATA" statement.
Hi Sampath,
In start toutine the data is considered in terms of DATA PACKAGES.
It is not communication structure that you should be using.
It is like this,
DATA_PACKAGE-BASE_UOM
Please change the code and check now.
Assign points if useful.
Regards
rudra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sampath,
As you need EA always, why dont you make the update of this field using a Constant, instead of manipulating in the start routine.
Check this link for details.
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a64e0e07211d2acb80000e829fbfe/frameset.htm
Cheers,
Praveen.
Hi Sampath,
Instead of COMM_STRUCTURE-0BASE_UOM, use
COMM_STRUCTURE-BASE_UOM without the "0". The fields in the communication structure saved in database will not have "0" prefix.
Let me know if this solves your problem.
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.