Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with SHDB recording

carlos_laborda
Explorer
0 Likes
1,462

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.

3 REPLIES 3
Read only

sandip_panchal
Explorer
0 Likes
954

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..

Read only

Former Member
0 Likes
954

Hi,

you can validate the field KNA1-STCD1 and the problem is solved.

Regards

Read only

Former Member
0 Likes
954

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