BBP_IV_ASSIGNMENT_LEAN is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BBP_IV_ASSIGNMENT_LEAN into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_IV2
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BBP_IV_ASSIGNMENT_LEAN' "Rechnung aus lean POs vorschlagen
EXPORTING
is_parameter = " bbp_iv_parameter allgemeine IV Parameter
* iv_subtype = " bbp_h_subtype Ausprägung eines BuisinessDocuments
* iv_subdcind = " bbp_subdcind Nachbelastung-/ Nachentlastungs-Kennzeichen
* iv_inp_type = " bbp_inp_type Erstellungs-Kennzeichen (Dialog, XML etc.)
* iv_user_guid = " crmt_partner_no Partnernummer
* iv_user_name = " sy-uname Benutzername
* iv_user_type = " bbp_iv_user_type
* iv_currency = " waers Währung des Rechnungsvorschlags
* iv_with_unassigned_items = " xfeld Feld zum Ankreuzen
IMPORTING
es_iv_header = " bbp_iv_header Schnittstelle Kopf-Daten Rechnung GetDetail-Fall
TABLES
it_po_selection = " bbps_object_key Schlüsselfelder für Lean- oder Backend-Dokument
* it_doc_values_db = " bbp_cfiv_doc_values_db Struktur zum Merken der Dokumentwerte auf der Datenbank
* et_iv_item = " bbp_pds_inv_item_d Schnittstelle Positions-Daten Rechnung GetDetail-Fall
* et_account = " bbp_pds_acc Kontierung
* et_partner = " bbp_pds_partner Geschäftspartner
* et_limit = " bbp_pds_limit Wertlimit
* et_messages = " bbp_pds_messages Fehlermeldungen zu einer PD-Methode
* et_hcf = " bbp_pds_hcf_inv Tab. Kunden- und Solutionfelder an der Rechnungs-Pos.
* et_icf = " bbp_pds_icf_inv Tab. Kunden- und Solutionfelder an der Rechnungs-Pos.
* et_exchrate = " bbp_pds_exr Umrechnungskurs-Daten
* et_longtext = " bbp_pds_longtext Langtexte zum Procurement Document
. " BBP_IV_ASSIGNMENT_LEAN
The ABAP code below is a full code listing to execute function module BBP_IV_ASSIGNMENT_LEAN including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_es_iv_header | TYPE BBP_IV_HEADER , |
| it_it_po_selection | TYPE STANDARD TABLE OF BBPS_OBJECT_KEY,"TABLES PARAM |
| wa_it_po_selection | LIKE LINE OF it_it_po_selection , |
| it_it_doc_values_db | TYPE STANDARD TABLE OF BBP_CFIV_DOC_VALUES_DB,"TABLES PARAM |
| wa_it_doc_values_db | LIKE LINE OF it_it_doc_values_db , |
| it_et_iv_item | TYPE STANDARD TABLE OF BBP_PDS_INV_ITEM_D,"TABLES PARAM |
| wa_et_iv_item | LIKE LINE OF it_et_iv_item , |
| it_et_account | TYPE STANDARD TABLE OF BBP_PDS_ACC,"TABLES PARAM |
| wa_et_account | LIKE LINE OF it_et_account , |
| it_et_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER,"TABLES PARAM |
| wa_et_partner | LIKE LINE OF it_et_partner , |
| it_et_limit | TYPE STANDARD TABLE OF BBP_PDS_LIMIT,"TABLES PARAM |
| wa_et_limit | LIKE LINE OF it_et_limit , |
| it_et_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES,"TABLES PARAM |
| wa_et_messages | LIKE LINE OF it_et_messages , |
| it_et_hcf | TYPE STANDARD TABLE OF BBP_PDS_HCF_INV,"TABLES PARAM |
| wa_et_hcf | LIKE LINE OF it_et_hcf , |
| it_et_icf | TYPE STANDARD TABLE OF BBP_PDS_ICF_INV,"TABLES PARAM |
| wa_et_icf | LIKE LINE OF it_et_icf , |
| it_et_exchrate | TYPE STANDARD TABLE OF BBP_PDS_EXR,"TABLES PARAM |
| wa_et_exchrate | LIKE LINE OF it_et_exchrate , |
| it_et_longtext | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT,"TABLES PARAM |
| wa_et_longtext | LIKE LINE OF it_et_longtext . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_es_iv_header | TYPE BBP_IV_HEADER , |
| ld_is_parameter | TYPE BBP_IV_PARAMETER , |
| it_it_po_selection | TYPE STANDARD TABLE OF BBPS_OBJECT_KEY , |
| wa_it_po_selection | LIKE LINE OF it_it_po_selection, |
| ld_iv_subtype | TYPE BBP_H_SUBTYPE , |
| it_it_doc_values_db | TYPE STANDARD TABLE OF BBP_CFIV_DOC_VALUES_DB , |
| wa_it_doc_values_db | LIKE LINE OF it_it_doc_values_db, |
| ld_iv_subdcind | TYPE BBP_SUBDCIND , |
| it_et_iv_item | TYPE STANDARD TABLE OF BBP_PDS_INV_ITEM_D , |
| wa_et_iv_item | LIKE LINE OF it_et_iv_item, |
| ld_iv_inp_type | TYPE BBP_INP_TYPE , |
| it_et_account | TYPE STANDARD TABLE OF BBP_PDS_ACC , |
| wa_et_account | LIKE LINE OF it_et_account, |
| ld_iv_user_guid | TYPE CRMT_PARTNER_NO , |
| it_et_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER , |
| wa_et_partner | LIKE LINE OF it_et_partner, |
| ld_iv_user_name | TYPE SY-UNAME , |
| it_et_limit | TYPE STANDARD TABLE OF BBP_PDS_LIMIT , |
| wa_et_limit | LIKE LINE OF it_et_limit, |
| ld_iv_user_type | TYPE BBP_IV_USER_TYPE , |
| it_et_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES , |
| wa_et_messages | LIKE LINE OF it_et_messages, |
| ld_iv_currency | TYPE WAERS , |
| it_et_hcf | TYPE STANDARD TABLE OF BBP_PDS_HCF_INV , |
| wa_et_hcf | LIKE LINE OF it_et_hcf, |
| ld_iv_with_unassigned_items | TYPE XFELD , |
| it_et_icf | TYPE STANDARD TABLE OF BBP_PDS_ICF_INV , |
| wa_et_icf | LIKE LINE OF it_et_icf, |
| it_et_exchrate | TYPE STANDARD TABLE OF BBP_PDS_EXR , |
| wa_et_exchrate | LIKE LINE OF it_et_exchrate, |
| it_et_longtext | TYPE STANDARD TABLE OF BBP_PDS_LONGTEXT , |
| wa_et_longtext | LIKE LINE OF it_et_longtext. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BBP_IV_ASSIGNMENT_LEAN or its description.
BBP_IV_ASSIGNMENT_LEAN - Rechnung aus lean POs vorschlagen BBP_IV_ASSIGNMENT_INVD - Rechnung zu INVD vorschlagen BBP_IV_ASSIGNMENT_BACKEND - Rechnung aus BE-POs vorschlagen BBP_IV_ASSIGNMENT - Rechnung aus PO vorschlagen BBP_IV_APPL_OKCODE_SET - Get actual ok-code from calling application BBP_IV_ACTVAL_ADD - Bestimmung von actual values