2006 Nov 22 7:01 PM
I have MM01,ME21 and VA01 to b done in BDC,i have to get the sales text n purchase text from MM01 to the other two...................tell how the three function modules r used n wat parameters r to b passed n wat r the tables TLINE and THEAD.wat r they used for .....please let me konw.................
Thanks.
2006 Nov 22 7:23 PM
2006 Nov 22 7:23 PM
2006 Nov 22 7:28 PM
Hi,
ID = BEST
LAN = EN
NAME = (You Material No)
OBJECT = MATERIAL
call function 'READ_TEXT'
exporting
id = ID
language = LAN
name = NAME
object = OBJECT
tables
lines = lt_textlines
exceptions
not_found = 1.
For gettting id please go thru this way.
1. Go into the PO or Material document
2. Go to the text tab (item or header - depends what u want).
3. Double click into the required text.
4. Click the "GO TO" menu option.
5. click Header.
here find the info needed
aRs
2006 Nov 22 8:03 PM
hi ,
here I am giving you some solutions try to execute inthis wasy
declare an intenatale like thead
x_header TYPE thead
Pass this varible in calling READ_TEXT
in importing paramter for the tables lines option
after this, pass this text in to one string or some filed, if ur having more than one line then you have to loop this string here
pass this filed in to bdc like hardcode, pass this value to the corresponding filed.
If you find it useful mark the points
Regards,
Naveen
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |