SAP Note 1111161 - FAQs when you are working with specification BAPIs

Composant : Specification Management -

Solution : https://service.sap.com/sap/support/notes/1111161 (Connexion à SAP Service Marketplace requise)

Résumé :
La note SAP aborde les problèmes liés aux BAPIs dans le composant Sécurité des Produits, spécifiquement dans la gestion des spécifications. Les principaux problèmes de BAPI discutés incluent l'impossibilité d'ajouter des spécifications avec BAPI_BUS1077_CREATE, les changements ne prennent pas effet après l'utilisation de BAPI_BUS1077_CHANGE sans erreurs, et les problèmes de performance avec BAPI_BUS1077_GETDETAIL. Les solutions intègrent l'utilisation de champs clés auxiliaires tels que PRIMARYKEY et FOREIGNKEY dans BAPI_BUS1077_CREATE, assurant que BAPI_TRANSACTION_COMMIT est appelé pour persister les données, et gérant les grands ensembles de données avec précaution. Des séquences d'appel de modules adéquates et des vérifications systématiques pour les entrées d'identifiants en double sont mises en évidence pour optimiser la performance et l'intégrité des données.

Mots Clés :
sub_header ident_header matjoin prop_header prop_val prop_data read, terms frequently asked questionsq+aperformanceruntimecheck, bapi_bus1077_create bapi_bus1077_change bapi_bus1077_delete bapi_transaction_commit bapi_bus1077_savefrombuffer bapi_bus1077_getdetail, primarykey foreignkey flgprimkey flgfrgnkey, runtime errors occur dependent, read phrase texts, function module bapi_transaction_commit, customer-defined program, runtime problem occurs, primary key relationships

Notes associées :

1564132Authorization error for class type 100 is issued only once
1559662Unclear message: "Entry in field &1 required"
1556732(B)API may not report old characteristic values after lock
1555822Creating several relationships in a (B)API call
1537943Usage not displayed for restrictive authorizations
1534533BAPI_BUS1077_GETLIST, error CX_SY_DYN_CALL_ILLEGAL_TYPE
1526269EH&S Expert incorrectly displays an error
1520381BAdI messages missing in C1F5_SPECIFICATIONS_READ
1509009(B)API cannot generate sorting for identifiers
1505911API changes referenced value assignments
1494425Delete (B)API deletes inherited value assignment instances
1490665Reading specifications takes a long time
1484936Internal system error when copying specifications
1457612Meaningless status values displayed in scope of application
1439583BAPI_BUS1077_CREATE too slow for large amt of packaging data
1439441BAPI msg "Invalid reference value in field &1" has no value
1438416Specifying decimal places for concentrations for components
1433872Slow processing with large no. of value assignment instances
1414058BAPI_BUS1077_CHANGE does not make any changes
1411237Improvements in the specification API
1379553Insufficient selection parameters for BAPI_BUS1077_GETLIST
1376074Specification read API, combination inheritance & reference
1352887BAPI_BUS1077_GETLIST outputs incorrect identifiers
1335123Dialog error message when you submit a locked change number
1321656Data inconsistency when value assgmt instance is inherited
1320811Using the change BAPI to change long texts
1301213Existence check for change numbers
1283732Error in read/delete API when several data records entered
1247216Specification BAPI/API and inheritance: Important notes
1074977Example programs for specification BAPIs
827093Inheritance filter logic ignores future changes
807938Inheritance of identifiers cannot be extended
800918Rules for API programming with SAPLC1F2, SAPLC1F5
663941Duplicate check for identifiers with long texts