on 11-18-2008 9:55 AM
how to use this function module
LB_BIL_INV_OUTP_READ_DBDATA'.
EXPORTING
it_bil_number = '90000763'
IF_LANGUAGE = sy-LANGU
IS_DB_DATA_TO_READ =
IF_READ_MODE = ' '
IF_REFRESH_BUFFER = ' '
IMPORTING
ES_BIL_OUTP_DBDATA = LBBIL_OUTP_DBDATA1
EXCEPTIONS
RECORDS_NOT_FOUND = 1
RECORDS_NOT_REQUESTED = 2
OTHERS = 3
here iam giving structure name as LBBIL_OUTP_DBDATA1 it stores all vbrk vbap etc all structure
but still it is going to short dump .here it is type conflict what should we doo.
Hi,
Try this one
U don't pass the Bill Number Directly.Because it_bil_number is a table type.
DATA : BEGIN OF BIL,
VBELN LIKE VBRK-VBELN,
END OF BIL.
DATA it_bil_number LIKE STANDARD TABLE OF BIL .
DATA : ES_BIL_OUTP_DBDATA type LBBIL_OUTP_DBDATA.
BIL-VBELN = '0090005195'.
APPEND BIL TO it_bil_number.
CALL FUNCTION 'LB_BIL_INV_OUTP_READ_DBDATA'
EXPORTING
it_bil_number = it_bil_number
IF_LANGUAGE = SY-LANGU
IS_DB_DATA_TO_READ = IS_DB_DATA_TO_READ
IF_READ_MODE = ' '
IF_REFRESH_BUFFER = ' '
IMPORTING
ES_BIL_OUTP_DBDATA = ES_BIL_OUTP_DBDATA
EXCEPTIONS
RECORDS_NOT_FOUND = 1
RECORDS_NOT_REQUESTED = 2
.
U can get the data in ES_BIL_OUTP_DBDATA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Make sure the declarations of LBBIL_OUTP_DBDATA1 is same as that of ES_BIL_OUTP_DBDATA. You can check the declarations of this structure in SE37..display and check in Import Tab.
Regards,
Vishwa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.