ankitkediasite.files.wordpress.com · web view- are objects created by user in sap erp and...

21
BOBJ for following documents Freight Unit & Freight Order/Freight Booking --> /SCMTMS/TOR Forwarding Order --> /SCMTMS/TRQ Important Transaction Codes /N/BOBF/CONF_UI --> To view the full landscape of the system /N/BOBF/CUST_UI --> For all custom developments /N/BOBF/TEST_UI --> Data Browser Transaction --> /N/BOBF/CONF_UI There are only 20 Business Objects in SAP TM and 2 of the most important BOBJ's are marked in the image above. When we double click on a BOBJ, following screen appears below. TRQ --> Forwarding Order and TOR --> Freight Order

Upload: trantram

Post on 15-Apr-2018

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

BOBJ for following documents Freight Unit & Freight Order/Freight Booking --> /SCMTMS/TORForwarding Order --> /SCMTMS/TRQ Important Transaction Codes/N/BOBF/CONF_UI --> To view the full landscape of the system/N/BOBF/CUST_UI --> For all custom developments/N/BOBF/TEST_UI --> Data Browser Transaction --> /N/BOBF/CONF_UI

There are only 20 Business Objects in SAP TM and 2 of the most important BOBJ's are marked in the image above. When we double click on a BOBJ, following screen appears below. TRQ --> Forwarding Order and TOR --> Freight Order

Page 2: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,
Page 3: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,
Page 4: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

In the above image, the objects that you see under the Root are related to the UI screen that we see using NWBC in SAP TM. Example - Compare the two screens above STAGE object under the Root reflects the information under the STAGES tab in the UI screenPROFITANALYSIS object under the Root reflects the information under the PROFITABILITY tab in the UI screenTRANSPORTATIONCHARGES object under the Root reflects the information under the CHARGES tab in the UI screenSimilarly, BUPA_BO, LOC_BO_ADDR_ROOT objects under the Root reflects the information under the BUSINESS PARTNER Tab in the UI Screen Each BOBJ has only one ROOT NODE.

Page 5: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

Combined Structure --> Data Structure of a Node,

Is the Node Instance Key (KEY), Has the Key of the Direct Parent (PARENT_KEY), Has the Key of Related BOBJ Instance (ROOT_KEY)

Data Structure --> Has the data structure of the node.Transient Structure --> Has the data at Runtime only.Extension Include --> Has Additional Custom Fields (Place where Custom Fields can be added)

Page 6: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

Database Table - Table where the Data is stored related to the BOBJ

Business Objects - We all know what it is, if not - please do not proceed further, this document is not intended for you.Dependent Objects is linked to a Business Object and cannot exists on its own. They exists only in context of another Business Object. Example - Transportation Charges, Attachments, etc..Master data Objects - are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners, materials, etc

Page 7: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

Meta Data Objects are customizing elements - example - Freight Unit Building Rule, Planning Profile, etc… BOPF Design Principles Clear separation of Business Logic and Data Buffer Structuring of Business Logic in to small parts - with clear segregation between CHANGING and CHECKING logic

ACTIONDETERMINATIONVALIDATIONQUERY Association

Page 8: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

Direct, Unidirectional, binary relationship between two BOBJUsed to Navigate from One Node to AnotherCan be nodes within BOBJ or different BOBJ (Cross BOBJ Association)Can have parameters to filter the resultCan be defined only between 2 nodes and 1 defined direction

ACTIONOperation Performed on that Node Can be used for allowing external triggering of a business logicTo trigger and action, we must specify - Key of the instances on which this action is to be performed and any input parameter that may be requiredCan only be performed on the number of instances defined in the cardinality

Page 9: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

Double Click on the Implementing Class

Page 10: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

The Parameters belonging to the methodIT_KEY is the GUID of the Node on which this determination is triggered.IO_READ is to read the data of that nodeIO_MODIFY is to modify the data of that nodeEO_MESSAGE to display messages

This Action can be done at CREATION …more details on this below DETERMINATIONDetermination Class has many methods inside it and we can see in the code of those methods how values are computed and updated,

Page 11: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

Mostly used for calculations - to compute data that can be derived from the values of other attributes

Persistent Determination - Changes are written awayTransient Determination - Data only used temporarily (Only at runtime)

Must indicate for each determination - whether it is for UPDATE/DELETE/LOAD or CREATE

Execution Time for Determination must be mentioned -->

Page 12: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

Often Used --> After Modify, After Validation

VALIDATION Is an Internal Checking of Business Logic on the BOBJUsage

Checks if an ACTION is allowedChecks is a BOBJ is consistent

TRIGGER

Page 13: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

Action CallTrigger Node (A change of attribute on that node will trigger the action)

Double click on the class interface

Page 14: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

Very Simple Logic that we can read in the code

Page 15: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

The above call method allows to insert the message wherever required QUERIESAllows us to perform search on BOBJ and provides the point of access Search parameters are predefined.Result is a set of all record id's that matched the criteria and can also be predefined

Page 16: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

SERVICE MANAGER

Choose and Object -------> Choose an option ----> Your choice (Freight Order /Forwarding Order) (Retreive, DO Action, Modify, Query, etc…) (Forward Order, Query, etc….) The Constants Interface

Page 17: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

Double click on the class interface and look at the attributes tab.Click on the button highlighted

Page 18: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,
Page 19: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,

QUERIES

Page 20: ankitkediasite.files.wordpress.com · Web view- are objects created by USER in SAP ERP and transferred to TM by CIF interface or created directly in TM - example - location, partners,