2008 Dec 10 7:34 AM
hi
i'm trying to create a invoice when a pgi for the delivery is done. output type is all set configured right but the issue is that related to locks. when the pgi is done the delivery number is locked by the internal session and the output control routine calls the form routine and triggers the created trfc for processing inovice creation by BDC method. neither bdc or bapi helps in this case as the delivery number cannot be used as being locked by the process triggered earlier. is there anyother way to overcome this suituation?
thkx
Prabhu
2008 Dec 10 8:16 AM
You can use some BAdI which is trigerred after PGI OR
You can submit background job in your custom called routine.
This job can check when delivery is released and than proceed.
Regards,
Mohaiyuddin
2008 Dec 10 8:16 AM
You can use some BAdI which is trigerred after PGI OR
You can submit background job in your custom called routine.
This job can check when delivery is released and than proceed.
Regards,
Mohaiyuddin
2008 Dec 10 8:19 AM
HI
thkx for ur input. yes i wanted too for the backgrd job but somehow i wanted to try capturing the status of the output type...incase when invoice is not created successfully. now i got two option like creting idoc and the last one is backgrd job. but still looking into other possibilites
2008 Dec 10 8:35 AM
Maybe you can use Form attached to capture status and background job to create Invoice..
Regards,
Mohaiyuddin