on 11-06-2006 9:32 AM
Hi,
I need help with my BDC program.
This is for transaction VF01 - automatically create a credit note.
There are only 2 fields that i will use, billing type and document number. As for billing type, i want to make sure its always constant at YG2 and for document number, i will extract from a vbrk-vbeln.
There is no file uploading involved.
I am having touble with both fields.
Can anyone help with the coding?
Thanks in advance.
hi.. yes, the batch is created in SM35.
there is a problem with this part of the code:
PERFORM bdc_field USING 'KOMFK-VBELN' "SD document number
it_display-vbeln.
the value from it_display-vbeln does not update komfk-vbeln. there is a value in it_display-vbeln.
Message was edited by: Charlene Tan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Charlene...is u again..hehe
your coding:
perform bdc_field using 'KOMFK-VBELN(01)'
it_display-vbeln.
I think your internal table values it_display-vbeln is overwriting the values in 'KOMFK-VBELN(01)'. When the coding is 'KOMFK-VBELN(01)', it means KOMFK-VBELN is always pointing on line item no 1. If you wish to pass your value to line item no 2, please use a counter and assign it to KOMFK-VBELN.
User | Count |
---|---|
101 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.