2011 Mar 17 9:40 AM
Hi experts:
I have created a SHDB recording for t-code FD01. In this transaction, a OBA5 validation (functional area 8B) is active to avoid duplicate KNA1-STCD1 numbers when creating new customers.
My problem is:
I have created my SHDB recording marking the 'Not a BI Session' flag. When processing the recording, it works fine and the validation is working too.
But, when creating program from recording, using BDC_OPEN_GROUP / BDC_CLOSE_GROUP /BDC_INSERT and processing the BDC group in SM35, the recording is not working , because it seems to be using other dynpros.
In fact, the recording is usind dynpros SAPMF02D 7015 and 7000, but when processing the BDC group it is expecting dynpro SAPMF02D 0105.
My first option to solve this was creating a new SHDB recording without marking the 'Not a BI Session'. This works fine because the dynpros are OK, but the problem is: the KNA1-STCD1 validation doesn't work and it is possible to create customers with duplicates STCD1 numbers.
I would need your help to answer two questions:
Why the validation is working fine in the first recording but not in the second?
Why the first recording works fine when processing in SHDB transacction but not when creating a Z program?
Many thanks in advance for your help.
BR,
Carlos.
Hi experts:
I have created a SHDB recording for t-code FD01. In this transaction, a OBA5 validation (functional area 8B) is active to avoid duplicate KNA1-STCD1 numbers when creating new customers.
My problem is:
I have created my SHDB recording marking the 'Not a BI Session' flag. When processing the recording, it works fine and the validation is working too.
But, when creating program from recording, using BDC_OPEN_GROUP / BDC_CLOSE_GROUP /BDC_INSERT and processing the BDC group in SM35, the recording is not working , because it seems to be using other dynpros.
In fact, the recording is usind dynpros SAPMF02D 7015 and 7000, but when processing the BDC group it is expecting dynpro SAPMF02D 0105.
My first option to solve this was creating a new SHDB recording without marking the 'Not a BI Session'. This works fine because the dynpros are OK, but the problem is: the KNA1-STCD1 validation doesn't work and it is possible to create customers with duplicates STCD1 numbers.
I would need your help to answer two questions:
Why the validation is working fine in the first recording but not in the second?
Why the first recording works fine when processing in SHDB transacction but not when creating a Z program?
Many thanks in advance for your help.
BR,
Carlos.
2011 Mar 17 12:41 PM
Hi,
I think you are recording in different system and creating program in different system.
So system in which you are creating program , for t-code you are executing have different screen.
so you are facing this problem..
2011 Mar 17 2:23 PM
Hi,
you can validate the field KNA1-STCD1 and the problem is solved.
Regards
2011 Mar 21 6:25 PM
Hi,
Problem with SHDB recording
According to your query,
You follow the below link screens, It will give an idea
http://www.erpgenie.com/sap-technical/abap/shdb-record-a-transaction
Regards,
Sekhar
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |