on 03-16-2015 1:38 PM
Hi Everyone,
I need help.
You know that when a sales order is blocked by GTS due to SPL, Embargo or license, you cannot create delivery doc.
And when a delivery is blocked you cannot create a billing doc.
For debit note or credit note,
how can I block creating a billing doc when sales order is blocked by GTS???
Please advise. Thank you
Hallo Junko,
maybe you can use OSS note 579357 or use the FM /SAPSLL/CD_STATUS_GET directly. With the FM you can determine the Status of the order in GTS.
For example
call function '/SAPSLL/CD_STATUS_GET'
exporting
iv_application_Level = 'SD0A'
iv_sd_document_type = vbak-vbtyp
iv_sd_order_category = vbak-auart
iv_sd_document_number = vbap-vbeln
iv_sd_item_number = vbap-posnr
exceptions
subsequent_process_blocked = 1
others = 2
If the sy-subrc <> 0, then the order is blocked and you can throw a message like (e.g.
IF NOT ( SY-SUBRC IS INITIAL ).
MESSAGS ID '/SAPSLL/PLUGINR3'
TYPE 'E'
NUMBER 102 WITH vbap-vbeln
vbap-posnr
'is blicked in GTS'
RAISING error.
Hope that helps.
Regards
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dickerson,
Could you please elaborate more on your scenario? When do you do the Credit & Debit memo documents pass to GTS server I mean in which scenario you are transferring those documents into GTS?
I think it can be possible to block the Credit note & Debit note documents for further processing when they got blocked in GTS based on the Document type settings and Plug in settings in ECC itself.
Please give me more inputs for better understanding of your scenario so that I'll be able to give my thoughts on it positively.
With Regards
Srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srikanth
Thanks for your reply.
We use D/N for repair cost that will also be deducted from license depreciation.
When regular sales orders are blocked in GTS, user cannot create delivery.
However, since D/N does not require delivery doc, billing doc can be created even D/N is blocked.
My question to you is how system can check sales order status when creating billing doc of D/N and C/N.
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.