![]() ![]() Value 1 : BEBD Comparator 1 : = (Equal) Filter : AWTYP CONSTANTS : lc_msgtyp_e TYPE bapi_mtype VALUE 'E', We have BADI BADI_ACC_DOCUMENT and method : IF_EX_ACC_DOCUMENT~CHANGE (with below filter condition) in ECC which will process further to create accounting document. Valuepart1 = CONV valuepart( ls_billing_item ) ) ). Matnr = CONV matnr( ls_crmb_bdi_pr-product_id ) Netwr = shift_left( CONV char21( ls_crmb_bdi_pr-net_value ) ) * Populate Header value and pass it to the extensionĭATA(ls_billing_header) = VALUE zbilling_h( vbeln = CONV #( || )įkimg = shift_left( CONV char17( is_item-inv_qty ) ) IF NOT line_exists( ct_bapicrmparex[ be_head_no = cs_acc_achead-be_head_no * Header item would be append only once as this method is being triggered at item level * Only populate below extension values if there is an 'ZCND' tax present at item level Valuepart1 = CONV valuepart( ls_billing_cond ) ) ). Kwert = shift_left( lt_cond_db-kwert ) ).Ĭt_bapicrmparex = VALUE #( BASE ct_bapicrmparex ( be_head_no = cs_acc_achead-be_head_no * Populate condition type in conditions and pass it to the extensionĭATA(ls_billing_cond) = VALUE zbilling_cnd( kposn = CONV kposn( is_item-be_item_no ) It_item_no = VALUE prct_item_no_t( ( is_item-be_item_guid ) )ĭATA(lt_partner_std) = CORRESPONDING bill_acc_t_partner( lt_partner ). * Get Pricing conditions values against each line item Lc_billcnd_struct TYPE te_struc VALUE 'ZBILLING_CND'. Lc_billi_struct TYPE te_struc VALUE 'ZBILLING_I', Lc_billh_struct TYPE te_struc VALUE 'ZBILLING_H', CONSTANTS : lc_kschl TYPE kschl VALUE 'ZCND', So I created three separate DDIC structures in CRM and ECC both. Please refer below code snippets to demonstrate the functionality:įor my requirement, it was required to pass Header, Item and conditions details. Let’s create one implementation and put code in method IF_EX_BILL_ACC_IF~ENRICH_ACC_DOCUMENT to populate changing parameter (extension table) CT_BAPICRMPAREX. Solution: We have middleware accounting BADI (BILL_ACC_IF) which will pass the data to ECC during accounting document creation from CRM billing. So we were left with no option and achieved same by exploring the requirement through ECC USER-EXIT/ CRM middleware BADI, automatically after the standard process gets completed. But business was very stringent due to one it’s special case and wanted to inherit this custom requirement with the standard process. There might be one question can come up why it was at all required and believe me that we had a same question. Introduction: Recently we faced a scenario where it was required to create one more accounting document ( different document type) in ECC for CRM billing scenario and for a special case. SAP ABAP Online Test and Answers Pdf Download. These are very useful & Most Asked Questions in your certification Exam. Read all Online Mock Test Exam Question Bank for Beginners Freshers & Experienced.ġ. This data type has a default length of one and a blank default value.Ģ. A DATA statement may appear only at the top of a program, before START-OFSELECTION.ģ. If a field, NAME1, is declared as a global data object, what will be output by theĭATA: name1 like KNA1-NAME1 value ‘ABAP programmer’.Ĥ. Which of the following may NOT be modified using the ABAP Dictionary transaction?Ħ.Īll of these allow you to step through the flow of a program line-by-line except:ĥ. In a line of code, text-100, is an example of which type of text element?ħ. ![]() The editor function that formats and indents the lines of code automatically is calledĨ. ![]() A DO loop increments the system field _.ĩ. The event that is processed after all data has been read but before the list is displayed is:ġ0. ![]() The field declared below is of what data type?ġ1. In regard to the INITIALIZATION event, which of the following is NOT a true statement?Ī: Executed before the selection screen is displayed.Ĭ: You can assign different values to PARAMETERS and SELECT-OPTIONS here.ĭ: Executed one time when you start the report.ġ2. occurs before the selection screen is displayed and is the best event for assigning default values to selection criteria.ġ3. The business (non-technical) definition of a table field is determined by the field’sġ4. In regard to the three-tier client/server architecture, which of the following is a true statement?Ī: The presentation server processes the SAP program logic.ī: An application server is responsible for updating database tables.Ĭ: Typically, there is a one-to-one ratio of database servers to presentation servers.ĭ: The application server layer is the level between a presentation server and aġ5. What will be output by the code below?ġ6. To allow the user to enter a single value on a selection screen, use the ABAP keyword _.ġ7. What will be output by the following code?ĭATA: BEGIN OF itab OCCURS 0, fval type i, END OF itab.ġ8. You can define your own key fields when declaring an internal table.ġ9. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |