Link table NAST to Smartform
I want to add a field from table NAST (MANUE) to a SMARTFORM. The problem is that I cannot find a field
to link table NAST to a field from the fieldlist. The Smartform is a picklist and I would like to link table NAST to IS_DLV_DELNOTE-HD_GEN. However in table NAST there is a field called OBJKY and in this field the delivery number is written, for example 0080001933. The delivery number is 80001933. I added the following program rules, but without result:
select SINGLE OBJKY into G_DELIVERY
where OBJKY = IS_DLV_DELNOTE-HD_GEN-DELIV_NUMB.
What program code has to be added to delete the two leading zero's from the field NAST-OBJKY to make the output of this field identical to the output of field IS_DLV_DELNOTE-HD_GEN-DELIV_NUMB and that the tables can be linked.