LIPS-CMPNT (credit function active) field origination
Hi All,
In the DB Table LIPS there is a field called Credit function active (LIPS-CMPNT)
Can you please tell from where this is comming into the deliverydocument. What could be the basis for it.
I need it because when ever this field is "X" the credit value is being seen in the VKM1, VKM4 T.code. When it is blank then no credit value is comming in the VKM1 & VKM4.
Advance thanks,
praveen
Rakesh,
Yes!. you are correct. ..sir
But in my scenario here is little different,
In some deliveries this field (LIPS-CNPMT) is checked/marked/activated even if the VOV7 item category is not credit active. i am not sure from where this is comming?
Hence I still have a feeling that CNPMT comes from some where else.
Any clues about it..............please let me know.
thanks,
Praveen
Similar Messages
-
i am trying to generate purchase order and i create a BAPI also which is active.
But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".Hi,
Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
This is my CODE-
FUNCTION ZBAPIPOTV2.
*"*"Local Interface:
*" IMPORTING
*" VALUE(POHD) TYPE ZPOHD OPTIONAL
*" VALUE(POITEM) TYPE ZPOITEM OPTIONAL
*" TABLES
*" RETURN STRUCTURE BAPIRET1 OPTIONAL
data: ls_pohd type bapimepoheader,
ls_pohdx TYPE bapimepoheaderx,
lt_poit TYPE TABLE OF bapimepoitem,
lt_poitx TYPE TABLE OF bapimepoitemx,
ls_poit TYPE bapimepoitem,
ls_poitx TYPE bapimepoitemx.
MOVE-CORRESPONDING pohd to ls_pohd.
MOVE-CORRESPONDING poitem to ls_poit.
ls_pohdx-comp_code = 'x'.
ls_pohdx-doc_type = 'x'.
ls_pohdx-vendor = 'x'.
ls_pohdx-purch_org = 'x'.
ls_pohdx-pur_group = 'x'.
ls_poit-po_item = '00010'.
APPEND ls_poit to lt_poit.
ls_poitx-po_item = '00010'.
ls_poitx-po_itemx = 'x'.
ls_poitx-material = 'x'.
ls_poitx-plant = 'x'.
ls_poitx-quantity = 'x'.
APPEND ls_poitx to lt_poitx.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = ls_pohd
POHEADERX = ls_pohdx
* POADDRVENDOR =
* TESTRUN =
* MEMORY_UNCOMPLETE =
* MEMORY_COMPLETE =
* POEXPIMPHEADER =
* POEXPIMPHEADERX =
* VERSIONS =
* NO_MESSAGING =
* NO_MESSAGE_REQ =
* NO_AUTHORITY =
* NO_PRICE_FROM_PO =
* PARK_COMPLETE =
* PARK_UNCOMPLETE =
* IMPORTING
* EXPPURCHASEORDER =
* EXPHEADER =
* EXPPOEXPIMPHEADER =
TABLES
RETURN = return
POITEM = lt_poit
POITEMX = lt_poitx
* POADDRDELIVERY =
* POSCHEDULE =
* POSCHEDULEX =
* POACCOUNT =
* POACCOUNTPROFITSEGMENT =
* POACCOUNTX =
* POCONDHEADER =
* POCONDHEADERX =
* POCOND =
* POCONDX =
* POLIMITS =
* POCONTRACTLIMITS =
* POSERVICES =
* POSRVACCESSVALUES =
* POSERVICESTEXT =
* EXTENSIONIN =
* EXTENSIONOUT =
* POEXPIMPITEM =
* POEXPIMPITEMX =
* POTEXTHEADER =
* POTEXTITEM =
* ALLVERSIONS =
* POPARTNER =
* POCOMPONENTS =
* POCOMPONENTSX =
* POSHIPPING =
* POSHIPPINGX =
* POSHIPPINGEXP =
* SERIALNUMBER =
* SERIALNUMBERX =
* INVPLANHEADER =
* INVPLANHEADERX =
* INVPLANITEM =
* INVPLANITEMX =
ENDFUNCTION.
i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". -
Automatic Credit Check- Credit active field in Item Category
Hi All,
In the current system, simple credit check is active and now the customer would like to consider the open sales order and delivery documents as well. Hence we are activating automatic credit check.
The issue I am facing here is the credit active field is not activated in Item category level, since it has not been activated, the system is not performing the automatic credit check for the old as well as newly created sales order. If I activate the credit active field in Item category level its working fine for newly creating documents.
But the credit check is not happening for the sales order which has been created in the past.Whether the credit active field not activated earlier is the reason behind this issue.
Please let me know is there is any other way to perform credit check for the old sales orders as well.
Regards,
MythilyBut the credit check is not happening for the sales order which has been created in the past.Whether the credit active field not activated earlier is the reason behind this issue.
Credit check will not happen for the saved sales orders. It is not the reason because of credit active field was not ticked for item category. you had performed Simple credit check for those orders,
I assume you might be knowing that Simple credit check does not update open order, open delivery and open invoices etc, it updates only receivables. Even though you had ticked the item category the field credit active, it would not have performed.
Now for old sales order anyway it will not perform the credit check, only thing you can do
Run the program RVKRED88 in SE38 so that it will update the all sales values into FD32. This.This is the best way i think this will work. Please test this from your side. I did not check in my system.
Why you want to perform the credit check on the sales documents which are already created and saved. as per me it does not make sense.
thanks,
Srinu.
Message was edited by: Srinu S -
Activation of Function Location field in Fleet Objects
Dear All
In Fleet Management, the Function Location field is inactive by standard. How can we make the Function Location field active for usage?
Regards
BKhi
For your equipment category mark the installation at functional location in T code OIEP
regards
thyagarajan -
Dear Friends,
When i try to activate my field exit using program RSMODPRF, the following message appears.....
System is not configured for field exits (see long text)
Message no. ENHANCEMENT032
Diagnosis
The system is configured wrong. Field exit maintenance will have no effect.
System Response
The profile parameter abap/fieldexit is set to YES during screen generation. A screen load is generated that allows you to branch to field exits.
This parameter may only be set in the customer system.
Note: If the parameter has been set, you must check that, for each field, the system branches to the correct corresponding function module during screen generation. For performance reasons, you should not set this parameter during generation unless field exits have actually been created for your system.
Procedure
Set the abap/fieldexit parameter to YES in the system profile and restart your SAP system.
How to solve this problem....
Thanks & Regards,
SudheerHi,
go thourgh the documentation of the program RSMODPRF..
Short text
Field Exits for Data Elements
Description
Maintenance transaction for creating and activating field exits
As part of the extension concept, SAP allows you to install a field exit for each screen field. Similar to the conversion exit, the system branches at the field exit at DCI (DATA COMMUNICATIONS INPUT) to a function module, if the field is an input field and a function code was triggered. The function module must adhere to the following naming convention:
Prefix: FIELD_EXIT_
Infix: <Data element name>
Suffix: _0 to _9 (optional), _A to _Z
The interface is automatically generated during the creation of the function module, and has 2 parameters:
Import parameter: INPUT
Export parameter: OUTPUT
After a function code has been triggered the contents of the field are made available to the FB via the "INPUT" import parameter. You can edit this and, when changed, make it available to the ABAP/4 processor in "OUTPUT". The input field contents are usually passed on: you can simply write OUTPUT = INPUT.
If, e.g., you have activated the field exit for the data element 'PROGRAM', then the fields of all the screens, which refer to the data element 'PROGRAM', branch to the function module FIELD_EXIT_PROGRAM. This includes the field 'Program' of the initial screen SAPMS38M0100 in transaction SE38, for example.
If you do not want the function module to be accessed from all screens, assign particular screens to the data element PROGRAM. By allocating an exit number, it is also possible to branch to other function modules with the corresponding suffix _0 ... _Z.
Example: You have assigned screen SAPMS38M0100 and exit number 5 to data element 'PROGRAM'. The corresponding field on SAPMS38M0100 branches to FIELD_EXIT_PROGRAMM_5.
As soon as you activate an exit, the corresponding screens are invalidated.
Note: Field exits are only taken into account during screen generation if the parameter abap/fieldexit = 'YES' is set in the system profile.
Requirements
Set the profile parameter abap/fieldexit = 'YES' before system start.
Limitations
The following ABAP statements are not allowed in the function modules of field exits:
BREAK-POINT,
CALL SCREEN, CALL DIALOG, CALL TRANSACTION, SUBMIT,
COMMIT WORK, ROLLBACK WORK,
COMMUNICATION RECEIVE,
EXIT FROM STEP-LOOP,
MESSAGE I, MESSAGE W.
Note:
Field exits cannot be edited with the debugger.
You should not use any external Performs in field exits. The ABAP processor shares the table work areas of externally called programs with those of the first caller. This could lead to errors at field exits that can hardly be analyzed, as field exits are sometimes slipped into the flow of the program at unforeseen events.
Questions and answers on field exits
1. A field exit was created with the CMOD and activated, but it does not get executed when the screen is called.
Since the field exit is not executed until DCI, some action must occur in the screen (e.g. press Return, saving....).
Set the abap/fieldexit profile parameter to YES and start the system again.
After the FIELD_EXIT... function module has been activated and the field exit has been activated, the transaction in whose screen the field exit is to be executed must be terminated. The screen is not generated until it is called.
Do not work on different application servers, otherwise there may be a delay before the field exit becomes active.
The profile parameter must be set either on all application servers or on none.
If the field exit is to be active in certain screens only, then you should check whether you have selected the correct program and the correct screen number (Careful with SUBSCREENS Do not rely on the F1 information for the field!
2. How does setting abap/fieldexit affect the performance?
If a screen is generated and the profile parameter is set, then the system checks in 2 tables (TDDIR, TDDIRS) to see whether a field exit has to be generated for the field. In practice the screen load after a Put is not generated until the screen is called. The user will not experience a noticeable delay, since screen generation is extremely fast.
3. Can the contents of other screen fields be read in a field exit?
In principle all fields can be copied to global variables in the TOP or the function group. However, since the order in which the field exits are called is not guaranteed, this possibility should not be used.
4. How does the field exit work in step-loop fields?
After data input to DCI the field exit will be called as many times as fields are visible on the step-loop. The SY-STEPL system variable is incremented each time. If a new value is assigned to be field, then it will be visible in the module between LOOP. ENDLOOP. This module will also be called as many times as there are visible step-loop lines.
5. Can field exits be debugged?
No. Field exits have to be tested in isolation in the development environment. To analyze problems that occur only in the screen environment, the relevant variables can be written to the file system using TRANSFER... and can be analyzed there.
6. What should one do if the field contents are not getting transported to ABAP/4?
Check whether you have assigned a value to the OUTPUT field.
7. When does the field exit get called in the case that there is a conversion exit attached to the data element?
The field exit will be called after the conversion exit. This means that the INPUT field contains the data in the same form as that in which the ABAP/4 program also gets them.
rEGARDS -
Abbreviation of ST in the field origin of table JDT1
Dear Experts/Gurus,
I have a problem relate to define the abbreviation of ST in the field origin of table JDT1. it is not only ST and also other terms in the field. I have tried to find it out using ppt and help file but fail. where do I have to see it ? do you have ppt or pdf file explained about it ? I appreciate your answer so much. TIA
Rgds,Hi steve andre
The origin field is on OJDT and not JDT1. The field TransId on the table ojdt tells you which document it came from. But this field is numeric. So for example if the journal came from a Sales Invoice it will have 13. These numbers repreasent the actual DI API object also.
Here is a table of the values.
oChartOfAccounts ChartOfAccounts object. 1
oBusinessPartners BusinessPartners object. 2
oBanks Banks Object. 3
oItems Items object. 4
oVatGroups VatGroups Object. 5
oPriceLists PriceLists object. 6
oSpecialPrices SpecialPrices object. 7
oItemProperties ItemProperties 8
oUsers Users object. 12
oInvoices Documents object that represents a draft of sales invoice document. 13
oCreditNotes Documents object that represents a draft of sales credit note document. 14
oDeliveryNotes Documents object that represents a draft of sales delivery note document. 15
oReturns Documents object that represents a draft of sales return document. 16
oOrders Documents object that represents a draft of sales order document. 17
oPurchaseInvoices Documents object that represents a draft of purchase invoice document. 18
oPurchaseCreditNotes Documents object that represents a draft of purchase credit note document. 19
oPurchaseDeliveryNotes Documents object that represents a draft of purchase delivery note document. 20
oPurchaseReturns Documents object that represents a draft of a purchase return document. 21
oPurchaseOrders Documents object that represents a draft of purchase order document. 22
oQuotations Documents object that represents a draft of sales quotation document. 23
oIncomingPayments Payments object. 24
oJournalVouchers JournalVouchers object. 28
oJournalEntries JournalEntries object that represents a normal journal entry. 30
oStockTakings StockTaking object. 31
oContacts Contacts object. 33
oCreditCards CreditCards Object 36
oCurrencyCodes Currencies object. 37
oPaymentTermsTypes PaymentTermsTypes object. 40
oBankPages BankPages object. 42
oManufacturers Manufacturers 43
oVendorPayments Payments object that represents payments to vendors. 46
oLandedCostsCodes LandedCostsCodes 48
oShippingTypes ShippingTypes 49
oLengthMeasures LengthMeasures 50
oWeightMeasures WeightMeasures 51
oItemGroups ItemGroups object. 52
oSalesPersons SalesPersons 53
oCustomsGroups CustomsGroups 56
oChecksforPayment ChecksforPayment object. 57
oInventoryGenEntry Documents object that is used to enter general items to the inventory. 59
oInventoryGenExit Documents object that is used to exit general items from inventory. 60
oWarehouses Warehouses object. 64
oCommissionGroups CommissionGroups 65
oProductTrees ProductTrees object. 66
oStockTransfer StockTransfer object. 67
oWorkOrders WorkOrders object. 68
oCreditPaymentMethods CreditPaymentMethods 70
oCreditCardPayments CreditCardPayments 71
oAlternateCatNum AlternateCatNum object. 73
oBudget Budget object. 77
oBudgetDistribution BudgetDistribution object. 78
oMessages Messages object. 81
oBudgetScenarios BudgetScenarios object. 91
oSalesOpportunities SalesOpportunities object. 97
oUserDefaultGroups UserDefaultGroups 93
oSalesStages SalesStages 101
oActivityTypes ActivityTypes object. 103
oActivityLocations ActivityLocations object. 104
oDrafts Documents object that represents a draft document (see Creating a draft document sample). 112
oDeductionTaxHierarchies DeductionTaxHierarchies object. 116
oDeductionTaxGroups DeductionTaxGroups object. 117
oAdditionalExpenses AdditionalExpenses object. 125
oSalesTaxAuthorities SalesTaxAuthorities object. 126
oSalesTaxAuthoritiesTypes SalesTaxAuthoritiesTypes object. 127
oSalesTaxCodes SalesTaxCodes object. 128
oQueryCategories QueryCategories object. 134
oFactoringIndicators object. FactoringIndicators 138
oPaymentsDrafts Payments object. 140
oAccountSegmentations AccountSegmentations object. 142
oAccountSegmentationCategories AccountSegmentationCategories object. 143
oWarehouseLocations WarehouseLocations object. 144
oForms1099 Forms1099 object. 145
oInventoryCycles InventoryCycles object. 146
oWizardPaymentMethods WizardPaymentMethods object. 147
oBPPriorities BPPriorities object. 150
oDunningLetters DunningLetters object. 151
oUserFields UserFieldsMD object. 152
oUserTables UserTablesMD object. 153
oPickLists PickLists object. 156
oPaymentRunExport PaymentRunExport object. 158
oUserQueries UserQueries object. 160
oMaterialRevaluation MaterialRevaluation object. 162
oCorrectionPurchaseInvoice Documents object that represents a draft of purchase invoice correction document. 163
oCorrectionPurchaseInvoiceReversal Documents object that represents a draft of reverse purchase invoice correction document. 164
oCorrectionInvoice Documents object that represents a draft of correction invoice document. 165
oCorrectionInvoiceReversal Documents object that represents a draft of reverse invoice correction document. 166
oContractTemplates ContractTemplates object. 170
oEmployeesInfo EmployeesInfo object. 171
oCustomerEquipmentCards CustomerEquipmentCards object. 176
oWithholdingTaxCodes WithholdingTaxCodes object. 178
oBillOfExchangeTransactions BillOfExchangeTransaction object. 182
oKnowledgeBaseSolutions KnowledgeBaseSolutions object. 189
oServiceContracts ServiceContracts object. 190
oServiceCalls ServiceCalls object. 191
oUserKeys UserKeysMD object. 193
oQueue Queue object. 194
oSalesForecast SalesForecast object. 198
oTerritories Territories object. 200
oIndustries Industries object. 201
oProductionOrders ProductionOrders object. 202
oPackagesTypes PackagesTypes object. 205
oUserObjectsMD UserObjectsMD object. 206
oTeams Teams object. 211
oRelationships Relationships object. 212
oUserPermissionTree UserPermissionTree object. 214
oActivityStatus ActivityStatus object. 217
oChooseFromList ChooseFromList object. 218
oFormattedSearches FormattedSearches object. 219
oAttachments2 Attachments2 object. 221
oUserLanguages UserLanguages object. 223
oMultiLanguageTranslations MultiLanguageTranslations object. 224
oDynamicSystemStrings DynamicSystemStrings object. 229
oHouseBankAccounts HouseBankAccounts object. 231
oBusinessPlaces BusinessPlaces object. 247
oLocalEra LocalEra object. 250
oSalesTaxInvoice Sales tax invoice. See TaxInvoices object and DocType property with the valid value botit_Invoice. 280
oPurchaseTaxInvoice Purchase tax invoice. See TaxInvoices object and DocType property with the valid value botit_Payment. 281
BoRecordset Recordset object. 300
BoBridge SBObob object. 305
oNotaFiscalUsage NotaFiscalUsage object. 260
oNotaFiscalCFOP NotaFiscalCFOP object. 258
oNotaFiscalCST NotaFiscalCST object. 259
oClosingDateProcedure ClosingDateProcedure object. 261
oBusinessPartnerGroups object. 10
oBPFiscalRegistryID BPFiscalRegistryID object. 278
Hope this helps -
Letter of Credit functionality and Credit Management
Hi,
we want to use Letter of Credit functionality for exports.
Currently, we have an ERP system that contains the sales data. In a separate system we have the credit management functionality (Financial Supply Chain Mgt - FSCM).
When order is created, the credit limit is checked in the FSCM system (via PI messages).
Now, we want to link some of the Sales orders with Letter of Credit. I believe, this is standard functionality in GTS.
So when Sales Order is created a LOC should be connected to this.
Can the GTS be connected also to FSCM credit management, so credit limit is not affected?
Example:
Sales Order value: 1 Mio USD
10% down-payment > this would be in the credit exposure visible (net exposure).
90 % covered through LOC > credit exposure should showing this, or it shows order value and in a negative figure this amount deducted so no effect on exposure.
Down-payment has no relation to LOC. When money is received for this the net exposure of the sales order is 0.
partial invoice: 0.4 Mio USD > it should be possible to link this invoice to the LOC. The posting FI document should have some LOC information, so when payment comes in the amount in LOC is reduced as well as in credit management this open.
Final invoice 0.5 USD: as above, all values go out from exposure if there are any.
A second case would be guarantees, where there is no reduction of values. This would stay same.
Anyone who can advise a solution here?
Thanks + Regards
HeinLetter Of Credit can be used as a standard solution of SAP GTS with ERP solution. Yes you can connect both SAP & no SAP systems with GTS, but plugins, PI etc needs to be built in. But it would not be real time like RFC works. There are some standard available which needs to be hard coded to meet specific requirements.
Connecting LOC to Sales Order, invoice etc, is manual, based on business specific parameters and it comes standard with SAP GTS. Maintaining Values & Quantity of LOC based on actual LOC from bank is also possible. The depreciation of values & quantities is also standard with in LOC in GTS.
You can also setup various communication methods for LOC.
I think when Invoice is raised and payment is received the LOC should be closed in the system. There can also be other scenarios where in system determines LOC based on predefined logics for determination strategy put in to the GTS system.
Cheers,
Abir -
Functional Area field not getting populated in the AUFK table
Hi Friends,
The table AUFK is the table for Internal Order master data.
The issue which we are facing is:
In a particular Order type, the field 'Functional Area' is suppressed in the field status group for the order master data.
But the cost centers which are maintained in the order master has the functional area field populated with value.
In the table AUFK, the functional area field is populated for some internal orders and not populated for others. In all cases it should pick the functional area from the cost center which is maintained in the internal order.
Please guide us about what can be the possible reason(s) for populating the field in some cases while not populating in other cases.
Thanks a lot in advance for your help.
Regards,
ShilpiHi,
maintain the functional area in order master data to ensure 100% functional area is available in AUFK.
I can't tell you the reason why its sometimes appearing and sometimes not bur FUNC_AREA is not picked from responsible/requesting cost center (from master data).
If in customizing of internal order order types a "model-order" is assigned with maintained functional area, this func_area is taken if you create a new order for this ordertype.
Best regards, Christian -
Cred.lim.used field in FD32 not getting updated
hi All,
I have a scenario where my Cred.lim.used field which is a %age value is not getting updated in fd32
when I go to fd33 for a customer my Credit limit is 1,000,000.00
and Credit exposure is 1,138.28- but the %age is 0.00 %.
any suggestions
thanks,Hi
Think logically how it will show the credit limit used in percentage just calculate
credit limit used*100/ total credit limit
1,138.28*100
1,000,000.00
will come to 0.11 % so system wont show it will consider only if it is more than 1%
regards -
Whenever I click to start putting details in the active field on browser web page a new window opens with advertise. I have to close this every time.
This happens also when I click on a youtube video link or any active tab.
I am fed-up.. I have stopped all plug-ins and add-ons, installed the browser again... still the problem persists.
Help!Sounds like a dose of Malware on that PC.
You can try these free programs to scan for malware, which work with your existing antivirus software:
* [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
* [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
* [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
* [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
* [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
* [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
[http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
Did this fix your problems? Please report back to us! -
Error while activating field exit
hi all
while activating field exit iam getting error
like system is not configuted for field exit
solution is Set the abap/fieldexit parameter to YES in the system profile and restart your SAP system
then in which tcode i can set the parameter
thanks in advance1)Login to R/3
2)Tcode RZ10
3)Select instance profile
4)click extended maintenance
5)change
6)Add parameter
7)Abap/fieldexit -> save and activate the changes.
Then restart you r/3 system. -
Type conflict when calling a function module (field length)
Dear All,
I am getting this following error while executing: Type conflict when calling a function module (field length)
This is piece of coding i have writern in my action button.
method SEARCH_MATERIAL .
data:
node_mat_input TYPE REF TO if_wd_context_node,
node_mat_output TYPE REF TO if_wd_context_node,
material TYPE BAPIMATDET-MATERIAL,
itab TYPE TABLE OF BAPIMATDOA.
node_mat_input = wd_context->get_child_node( 'NODE_MAT_INPUT' ).
node_mat_output = wd_context->get_child_node( 'NODE_MAT_OUTPUT' ).
node_mat_input->get_attribute( EXPORTING name = 'MATERIAL'
IMPORTING value = material ).
CALL FUNCTION 'BAPI_MATERIAL_GET_DETAIL'
EXPORTING
material = material
PLANT = plant
VALUATIONAREA =
VALUATIONTYPE =
MATERIAL_EVG =
IMPORTING
MATERIAL_GENERAL_DATA = itab
RETURN =
MATERIALPLANTDATA =
MATERIALVALUATIONDATA =
node_mat_output->bind_table( itab ).
endmethod.
Attributes are:
Node name = INPUT its structure is BAPIMATDET
INPUT attributes = MATERIAL of type BAPIMATDET-MATERIAL
Thanks,
Gopi.Hi Amit,
I have used service call to fetch records from that bapi..
The following is the code generated by service call:-
METHOD execute_bapi_material_get_deta .
declarations for context navigation
DATA:
node_bapi_material_get_de TYPE REF TO if_wd_context_node,
node_exporting TYPE REF TO if_wd_context_node,
node_material_general_dat TYPE REF TO if_wd_context_node,
node_importing TYPE REF TO if_wd_context_node,
lri_element TYPE REF TO if_wd_context_element.
declarations for fuba parameters
data:
stru_c_material_general_dat TYPE if_componentcontroller=>element_material_general_dat.
DATA:
attr_material TYPE bapimatdet-material,
attr_plant TYPE bapimatall-plant.
get all involved child nodes
node_bapi_material_get_de = wd_context->get_child_node( `BAPI_MATERIAL_GET_DE` ).
node_exporting = node_bapi_material_get_de->get_child_node( `EXPORTING` ).
node_material_general_dat = node_exporting->get_child_node( `MATERIAL_GENERAL_DAT` ).
node_importing = node_bapi_material_get_de->get_child_node( `IMPORTING` ).
get input from context
node_importing->get_attribute( EXPORTING name = `MATERIAL`
IMPORTING value = attr_material ).
node_importing->get_attribute( EXPORTING name = `PLANT`
IMPORTING value = attr_plant ).
the invocation - errors are always fatal !!!
CALL FUNCTION 'BAPI_MATERIAL_GET_DETAIL'
EXPORTING
material = attr_material
plant = attr_plant
" valuationarea = wd_This->Valuationarea
" valuationtype = wd_This->Valuationtype
" material_Evg = wd_This->Material_Evg
IMPORTING
material_general_data = stru_c_material_general_dat
" return = wd_This->Return
" materialplantdata = wd_This->Materialplantdata
" materialvaluationdata = wd_This->Materialvaluationdat
node_material_general_dat->bind_structure( stru_c_material_general_dat[] ).
ENDMETHOD.
but the problem is I am getting the following error while compiling...
" stru_c_materialplantdata " is not an internal table - the " OCCOURS n" specification is missing.
Thanks,
Gopi.
Edited by: Yegalaivan on Nov 18, 2009 8:30 AM -
SPM 5.2 - problem with reason/activity fields - not showing in the report
Dear experts,
I have a situation that is hard to describe.
We have SPM 5.2 - all set and working, now the problem is that for some of the FF sessions the tool is either not reporting the reason/activity fields (due to some technical problem that is occuring randomly) or the users have found a way to abuse the fields and make thier way around them. (these fields are very important for our SOX controls)
I have created test users to see how they are entering without filling the reason/activity fields, but no luck - i couldnt enter.
As you know the Activity field is mandatory text field and at least one character must be entered, but I don`t think this is the workaround, because even if you put space the report still will show it. I have examples where the report is not showing anything.
The worst is that I can`t simulate such cases.
Have you ever heard of such nosense?
Thank you,
IliyaI think I found it - Application deficiency. It is the language that you are logged with. If it is not English the application is not recording the text that you type in the reason/activity fields upon FF session.
I hope the latest patches are fixing this!
BR
Iliya -
Problem calling PL/SQL procedures from Function Activity Issue
Hi,
I am working with Oracle Workflow and I have found some problems adding a function activity in the process diagram. This function only updates some registers on the data base, or at least it should do that.
I have been looking through the items in this forum and I have found similar things but not the right one. Of course I am a learner in all this and maybe the answer in there.
I will try to show you my problem:
When the procedure is supposed to be called, it doesnt´t do that and instead I found the following error:
Wf_Engine_Util.Function_Call(usuario.WF_FIN_TG.FINTG1, FLUJO1, 092S0087, 588782, RUN) ORA-01403: no data found
I have tested all the queries from TOAD and SAL Server, and all of them return some results.
I have tried to take out all the queries from the procedure as the following to try to avoid or change the error but it continues as "ORA-01403: no data found":
PROCEDURE FINTG1(
p_itemtype IN VARCHAR2,
p_itemkey IN VARCHAR2,
p_actid IN NUMBER,
p_funcmode IN VARCHAR2,
p_resultado IN OUT VARCHAR2
) IS
flujo VARCHAR2(;
p_resultado :=1;
END FINTG1;
It seems as the workflow engine try to search something before executing my procedure.
Has anybody any idea about how to solve this problem? Thanks a lot.WF_ENGINE_UTIL.Function_Call is the lowest level procedure executed by the engine before it executes the procedure associated with the function activity. I am not sure if this procedure would throw ORA 1403 since this does not have a query or a collection.
Please note that ORA 1403 could occur from a SQL query or a collection.
Looking at your code, p_resultado :=1;
The function activity should return a resultout that the workflow engine understands. The valid results from the function activities as per the workflow guide are,
wf_engine.eng_completed - 'COMPLETE'; -- Normal completion
wf_engine.eng_active - 'ACTIVE'; -- Activity running
wf_engine.eng_waiting - 'WAITING'; -- Activity waiting to run
wf_engine.eng_notified - 'NOTIFIED'; -- Notification open
wf_engine.eng_suspended - 'SUSPEND'; -- Activity suspended
wf_engine.eng_deferred - 'DEFERRED'; -- Activity deferred
wf_engine.eng_error - 'ERROR'; -- Completed with error
You would normally use COMPLETE or ERRORED within your activity. Please change your code to use a valid resultout and try again.
Hope this helps.
Thanks -
Bank Guarantee & Letter of Credit Functionality
Hi,
Do you idea about in which Oracle Module Bank Guarantee & Letter of Credit Functionality is Covered?
Is it covered under Oracle Treasury?
Thanks,
DattaHi,
anyone has the answer to this question?
Thanks.
Maybe you are looking for
-
Problem in getting the database connection from a connection pool
Hai All, I am facing a problem in getting the database connection from a connection pool created on weblogic server 8.1. I am using the Oracle database 8.1.7. I have configured my connection pool, datasource and JNDI in weblogic. In my java program i
-
How do I run 2 apps simultaneously?
I'd like to run a Metronome App (which actually keeps running even if I "back out" to the main screen - as opposed to some other apps that quit if you "back out" to the main screen) while I listen to iTunes (a downloaded podcast, for example) or whil
-
Why does my PC not detect my Iphone?
When I connect my iphone, my computer doesnt detect it, I dont know why, i have itunes and quicktime, the last version, i dont know what to do, please help me!!
-
HP Photosmart D110 e-All-In-On
Red X in top right of printer display panel.Using genuine HP cartridges, have attempted realigning, cleaning etc.Ink levels are fine.Jobs process through the queue and print blank pages, same issue when trying to print test page.Have unplugged and us
-
Basically, my requirement is to get all the third party extensions/add-ons enabled by default. Though Firefox8 and above have disabled the third party extensions/add-ons, is there any way to customize the settings so that all third party extensions a