04-12-2010 8:46 AM
Hi all
My SD consultant wants me to copy RV15CC01, but i don't understand the function of this report. can anyone explain the purpose of it?
Documentation says:
Report 'RV15CC01' can be used as a template. There you also find more information on the adjustment.
but already at the first info in the source I am lost. It says:
TABLES: t178, "?Declare the tables for both the Source and the Target
t178t. "?fields, including the appropriate text table.
and
*? Replace KONDM with the name of the source field from the above
*? declared table.
SELECTION-SCREEN COMMENT 1(30) text-012 FOR FIELD kondm.
PARAMETERS: kondm LIKE t178-kondm MODIF ID kdm. "?Replace KONDM with
*? The name of the source field from the above declared table.
*? Specify an arbitrary 3 digit MODIF ID
What do they mean by
above declared table
The selection report should be assigned to a copying rule for source/target table 6 (Price List Type/Currency/Material) and the source/target field is PLTYP.
And what is this arbitrary MODIF ID for?
04-12-2010 8:56 AM
04-12-2010 9:19 AM
Many thanks Marco, but I have already done a SDN search for RV15CC01 - can't give you any points for that.
04-12-2010 10:01 AM
Hi..
and have you look for it on google??
it can found soo much informations.
regards
Marco
04-12-2010 10:57 AM
I did not really find a prober description in SDN, OSS or Google, but I found out myself.
The source/target table 6 (Price List Type/Currency/Material) actually refers to table A006. This table has a key field PLTYP, but no text table.
So by search in the system and I found that PLTYP is definde in tabel T189 with text table T189T.
With this knowledge ready, I can begin to modify the program copy.
I my case:
1) all 42 occurrences of T178 must be replaced with T189
2) all 38 occurrences of KONDM must be replaced with PLTYP
3) all 8 occurrences of VTEXT must be replaced with PTEXT
Finally I adjusted the program title, the selection text N_PLTYP and the text symbols text-001, text-002 and text-012 to make sense for the changed coding.
Best regards
Thomas Madsen Nielsen