2014 Aug 13 4:45 PM
Hi, experts.
I need your help on this:
We are facing a short dump when calling BAPI_CONTRACT_CREATE.
1. The programa that calls the BAPI uses the tables ITEM_COND_VALIDITY and ITEM_COND_VALIDITYX to set the validity of a item condition.
2. I have noticed that if I empty these two tables, the contract is created, not short dump occurs.
3. It has been happening since the Sistem upgrated to the latest EhP. Before it the program was working fine.
Here is how the values are filled in those tables:
ITEM_COND_VALIDITYX-item_no = 00010.
ITEM_COND_VALIDITYX-item_nox = c_x.
ITEM_COND_VALIDITYX-valid_from = c_x.
ITEM_COND_VALIDITYX-valid_to = c_x.
ITEM_COND_VALIDITY-item_no = 00010.
ITEM_COND_VALIDITY-valid_from = p_date_from.
ITEM_COND_VALIDITY-valid_to = p_date_to.
Do you guy have any suggestion? Also, if I want to fill the field ITEM_COND_VALIDITY-SERIAL_ID how show I do it?
Best Regards,
Alm
Hi, experts.
I need your help on this:
We are facing a short dump when calling BAPI_CONTRACT_CREATE.
1. The programa that calls the BAPI uses the tables ITEM_COND_VALIDITY and ITEM_COND_VALIDITYX to set the validity of a item condition.
2. I have noticed that if I empty these two tables, the contract is created, not short dump occurs.
3. It has been happening since the Sistem upgrated to the latest EhP. Before it the program was working fine.
Here is how the values are filled in those tables:
ITEM_COND_VALIDITYX-item_no = 00010.
ITEM_COND_VALIDITYX-item_nox = c_x.
ITEM_COND_VALIDITYX-valid_from = c_x.
ITEM_COND_VALIDITYX-valid_to = c_x.
ITEM_COND_VALIDITY-item_no = 00010.
ITEM_COND_VALIDITY-valid_from = p_date_from.
ITEM_COND_VALIDITY-valid_to = p_date_to.
Do you guy have any suggestion? Also, if I want to fill the field ITEM_COND_VALIDITY-SERIAL_ID how show I do it?
Best Regards,
Alm
2014 Aug 13 6:08 PM
Check the format of the dates that you are sending it. they should be YYYYMMDD.
Neal
2014 Aug 13 6:40 PM
2014 Aug 13 8:48 PM
I'm afraid that you are going to have to tell us what that short dump says before we can help you further.
Neal
2014 Aug 13 8:51 PM
Also are your sure that the from date is less than the to date?
2014 Aug 13 10:59 PM
Alm S,
It looks you have to populate values for Fields
SERIAL_ID & COND_COUNT in both the structure
try to populate '0000000001' in serial_id & 01 in Cond_count field for ITEM_COND_VALIDITYX & ITEM_COND_VALIDITY table
Hope this will help
Raj Patel
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |