on 08-26-2008 8:32 AM
Hi All,
I have a customized ZLE_SHP_DELNOTE smartforms from its original LE_SHP_DELNOTE delivery note.
I have setup the necessary NACE to point to the new forms and it work fine after a couple of time testing it out in VL02N.
But after a few more changes on the form and execute it again using VL02N it seems that some of the information is missing.
I did a comparison of run between the original form and the customised form. It seems that certain information is missing. One of it is, IS_DLV_DELNOTE-HD_REF-ORDER_NUMB. It is not populated at all.
I tried to debug both the run on RLE_DELNOTE print program. It seems that the SET_PRINT_DATA_TO_READ did not have the HD_REF to be passed to GET_DATA to read the data.
PERFORM SET_PRINT_DATA_TO_READ
USING
LF_FORMNAME
CHANGING
LS_PRINT_DATA_TO_READ
CF_RETCODE.
IF CF_RETCODE = 0.
select print data
PERFORM GET_DATA
USING LS_PRINT_DATA_TO_READ
CHANGING LS_ADDR_KEY
LS_DLV_DELNOTE
CF_RETCODE.
And if I further drill down on the program it seems that the function module SSF_FIELD_LIST does not return any fields related to that smartforms.
Why this is happening? In actual fact why out of a sudden that the return value does not include HD_REF?
It seems that SSF_FIELD_LIST is getting its value through the IMPORT statement as shown below.
import fields to fieldlist
from database stxfcontr(sf) id l_fullname.
Thanks
David
Hello David,
Could you please chk if the NAST-OBJKY is being populated before any of the FM's are called in the program?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks for the replies. I have resolved this. It seems that if certain fields that are from the IS_DLV_DELNOTE is not used in Smartforms, it will not populate those structure.
In my modified Smartforms, I have removed certain node that is no longer needed. Therefore it caused the structure where this node belongs to not being populated.
Therefore I need to add back the node and make it invisible.
Thanks
David
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
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.