Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Header address printing

Hi !

In one one of my smartforms for quotations we have a left header where we peint the customer address through the address window with interface is_addres. This pulls in the correct addrnumber and converts it into address and prints it on the lfet header . I ahve a problem when we print this quote with the selection of partner fucntion when its a custom one called 'ZZ' which is for our companys sales rep. On other occassions when the partner function is any other its prints the correct address but when it s set to this ZZ it brings up the name of the person and some address which is stored in the adrc table . I would like my form to convert the addrnumber to the one with partner function say 'SP' and then pull out the address so that its the correct address and the address should be printed always , it cant be left blank.

Is there a way we can chnage this is-address-addrnumber while running the form internally in the code itself so that it changes the address number and prints correctly.

Right now if I try adding the code to chnage is_addres-addrnumber from the interface to some other number it gives an erro on form saying is_addres cannot be chnaged.

Thanks

Former Member
Not what you were looking for? View more on this topic or Ask a question