cancel
Showing results for 
Search instead for 
Did you mean: 

BDC : LONG Text upload in me31k

Former Member
0 Kudos

ME31k is the tcode for create contract.

After creating a contract a contract inumber is genereted by system.

Q1.How to capture the contract number ?If any fun module kindly tell.

Q2.How to upload long text in ME31K

Thanks

shyam

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

No idea ti retrieve the contract number.

I guess there is a FM.

For the long text upload use LSMW :

Take a look at help for long text :

<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm</a>

Hope this helps,

Erwan

Former Member
0 Kudos

Q1.How to capture the contract number ?If any fun module kindly tell.

If you are doing a CALL TRANSACTION, the messages returned by the BDCMSGCOLL structure will have the contract number.

Q2.How to upload long text in ME31K

I don't suggest to use BDC to upload the texts, rather write the code using the functions to update, see the Wiki link here which will explain the same.

https://wiki.sdn.sap.com/wiki/display/HOME/ABAP+General#ABAPGeneral-HowdoIcreatealongtextforadocumen...

Regards,

Ravi

Note - Please mark all the helpful answers