on 01-02-2009 5:49 AM
hi ppl,
I need to display the contact person in PO(medruck) .do we have any related table name or field name.The table name which i found is knvk.but this table is not used in medruck.Pls help me in this regard....
hi,
it will be in VBAP table. based on your vbeln you can search from this table.
thanks,
anupama.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no SD is not implemented here..anyways i got the result using subroutin..but here-
PERFORM GET_PERSON IN PROGRAM Z_CONTACTPERSON
USING &EKKO-LIFNR&
CHANGING &LF-NAMEV&
ENDPERFORM
Kind attention: &LF-namev&----> this value is not getting displayed in script
EPORT Z_CONTACTPERSON.
form GET_PERSON tables lt_lifnr structure itcsy
lt_NAMEV structure itcsy.
data: lf_lifnr type lifnr,
lf_person like knvk-NAMEV.
read table lt_lifnr index 1.
move lt_lifnr-value to lf_lifnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = lf_lifnr
IMPORTING
OUTPUT = lf_lifnr.
.
select single NAMEV from knvk into lf_person where lifnr = lf_lifnr.
endselect.
if sy-subrc = 0.
move 'lf_person' to lt_NAMEV-name.
move lf_person to lt_NAMEV-value.
modify lt_NAMEV index 1. ---> The customer name is updating here but not coming in PO o/p.
endif.
endform.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.