cancel
Showing results for 
Search instead for 
Did you mean: 

direct billing in ERP (during doogs issue)

Former Member
0 Kudos

Hellow!

I need to run creating of billing document during material issue (from delivery 601).

I have found what it is possible

http://help.sap.com/saphelp_crm70/helpdata/en/46/55f81291441ca4e10000000a155369/frameset.htm

But It looks like this is CRM scenario.

Is it posible create billind doc automatocally from delivery during GI.

By the way we use buseness parrner (BP T-code) to support our customers so we could activate this

Andrey Garshin.

Accepted Solutions (0)

Answers (3)

Answers (3)

marcin_milczynski
Contributor
0 Kudos

Hi,

Why don't you schedule billing background job in VF06 running let's say every 15 minutes? Triggering invoice creation during GI posting does not seem to be best practice from Seggregation of Duties perspective.

Anyway you need to execute the VF01 transaction after the COMMIT of GI is executed, so genration of the billing doc by ouput from delivery is not possible, due to fact that the output is processed in an update task. If you have ECC6.0 system, you can catch the after-commit event TRANSACTION_FINISHED of system class CL_SYSTEM_TRANSACTION_STATE and tirgger the VF01 transaction with known deliver number from there.

Regards,

Marcin

Former Member
0 Kudos

Hi,

It is possible by running BDC in background. Userexit at the time of PGI should trigger this BDC. Delivery number would be fetched by the program and BDC would be executed. The enhancement point should be after delivery number is generated.

Else -

You can create an output type that would be triggered immediately after PGI is done and delivery saved. Attach a program to the output processing program.

Check this -

Thanks

Lakshmipathi
Active Contributor
0 Kudos

You can try with USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)

G. Lakshmipathi