Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How Generate an Electronic Document using DI API working on SAP 9.3 PL 12

former_member665176
Discoverer
0 Kudos

Hi Experts,

Can you please help me?

I was generating documents in automatic with their electronic documents using DI API on SAP 9.2 with out problems, but when we change to SAP 9.3 PL12 the documents still generating in automatic but not their electronic documents.

In fact the value on "EDocGenType" still change to "generate" but is like if it dont take it more to create the electronic document.

I add part of my code that I use to generate the electronic document.

oORINA = cSBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oCreditNotes)

Folio = oRecSetH.Fields.Item("ReportID").Value

                If Folio = Nothing Or Folio = "" Then
                    oORINA.EDocGenerationType = 2
                Else
                    oORINA.EDocGenerationType = 0
                End If

Do I have to add more information in my code? or

The way to generate in automatic the electronic document is not the same for SAP 9.3 PL 12 version?

I really appreciate your help.

Kindly Regards.

  • SAP Managed Tags:
1 REPLY 1

0 Kudos

Hi Raúl.

Were you able to solve this?. I have the same problem but in my case the upgrade was from 9.3 PL5 to ver 10 FP2105 and it's not working.

Thanks!

  • SAP Managed Tags: