Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Material Master - Sales Text

dan_zegelien
Explorer
0 Kudos

I need to extract the sales text from the material master via Visual Basic. I can't find a BAPI to do this. Is there one or do I have to create one?

1 ACCEPTED SOLUTION

former_member156446
Active Contributor
0 Kudos

Hi check if this might help

BAPI_MOVE_DOC_TEXT_TO_TEXT

BAPI_MOVE_DOC_TEXT_TO_TEXT2

I found a class and a method:

CL_GUI_TEXTEDIT => GET_TEXT_AS_STREAM

or 

CL_GUI_TEXTEDIT => GET_TEXTSTREAM

4 REPLIES 4

former_member156446
Active Contributor
0 Kudos

This message was moderated.

0 Kudos

Hi There....

>

> via Visual Basic

former_member156446
Active Contributor
0 Kudos

Hi check if this might help

BAPI_MOVE_DOC_TEXT_TO_TEXT

BAPI_MOVE_DOC_TEXT_TO_TEXT2

I found a class and a method:

CL_GUI_TEXTEDIT => GET_TEXT_AS_STREAM

or 

CL_GUI_TEXTEDIT => GET_TEXTSTREAM

0 Kudos

J@Y, thanks for the help. I'm new to this, so I have a few questions. I looked in SE37 and both BAPI_MOVE_DOC_TEXT_TO_TEXT and BAPI_MOVE_DOC_TEXT_TO_TEXT2 are not remote enabled, do they need to be remote enabled in order for me to use them? I'm a little foggy on how these would return text, could you give an example?