Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
PEPPOL (Pan-European Public Procurement Online) enables trading partners to exchange standards-based electronic documents over the PEPPOL network, based on a "4-corner model".

PEPPOL Access Points connect users to the PEPPOL network and exchange electronic documents based on PEPPOL specifications. Buyers and vendors are free to choose their preferred single access point provider to connect to all PEPPOL participants already on the network through a "connect once, connect to all" principle.

For more information, you can refer to SAP Note 2915144.

PEPPOL BIS Code Lists in SAP Business One DI API:

What codes/values should be entered for each of the PEPPOL BIS Code Lists, you will need to get that knowledge from the following link https://docs.peppol.eu/poacc/billing/3.0/codelist and experts on its interpretation, so you can assign the code to the relevant SAP Business One Electronic format.

PEPPOL BIS Code Lists can be accessed in SAP Business One from the following path Administration → Setup → Electronic Documents → PEPPOL BIS Code Lists.

PEPPOL BIS Code Lists is exposed as a Service Type object in DI API i.e. IdentificationCodeService.

Here is how to use the IdentificationCodeService object in SAP Business One DI API:

  • Add a PEPPOL BIS Code using DI API:


SAPbobsCOM.CompanyService oCompanyService = oCompany.GetCompanyService();
SAPbobsCOM.IdentificationCodeService oBISService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.IdentificationCodeService);
SAPbobsCOM.IdentificationCode oBISCode = oBISService.GetDataInterface(SAPbobsCOM.IdentificationCodeServiceDataInterfaces.icsIdentificationCode);
SAPbobsCOM.IdentificationCodeParams oAddedBISInfo;
oBISCode = oBISService.GetDataInterface(SAPbobsCOM.IdentificationCodeServiceDataInterfaces.icsIdentificationCode);
oBISCode.Codelist = SAPbobsCOM.IdentificationCodeTypeEnum.idctItemCommodityClassification;
oBISCode.Code = "BIS1";
oBISCode.Description = "BIS Code 1 Description created via DI";
oBISCode.SchemaCode = "BISCode1SchemaCodeA";
oBISCode.SchemaDesc = "BIS Code 1 Schema Code A Desc";
oAddedBISInfo = oBISService.Add(oBISCode);


  • Update a PEPPOL BIS Code using DI API:


SAPbobsCOM.CompanyService oCompanyService = oCompany.GetCompanyService();
SAPbobsCOM.IdentificationCodeService oBISService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.IdentificationCodeService);
SAPbobsCOM.IdentificationCodeParams oBISCodeToBeUpdated = oBISService.GetDataInterface(SAPbobsCOM.IdentificationCodeServiceDataInterfaces.icsIdentificationCodeParams);
SAPbobsCOM.IdentificationCode oUpdatedBISCode;
oBISCodeToBeUpdated.AbsEntry = 1;
oUpdatedBISCode = oBISService.GetByParams(oBISCodeToBeUpdated);
oUpdatedBISCode.Description = "Updated Description for BISCode1SchemaCodeA";
oBISService.Update(oUpdatedBISCode);


  • Delete/Remove a PEPPOL BIS Code using DI API:


SAPbobsCOM.CompanyService oCompanyService = oCompany.GetCompanyService();
SAPbobsCOM.IdentificationCodeService oBISService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.IdentificationCodeService);
SAPbobsCOM.IdentificationCodeParams oBISCodeToBeDeleted = oBISService.GetDataInterface(SAPbobsCOM.IdentificationCodeServiceDataInterfaces.icsIdentificationCodeParams);
oBISCodeToBeDeleted.AbsEntry = 1;
oBISService.Remove(oBISCodeToBeDeleted);