Professional Documents
Culture Documents
Every service line will have a package number assigned to it and every package number has a
sub-package number assigned to it.
It is the subpackage number that will have all the service line item information filled in it (like
unit price,value,material group etc,) so filling this is very important.
ESLL is the table where all the package realted data is saved for services. It will have service line
item related details.
As we are using the scenario where a PO is created from PR,for filling the the table POSERVICES
we can use the ESLL entries of the PR. First get the package number of the PR line item(this
information is available in EBAN table eban-packno). Pass this package number to ESLL table
and get the corresponding sub-package number.
Pass this sub-package number to package number field of ESLL and get all the service line item
details like unit price,value,material group etc.
Every service line item should have two entries in this table, 1 for package number and 2 for
subpackage number
1'st entry:
poservices-pckg_no = esll-packno. "Package number
poservices-line_no = esll-introw. "Package Line number
poservices-outl_ind = esll-package. "If this is X then it is a service line( because
limits also have package numbers, this will act
as differentia
tor)
poservices-subpckg_no = esll-sub_packno. "Sub-Package number
2nd entry:
poservices-pckg_no = esll-sub_packno. "Sub-Package
number
poservices-line_no = esll-introw. "Sub-Package line
number
poservices-quantity = pass quantity(can use esll entry) "PO service
quantity
poservices-base_uom = pass UOM(can use esll entry) "Unit of measure
poservices-price_unit = pass Unit Price(can use esll entry) "Unit Price
poservices-gr_price = pass Net Value(can use esll entry) "Net value
poservices-short_text = esll-ktext1. "Short text
poservices-matl_group = esll-matkl. "Material Group
poservices-pln_pckg = esll-sub_packno "Sub-Package
number
poservices-pln_line = esll-introw. "Sub-Package line
number
The above mentioned are the minimum required fields that has to be passed.
A: When a Shopping cart is created in portal a PR will be created in ECC corresponding to it.
When a PO is created in ECC refering to this PR, in the Shopping cart also this PO number
should be update in the related documents tab.
Only when you pass the above two fields this will happen.
As mentioned above this table will have the acounting information of the service line. This table
will have only one entry corresponding to the service line.
The accounting information of a service line is stored in the table ESKL with reference to sub-
package number of the above service line item.
So take the above sub-package number, pass it to the package number field of the ESKL table
and get the accounting details.
This way both the services tables should be filled and passed to BAPI.
*Note: Along with these tables all the required tables as shown in the above screen shot are
also to be filled for the BAPI to work. Here we only covered service realted data.