Application Development and Automation 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: 
Read only

BDC

Former Member
0 Likes
663

Hi Experts,

I got a doubt during recording on MM01 tcode.

IN BDCSTRUCTURE wa have fval whose size as 80 character.

If we select saletext in MM01  it as a field where we can enter n no of character.

How is it possible in recording as the predefined size for fval is 80 character only.

Help me.

Thanks in Advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
625

I don't think that you can conveniently change long text is a BDC.  You should instead be using FM's from FG STXD  Such as:

READ_TEXT

DELETE_TEXT

INIT_TEXT

EDIT_TEXT

COMMIT_TEXT

SELECT_TEXT

SAVE_TEXT

RENAME_TEXT

READ_TEXT_INLINE

EDIT_TEXT_INLINE

PRINT_TEXT

REFER_TEXT

CHECK_TEXT_NAME

CHECK_TEXT_OBJECT

CHECK_TEXT_ID

CHECK_TEXT_LANGUAGE

CHECK_TEXT_AUTHORITY

READ_REFERENCE_LINES

RETRIEVAL_TEXT

COPY_TEXTS

PRINT_TEXT_ITF

DELETE_TEXT_FROM_CATALOG

IMG_EDIT_TEXT

READ_STDTEXT

NLS_THAI_CHARLEN

INTTAB_SAVE_TEXT

INTTAB_COMMIT_TEXT

INTTAB_DELETE_TEXT

FREE_TEXT_MEMORY

SEARCH_TEXT

CHECK_INCLUDE_ALLOWED

GET_TEXT_MEMORY

RETRIEVAL_MULTIPLE_TEXTS

RENAME_TEXT_ARRAY

DELETE_TEXT_FOR_ARCHIVE

You will need to set up the import values.  I suggest that you create a long text on a material and then put a break on read_text.  Run mm03 and goto the long text you created and it will stop there so you can see how the input to the FM was specified.

Neal

PS: is there a reason that you are not using a BAPI for this?

3 REPLIES 3
Read only

Former Member
0 Likes
625

What you are talking about changing is the long text.

Neal

Read only

Former Member
0 Likes
626

I don't think that you can conveniently change long text is a BDC.  You should instead be using FM's from FG STXD  Such as:

READ_TEXT

DELETE_TEXT

INIT_TEXT

EDIT_TEXT

COMMIT_TEXT

SELECT_TEXT

SAVE_TEXT

RENAME_TEXT

READ_TEXT_INLINE

EDIT_TEXT_INLINE

PRINT_TEXT

REFER_TEXT

CHECK_TEXT_NAME

CHECK_TEXT_OBJECT

CHECK_TEXT_ID

CHECK_TEXT_LANGUAGE

CHECK_TEXT_AUTHORITY

READ_REFERENCE_LINES

RETRIEVAL_TEXT

COPY_TEXTS

PRINT_TEXT_ITF

DELETE_TEXT_FROM_CATALOG

IMG_EDIT_TEXT

READ_STDTEXT

NLS_THAI_CHARLEN

INTTAB_SAVE_TEXT

INTTAB_COMMIT_TEXT

INTTAB_DELETE_TEXT

FREE_TEXT_MEMORY

SEARCH_TEXT

CHECK_INCLUDE_ALLOWED

GET_TEXT_MEMORY

RETRIEVAL_MULTIPLE_TEXTS

RENAME_TEXT_ARRAY

DELETE_TEXT_FOR_ARCHIVE

You will need to set up the import values.  I suggest that you create a long text on a material and then put a break on read_text.  Run mm03 and goto the long text you created and it will stop there so you can see how the input to the FM was specified.

Neal

PS: is there a reason that you are not using a BAPI for this?

Read only

Former Member
0 Likes
625

Hi,

As suggested by Neal is correct. Use FM 'SAVE_TEXT' followed by FM 'COMMIT_TEXT' to upload Long-Text.

Shailesh