cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unable to change existing licenses in mass in background

fibonakki
Member
0 Likes
797

Hi,

I am facing a situation in my project with a requirement in which it's required to change existing licenses in background with delta like Validity period. This requirement is applicable because user demands a facility to close existing licenses in mass & this will be done via an external interface with the help of XML from PI/PO. Now i can create license successfully with the help of License_create FM but i don't find a FM / BAPI to change existing license. We tried using BDC recording of t.code /n/sapsll/lclic02 to do the same but it fails when run in background. What could be the standard program / FM to change an existing license?

Thanks & Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

derek_yang
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Tarun,

Take a look class /SAPSLL/CL_LCLIC, and use method MAINTAIN_SUBOBJECT and MAINTAIN_OBJECT to do whatever you want. It is the object layer for license. You need to first load the object by PK/SK, fill the structure you wanted, and call the maintain method.

Regards,

Derek