cancel
Showing results for 
Search instead for 
Did you mean: 

Package number in service entry

sandeep_pv
Contributor
0 Kudos

Hi

I understand package number(PACKNO) is a unique number in service entry and also this is system generated.

In my case service entry should be created automatically from a third party system.

XI gets data from third party system and will put into BAPI - BAPI_ENTRYSHEET_CREATE.

Now XI will not get package number.

Now how service entry will be created? I have not tested this.

Anybody who worked in scenarios like this then please explain me in detail how system gets package number?

Should I need to do some custom in this BAPI for this?

Please advice.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In the case of service package created by BAPI the packno related fields

in structure BAPIESLLC are:

PCKG_NO PACKNO NUMC 10 0 Package number (ESLL-PACKNO)

LINE_NO SRV_LINE_NO NUMC 10 0 Internal line number (ESLL-INTROW)

have strictly internal character. The values for them are created

internally based on the current status of number range for PACKNO

and database entries for INTROW.

The best way is to enter some default values in these fields as this

is recommended in the note:

420334 BAPI_ENTRYSHEET_CREATE: Model for creation

Regards,

Edit

sandeep_pv
Contributor
0 Kudos

Many thanks.

When I tried creating a service entry via BAPI without entering packing number then it gave error.

When I entered packing number I was able to create it.

When data coming from XI to BAPI and if this doesn't have packing number then will it give error?

How this works?

Please advice.

Former Member
0 Kudos

Hi,

sorry, but I can only tell you that in BAPI's generally dummy service package numbers that are OUTSIDE

of SERVICE number range are used - this is on the R/3 side. You must fill a dummy packno into the service package for the entry sheet.

As the note 420334 mentions the main difficulty might be to find out the PLN_PCKG and the PLN_LINE

of the planned services in ENTRYSHEETSERVICES. These correspond exactly

to the ESLL-PACKNO and ESLL-INTROW of the service in the purchase order. when you create an entry sheet you take usually reference to a concrete PO item.

Also the external line number - EXT_LINE must be filled.

Regards,

Edit