cancel
Showing results for 
Search instead for 
Did you mean: 

select address?

Former Member
0 Kudos

in an secondary window adding a text node i need to select address form pa0006 how shall i go about it ? do i need code if yes then could any one send the code for this or otherwise :- its an hr req. the format should be

Mr.

Qtr No.

abc township

city,street

distt,

Regards

Somnath Choudhury

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

Somnath

firstly create a structure t_pa0006 with all the fields you have to print in the address i.e PERNR,SNAME (name of the person), STRAS(Qr.No & street) , ORT01(City),ORT02 (Dist).

This structure should be defined under the Tab TYPES of global definitions.

now under the tab global data define the itnernal table it_pa0006 TYPE REF TO the strucutre you ahve defined .

types : begin of t_pa0006,

pernr like pa0006-pernr,

sname like pa0001-sname,

stras like pa0006-stras,

ort01 like pa0006-ort01,

ort02 like pa0006-ort01,

end of t_pa0006.

now under the tab INITIALIZATION

you can write the select queires in order to get the data in the int table it_pa0006 from pa0001 and pa0006.

now create a text and drag and drop the respective feilds in that text from the global fields.

reward points if helpful.

Regards

Zarina

Former Member
0 Kudos

ya u r rite u can fetch address record from table pa0006.

and show it in as given format.

Former Member
0 Kudos

how?? what shall i include in text .... thats my problem