04-09-2013 9:44 AM
Hi my issue is I have been trying to copy the comments/long text for 1 record to another for infotype 0034.I am getting pcl1 table updated with the text also itxex = 'x' is set but still comment is not getting displayed on pa20/pa30 screen.
Please help me with this.
Thanks.
04-09-2013 12:34 PM
Hi,
PCL1 table is using PCL1-SRTFD as key field. The KEY is built with the concatenation of Personal No+0034+some more information in Infotype 0034.
Have you checked the key in PCL1 for your new record?
You should have the same content for PCL1-CLUSTD, but with your new key linked with your new HR record.
To debug this, the point system reads the Text from PCL1 is:
Program: SAPFP50M
Include: FP50ME02
Routine: FORM init_text.
Check this line:
rp-imp-c1-tx.
This is a Macro call... the code under this is possible to find in table: TRMAC
RP-IMP-C1-TX | 001 | **************************************** |
RP-IMP-C1-TX | 002 | * CLUSTER TX: TEXTE FUER PREL * |
RP-IMP-C1-TX | 003 | PERFORM DO_NOTHING(SAPFP50P) |
RP-IMP-C1-TX | 004 | IMPORT TEXT-VERSION * |
RP-IMP-C1-TX | 005 | PTEXT * |
RP-IMP-C1-TX | 006 | FROM DATABASE PCL1(TX) * |
RP-IMP-C1-TX | 007 | ID TX-KEY * |
RP-IMP-C1-TX | 008 | USING PCL1_EXP_IMP(SAPFP50P) |
RP-IMP-C1-TX | 009 | IF SY-SUBRC NE 0 |
RP-IMP-C1-TX | 010 | CLEAR: TEXT-VERSION |
RP-IMP-C1-TX | 011 | CLEAR: PTEXT |
RP-IMP-C1-TX | 012 | REFRESH: PTEXT |
RP-IMP-C1-TX | 013 | SY-SUBRC = 4 |
RP-IMP-C1-TX | 014 | ENDIF |
Hope this help to you.
Regards.
Alfonso.