cancel
Showing results for 
Search instead for 
Did you mean: 

AMDP start routine - master data attributes management issue

former_member204732
Participant
0 Kudos

Hello SAP Gurus

We tried to remplace our classic start routine abap source code with AMDP source code

DELETE SOURCE_PACKAGE WHERE NOTIFICATN/BIC/ZSTATTSUP NE ''.

We have an issue to perform the where clause on the master data attributes with AMDP in start routine.

types:
begin of TN_S_OUT2, 
NOTIFICATN type /BIC/OINOTIFICATN, 
NOTIFICATN/BIC/ZSTATTSUP type /BIC/OIZSTATTSUP, 
end of TN_S_OUT2 . 

The following source code will works correctly - WHERE NOTIFICATN <> ''

OUTTAB   = SELECT * FROM :INTAB WHERE NOTIFICATN <> '';ERRORTAB = SELECT '' AS ERROR_TEXT, '' AS SQL__PROCEDURE__SOURCE__RECORD FROM DUMMY WHERE DUMMY <> 'X'; 

But if we want to perform the filter on a master data attributes this doesnot work. - NOTIFICATN/BIC/ZSTATTSUP <> ''

OUTTAB   = SELECT * FROM :INTAB WHERE NOTIFICATN/BIC/ZSTATTSUP <> '';ERRORTAB = SELECT '' AS ERROR_TEXT, '' AS SQL__PROCEDURE__SOURCE__RECORD FROM DUMMY WHERE DUMMY <> 'X'; 


As we use CTRL+Space to insert the fields in the where clause the master data attribute field is insert between " but it doesnot work.

OUTTAB   = SELECT * FROM :INTAB WHERE notificatn <> '';ERRORTAB = SELECT '' AS ERROR_TEXT, '' AS SQL__PROCEDURE__SOURCE__RECORD FROM DUMMY WHERE DUMMY <> 'X';


OUTTAB   = SELECT * FROM :INTAB WHERE "NOTIFICATN/BIC/ZSTATTSUP" <> '';ERRORTAB = SELECT '' AS ERROR_TEXT, '' AS SQL__PROCEDURE__SOURCE__RECORD FROM DUMMY WHERE DUMMY <> 'X';


Question :

Do you know how to fix this issue ?

Which source code do you use to manage master data attributes?

Kind Regards

D.D

Accepted Solutions (0)

Answers (0)