2010 Jan 16 12:23 AM
Hi All,
I am trying to create a BDC program based on the Transaction Code FKMT. I will use this to add a new Account Assignment Model that is based on a specific Screen Template. The program I have written does not work all of the time. I have discovered that if the Screen Template associated with the last Account Assignment Model viewed is different from the Screen Template I want to use when I add a new Account Assignment Model, then my add will fail. If the Screen Template associated with the last Account Assignment Model viewed is the same as the Screen Template I want to use when I add a new Account Assignment Model, then my add will succeed. I am also finding that I cannot successfully switch to the Screen Template I want to use with the Account Assignment Model I am creating in the BDC code.
Can anyone help guide me on how I can add a new Account Assignment Model with a specific Screen Template?
Example:
1) Review Existing Records
Acct Assn Model Screen Template
CORP-2010 ZTIC1 <-- Last viewd Acct Assn Model
CORP-3010 ZTIC2
Last Viewed Acct Assn Model was CORP-2010, so default Screen Template is ZTIC1
2) ADD a NEW Acct Assn Model CORP-1010 based on Screen Template ZTIC2.
This ADD will fail and I cannot switch to the Sceen Template ZTIC2 in the BDC code.
3) ADD a NEW Acct Assn Model CORP-4010 based on Screen Template ZTIC1.
This will succeed and there was no need to switch to the Screen Template ZTIC1 since it was the default based on the last Acct Assn Model viewed.
Thank you!
Hi All,
I am trying to create a BDC program based on the Transaction Code FKMT. I will use this to add a new Account Assignment Model that is based on a specific Screen Template. The program I have written does not work all of the time. I have discovered that if the Screen Template associated with the last Account Assignment Model viewed is different from the Screen Template I want to use when I add a new Account Assignment Model, then my add will fail. If the Screen Template associated with the last Account Assignment Model viewed is the same as the Screen Template I want to use when I add a new Account Assignment Model, then my add will succeed. I am also finding that I cannot successfully switch to the Screen Template I want to use with the Account Assignment Model I am creating in the BDC code.
Can anyone help guide me on how I can add a new Account Assignment Model with a specific Screen Template?
Example:
1) Review Existing Records
Acct Assn Model Screen Template
CORP-2010 ZTIC1 <-- Last viewd Acct Assn Model
CORP-3010 ZTIC2
Last Viewed Acct Assn Model was CORP-2010, so default Screen Template is ZTIC1
2) ADD a NEW Acct Assn Model CORP-1010 based on Screen Template ZTIC2.
This ADD will fail and I cannot switch to the Sceen Template ZTIC2 in the BDC code.
3) ADD a NEW Acct Assn Model CORP-4010 based on Screen Template ZTIC1.
This will succeed and there was no need to switch to the Screen Template ZTIC1 since it was the default based on the last Acct Assn Model viewed.
Thank you!
2010 Jan 26 1:25 AM
I discovered the solution to my problem by debugging the TCode FKMT. Debugging showed me how to identify the last Screen Template used and how I could determine the correct values to use in my BDC code.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |