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

How to save long text using BAPI_SERVICE_CREATE?

Former Member
0 Likes
2,872

Dear Experts,

Please let me know how to create long text in service master using BAPI_SERVICE_CREATE?

I tried to create long text using BAPISRV_TEXT-CHANGE_ID = 'I' and result also successful. But Unable to UPDATE or modify once service is created.

please let me know to create and also update long text using BAPI_SERVICE_CREATE.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,389

Hi Janaraja,

For Update Service Master Long text use "BAPI_SERVICE_CHANGE" .

Regard's

Smruti

Dear Experts,

Please let me know how to create long text in service master using BAPI_SERVICE_CREATE?

I tried to create long text using BAPISRV_TEXT-CHANGE_ID = 'I' and result also successful. But Unable to UPDATE or modify once service is created.

please let me know to create and also update long text using BAPI_SERVICE_CREATE.

Thanks in advance.

8 REPLIES 8
Read only

Former Member
0 Likes
2,389

Dear Janaraja,

Pls check the Field Type must be of Same type as in BAPI...

The same Issue I faced but I found a field name KTEXT which solves my Issue also..

I think this wil help u..

Rgds,

Lokesh.

Read only

0 Likes
2,389

Dear Lokesh,

Can you please explain in detail? I created short and long text using bapi_sevice_create. How can I update the same?

Thanks in advance.

-Janaraja

Read only

Former Member
0 Likes
2,390

Hi Janaraja,

For Update Service Master Long text use "BAPI_SERVICE_CHANGE" .

Regard's

Smruti

Read only

0 Likes
2,389

Dear Smruti Ranjan Mohanty,

I tried BAPI_SERVICE_CHANGE to update long text and short text. But didn't work.

Please let me know how to make use of it?

Thanks in advance.

Read only

0 Likes
2,389

Hi Janaraja ,

Check below Screen .Shots (i.e. Update the Long and Shot Text).....

Finally Call "BAPI_TRANSACTION_COMMIT"  Save the Update Shot and Long Text .

Regard's

Smruti

Read only

0 Likes
2,389

Thank you Smruti Ranjan Mohanty. Your tips resolved my doubt.

Thanks again.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
2,389

Did you read the documentation of the field BAPISRV_TEXT-CHANGE_ID (see data element SRV_CHANGE_ID)?

- Suhas

Read only

Former Member
0 Likes
2,389

Yes Suhas Saha,

     I - Insert, U - Update, D - Delete. But "I" only working. Don't know how to use U and D once service created. Please let know how to make use of it.

Thank you.