cancel
Showing results for 
Search instead for 
Did you mean: 

B1i saveDraftToDocument

StefanoCammilli
Explorer
0 Kudos
866

Hi all,

i want to undestand if is possibile to save a draft definitively with B1i.

Using DI you have the saveDraftToDocument method.

I've found this topic SCN.SAP archive Topic but it gives not details at all.

For example: i have Sales Invoice Draft so what i expect is to use some object/service as outbound to B1, using the saveDraftToDocument method passing the draft Entry.

Is there a way to do it with the integration framework?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert

Hi Stefano Cammilli,

Can you give it a try? Let's say you want to create the final document using the Draft Number 21, use an atom as this:

ATOM: B1 Object
SysId: #0010000XXX
Method: #saveDraftToDocument
Object Identifier: #112
Key Name: #DocEntry
Key Value: #21

The other fields and the payload should be unchanged.

Hope it helps!

Kind regards,

ANKIT CHAUHAN

SAP SME Support

StefanoCammilli
Explorer
0 Kudos

Hi Ankit,

thank you for your suggestion, it worked fine.

Regards

Stefano.

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Stefano Cammilli,

Please close the question by marking the correct answer.

Kind regards,

ANKIT CHAUHAN

SAP SME Support

Answers (0)