09-25-2008 1:22 PM
Dear All,
As per current layout already printing / display below information .
Name Already Printing
Street/House Already Printing
District Already Printing
City Already Printing
Region Already Printing
Post Code Already Printing
now I want
Name Already Printing
Street/House Already Printing
Street2 Need To Print
Street3 Need To Print
District Already Printing
City Already Printing
Region Already Printing
Post Code Already Printing
I have selected the data from adrc table.and it is selecting properly.
Now I have wrote in adress window is
street2 &adrc-str_suppl1&
street3 &adrc-str_suppl2&
but it is not printing in form.
when i debugg it. It shows ;TEXT command street2 stree3 is not defined.
please tell me what should i do?
09-25-2008 1:42 PM
As all the Address details
Name Already Printing
Street/House Already Printing
District Already Printing
City Already Printing
Region Already Printing
Post Code Already Printing
must be in /: ADDRESS and /: ENDADDRESS your fields are not getting printed.
So comment all the lines from ADDRESS to ENDADDRESS and define all the fields using DEFINE statement,
Then use subroutine to get all the details from the ADRC table.
09-25-2008 1:25 PM
hi,
check out your itab structure weather those two fields are specified or not and Check it out weather your itab is getting those 2 fields are not.
Regards,
Shankar.
09-25-2008 1:31 PM
Could it be that instead of using a normal user defined or default paragraph (the ones you normally use for printing data) you used the /: paragraph that's reserved for commands?
09-25-2008 1:42 PM
As all the Address details
Name Already Printing
Street/House Already Printing
District Already Printing
City Already Printing
Region Already Printing
Post Code Already Printing
must be in /: ADDRESS and /: ENDADDRESS your fields are not getting printed.
So comment all the lines from ADDRESS to ENDADDRESS and define all the fields using DEFINE statement,
Then use subroutine to get all the details from the ADRC table.
09-27-2008 12:51 PM
09-29-2008 8:04 AM
Hi
In SAP address details can be set in the minutest way but everything is not displayed while useing ADDRESS and ENDADDRESS because it gives priorities to fields. e.g. it will not display street or ther things if POBOX is given. These setting can be changed where you maintain the address. One method to solve your peoblem if you are using ADDESS and ENDADDRESS is to use LOCATION just before STREET field.
where you can assign Street to LOCATION and street2 to STREET.
Try if it solves your problem.
regards
Vijai
09-25-2008 2:40 PM
SAP Note 562015 contains an example of how to add the c/o field to your address with a BADI. You could adapt it to add Street2 and Street3.
09-25-2008 2:46 PM
09-29-2008 5:52 AM
Hi its possible that its not maintained ...
check in table for adrc-str_suppl1 ...
in debug mode check the value of adrc-str_suppl1