cancel
Showing results for 
Search instead for 
Did you mean: 

Table storing Legal Control License number for Document

Former Member
0 Kudos

Hi All,

Can you please help in providing details on table which store license numbers and license type assigned to a document ( says Sales Order/ Delivery). These are the licenses which are assigned to these documents as part of Legal control license determination.

I need to show these actual license assigned on the form output in ECC.

Regards,

Amit

Accepted Solutions (1)

Accepted Solutions (1)

former_member131774
Contributor
0 Kudos

Hi Amit,

Table store license assigned to document /SAPSLL/LEGCON.

Table store license information (license number, license type) /SAPSLL/LCLIC

Best regards,

Vincent

Former Member
0 Kudos

How do you retrieve assigned document number from /SAPSLL/LEGCON.

Former Member
0 Kudos

Amit -

If you start with your feeder system reference document you can do the following:

Table /sapsll/corref field refno will contain your feeder system reference document.

Using /sapsll/corref field guid_mobj you will obtain the internal gts customs document number

Next go to table /sapsll/cuit and use the /sapsll/corref-guid_mobj in field guid_cuhd.  Field guid_cuit will give you the internal identifiers for the line items in your customs document.

Then you can go to table /sapsll/legcon and input your /sapsll/cuit-guid_cuit value(s) into field guid_pobj

Keep in mind this only works if your customs document is created and saved.  If you are triggering your form in ECC at the time you are saving a sales order or delivery this will not work.

Hope that helps.

Rachael

former_member289890
Participant
0 Kudos

/SAPSLL/LCLIC stores the License header data.  Can I find a license number for a customer in /SAPSLL/LCLIC if custom document is not available ?

Answers (0)