Calling BAPI_SALESORDER_CREATEFROMDAT1 to create SO
Hi,
I am calling the BAPI 'BAPI_SALESORDER_CREATEFROMDAT1' to create the sales order , but i also want to update the data of the append structure created in the table VBAK for the addition fields added in the transaction VA01 through the screen exit. How can i attain this?
Regards
Amol
Transaction Code - VA01 Create Sales Order
Exit Name Description
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
No of Exits: 15
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal
Similar Messages
-
Call procedure while creating view in hana.
Can we call procedure while creating a attribute view like
CREATE VIEW "PAYROLLDBTEST"."@HourTransactionView"
"DocEntry",
"DocNum",
"EmpID",
"EmpCode",
"FullName",
"TableName",
"TranName",
"U_FromDate",
"U_ToDate",
"NoOfDays",
"U_FromTime",
"U_ToTime",
"NoOfHours",
"OvertimeHours",
"UnpaidDays",
"Weekends",
"Holidays",
"U_Remarks",
"U_BatchNo",
"ProjectCode"
) AS SELECT
T0."DocEntry" AS DocEntry,
T0."DocNum" AS DocNum,
T0."U_EmpCode" AS EmpID,
CALL PAYROLLDBTEST.GetEmpCodeFromEmployeeID('EmpID') , (getting syntax error here).
GetEmployeeFullName("@TRANSACTION_HOURS".U_EmpCode) AS FullName,
T0."U_TransactionType" AS TranCode,
GetHourTableName("U_TransactionType") AS TableName,
GetHourTransactionName("U_TransactionType") AS TranName,
T0."U_FromDate",
T0. "U_ToDate",
DAYS_BETWEEN("U_FromDate", "U_ToDate") + 1 AS NoOfDays,
T0."U_FromTime" AS U_FromTime,
T0."U_ToTime" AS U_ToTime,
IFNULL("U_WorkHours", 0) AS NoOfHours,
IFNULL("U_OvertimeHours", 0) AS OvertimeHours,
IFNULL("U_PaidDays", 0) AS PaidDays,
IFNULL("U_UnpaidDays", 0) AS UnpaidDays,
IFNULL("U_WeekendsCount", 0) AS Weekends,
IFNULL("U_HolidaysCount", 0) AS Holidays,
T0."U_Remarks",
T0."U_BatchNo",
T0."U_ProjectCode" AS "ProjectCode"
FROM
"@TRANSACTION_HOURS" T0
INNER JOIN
"OHEM" T1
ON
T1."empID" = T0."U_EmpCode";Hello,
The problem could be a SAPGUI related problem... Whats the current sapgui patch level ? Does it work when you try on another wokstation with the same user ?
Could you please use SAPGUI 720 and update your patch level to 7 ? Then check the behaviour again.
Best regards
Rene -
Error in function call BAPI_0050_CREATE. Create FM Budgeting Entry document
Hi guys,
I've got runtime error in BAPI-function call BAPI_0050_CREATE for create\release budgeting entry document:
"Number range 01 not found for object BULI_DOCNR in fiscal year 2007"
Function parameters below:
CALL FUNCTION 'BAPI_0050_CREATE'
EXPORTING
header_data = l_wa_header
testrun = ' '
TABLES
item_data = g_it_item_data
return = g_it_return.
l_wa_header-FM_AREA = '2500'
l_wa_header-VERSION = '000'.
l_wa_header-DOCSTATE = '1'.
l_wa_header-PROCESS = 'ENTR'.
l_wa_header-DOCTYPE = '0001'.
l_wa_item_data-BUDTYPE = 'DEBL'.
l_wa_item_data-BUDCAT = '9F'.
l_wa_item_data-ITEM_NUM = '01'.
l_wa_item_data-FISC_YEAR = 2007.
l_wa_item_data-FUNDS_CTR = '2000'.
l_wa_item_data-CMMT_ITEM = 'R10101010'.
l_wa_item_data-TOTAL_AMOUNT = 20000.
l_wa_item_data-DISTKEY = '0'.
l_wa_item_data-TRANS_CURR = 'RUB'.
l_wa_item_data-VALTYPE = 'R1'.
Interval 01 was already created in SPRO-tran for customizing option for FM module (Budgeting)
(000000001 до 99999999) - Create Number Range Interval for Entry Document
Does anybody know correct parameters for BAPI-call or customizing option for Budjeting (FM) ?
ps Sorry, I am not expert in FI-FM-module
Thnx in advance,
DmitryIt works !
I've performed this function in workbench and got additional help guide for error resolving.
You're right - i've missed initial interval 05 for number ranges 5000000000 to 599999999 for budjeting docs.
But i've got new error message
'Release and budget amounts are inconsistent' -
Performance issue calling bapi po create in test mode to get error messages
Hi,
We have a report which displays in alv the purchase orders that got created in SAP, but either got blocked due to not meeting PO Release Strategy tolerances or have failed output messages .We are displaying the failed messages too.
We are looping the internal table of eban(purchase requisition) and calling bapi po create in test mode to get failed messages.
Now we are facing performance issue in production.What can be the other effecient way to get the error messages without effecting performance.
Regards,
SuvarnaHi Suvarna,
so you need to reduce the number of PO-simulations.
- Likely you checked already, that all EBAN-entries should already be converted into POs. If there would be a large number of "new" EBAN-entries, they don't need to be simulated.
- If it's a temporary problem: give aid to correct the problems (maintain prices or whatever the error-reasons are) Then the amount of not-converted purchase requisitions (PR) should drop, too
- If it's likely, that your volume of open PR will stay high: create a Z-Table with key of EBAN and a counter, simulate (once a day) PO conversions and store the results in the Z-table. In your report you can use the results... if they are "new enough". From time to time new simulations should be done, missing master data might be available.
Maybe users should be allowed to start this 2nd report manually (in background), too -> then they can update the messages after some data corrections themself, without waiting for the result (just check later in online report and do something different in between).
And you might need to explain, PO simulation takes as long as PO creation... there is no easy or fast way around this.
Best regards,
Christian -
Hello team ,this is my requirement .. Through customizing..
When call center Team creates Service Request/Service Order/ Complaints it should be set as High Priority by default...we need to set only interaction agent bussiness role priority only HIGH..only for this bussiness role.through customizing how to do it..what are the steps..through customizing only please.. helpBy customizing, you can set a default priority to a given transaction type.
But this does not depend on the business role.
But as you are talking about IC agents, maybe you can check IDI for this purpose, because there are actions like "Set Problem Priority", "Set Service Request Priority" or "Set Service Order Priority".
Best regards,
Sylvain AGUETTAZ -
BDC Call Transaction : FS00(Create G/L Account)
Hi,
BDC of FS00 is running properly in Forground (A) Mode, with success messages and G/L account being created in SKB1 table.
But when I run it in Background (N) Mode, it is not creating the G/L account. Although I am getting the success messages in the end of the execution but in the table, there is no G/L account.
FORM fill_bdcdata .
loop at i_output.
clear i_bdcdata.
refresh i_bdcdata.
perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
perform bdc_field using 'BDC_OKCODE'
'=ACC_CRE'.
perform bdc_field using 'BDC_CURSOR'
'GLACCOUNT_SCREEN_KEY-BUKRS'.
perform bdc_field using 'GLACCOUNT_SCREEN_KEY-SAKNR'
i_output-SAKNR. "gl ac number
perform bdc_field using 'GLACCOUNT_SCREEN_KEY-BUKRS'
i_output-BUKRS. "company code
perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
perform bdc_field using 'BDC_OKCODE'
'=2102_GROUP'.
perform bdc_field using 'BDC_CURSOR'
'GLACCOUNT_SCREEN_COA-KTOKS'. "ac grp
*perform bdc_field using 'GLACCOUNT_SCREEN_COA-KTOKS'
i_output-cc.
perform bdc_field using 'GLACCOUNT_SCREEN_COA-XPLACCT'
i_output-xplacct. "pl account
perform bdc_field using 'GLACCOUNT_SCREEN_COA-XBILK'
i_output-xbilk. "balance sheet
perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
perform bdc_field using 'BDC_OKCODE'
'=TAB02'.
perform bdc_field using 'GLACCOUNT_SCREEN_COA-KTOKS'
i_output-ktoks. "ac grp
perform bdc_field using 'GLACCOUNT_SCREEN_COA-XPLACCT'
i_output-xplacct. "pl account
perform bdc_field using 'BDC_CURSOR'
'GLACCOUNT_SCREEN_COA-TXT50_ML'.
perform bdc_field using 'GLACCOUNT_SCREEN_COA-TXT20_ML'
i_output-txt20_ml. "short text
perform bdc_field using 'GLACCOUNT_SCREEN_COA-TXT50_ML'
i_output-txt50_ml. "long text
perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
perform bdc_field using 'BDC_OKCODE'
'=TAB03'.
perform bdc_field using 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-MITKZ'.
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-XSALH'
i_output-xsalh. "Only Balance in Local Currency
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
i_output-mwskz. "Tax Category
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-XMWNO'
i_output-xmwno. "Posting without tax
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-MITKZ'
i_output-mitkz. "Reccon A/C
perform bdc_field using 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-XOPVW'
i_output-xopvw. "Open Item Management
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-XKRES'
i_output-xkres. "Line Item Display
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
i_output-zuawa. "Sort Key
perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
perform bdc_field using 'BDC_OKCODE'
'=ENTER'.
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-FSTAG'
i_output-fstag. "Field Stauts
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-XINTB'
i_output-xintb. "post automatically
perform bdc_field using 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-XGKON'.
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-XGKON'
i_output-xgkon. "relevent to cash A/c
perform bdc_field using 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
perform bdc_field using 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-FSTAG'.
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-FSTAG'
i_output-fstag. "Field Stauts
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-XINTB'
i_output-xintb. "post automatically
perform bdc_field using 'GLACCOUNT_SCREEN_CCODE-XGKON'
i_output-xgkon. "relevent to cash A/c
perform bdc_dynpro using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
perform bdc_field using 'BDC_OKCODE'
'/EEXIT'.
perform bdc_field using 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-XGKON'.
perform bdc_dynpro using 'SAPLSPO1' '0100'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
perform f_elog.
endloop.
FORM f_elog .
data len type i.
clear i_msgtab.
call transaction 'FS00'
using i_bdcdata
mode g_v_mode "N
messages into i_msgtab
update g_v_update . "S
write: i_output-saknr.
I am not getting where I am going wrong in the code.
Regards,
Priyanka.Hi,
Make the mode 'E' and see excatly, where the warning or errors or coming.
If you are having an currency or UOM ,related fields, see that the values should not be empty. If they are enpty. Put an if condition there and Quit filling such fields.
First keep in mode 'e' and debug. 100% you will see the warnings or errors, then tell me what is the error.
<b>call transaction 'FS00'
using i_bdcdata
mode g_v_mode "E
messages into i_msgtab</b>
Thansk'
Manju. -
Call BAPI_GOODSMVT_CREATE to create a goods receipt for purchase order
Hi,
I'm calling the bapi BAPI_GOODSMVT_CREATE to create a goods receipt for purchase order, but the following code doesn't work. It doesn't give me any kind of error message but it does nothing as well...
Can anyone help me please?
Thank You
Hugo
Code
DATA: wa_goodsmvt_header LIKE bapi2017_gm_head_01,
wa_goodsmvt_code LIKE bapi2017_gm_code,
wa_bapi2017_gm_head TYPE bapi2017_gm_head_ret-mat_doc.
DATA: it_goodsmvt_item LIKE bapi2017_gm_item_create OCCURS 0 WITH HEADER LINE,
it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
wa_goodsmvt_header-pstng_date = SY-DATUM.
wa_goodsmvt_header-doc_date = SY-DATUM.
wa_goodsmvt_header-ref_doc_no = '4500000020'.
wa_goodsmvt_code-gm_code = '01'. "Goods receipt for purchase Order
it_goodsmvt_item-stge_loc = 'BPF2'.
it_goodsmvt_item-move_type = '101' .
it_goodsmvt_item-entry_qnt = 17.
it_goodsmvt_item-entry_uom = 'KG'.
it_goodsmvt_item-mvt_ind = 'B'.
it_goodsmvt_item-po_number = '4500000020'.
it_goodsmvt_item-po_item = '00010'.
it_goodsmvt_item-material = '50'.
APPEND it_goodsmvt_item.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_goodsmvt_header
goodsmvt_code = wa_goodsmvt_code
IMPORTING
materialdocument = wa_bapi2017_gm_head
TABLES
goodsmvt_item = it_goodsmvt_item
return = it_return.
data: begin of errmsg occurs 10.
include structure bapiret2.
data: end of errmsg.
data: wmenge like iseg-menge,
errflag.
clear errflag.
loop at errmsg.
if errmsg-type eq 'E'.
write:/'Error in function', errmsg-message.
errflag = 'X'.
else.
write:/ errmsg-message.
endif.
endloop.
if errflag is initial.
commit work and wait.
if sy-subrc ne 0.
write:/ 'Error in updating'.
exit.
else.
write:/ 'Ok'.
endif.
endif.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = ' '.Hi,
Thank you for the asnwer! I'm a rookie at ABAP so please forgive my stupid questions
I've changed the code to:
DATA: wa_goodsmvt_header LIKE bapi2017_gm_head_01,
wa_goodsmvt_code LIKE bapi2017_gm_code,
wa_bapi2017_gm_head TYPE bapi2017_gm_head_ret-mat_doc.
DATA: it_goodsmvt_item LIKE bapi2017_gm_item_create OCCURS 0 WITH HEADER LINE,
it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
wa_goodsmvt_header-pstng_date = SY-DATUM.
wa_goodsmvt_header-doc_date = SY-DATUM.
wa_goodsmvt_header-ref_doc_no = '4500000020'.
wa_goodsmvt_code-gm_code = '01'. "Goods receipt for purchase Order
it_goodsmvt_item-plant = 'BP01'.
it_goodsmvt_item-stge_loc = 'BPF2'.
it_goodsmvt_item-move_type = '101' .
it_goodsmvt_item-entry_qnt = 10.
it_goodsmvt_item-entry_uom = 'KG'.
it_goodsmvt_item-mvt_ind = 'B'.
it_goodsmvt_item-po_number = '4500000020'.
it_goodsmvt_item-po_item = '10'.
it_goodsmvt_item-material = '50'.
APPEND it_goodsmvt_item.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_goodsmvt_header
goodsmvt_code = wa_goodsmvt_code
IMPORTING
materialdocument = wa_bapi2017_gm_head
TABLES
goodsmvt_item = it_goodsmvt_item
return = it_return.
write:/ it_return-message.
And the return message is : Material document data and PO data do not match (Material)
Any idea of what might be the problem?
Thanks -
User Exit to call program to create IDocs.
Hi All,
For any creation/changes of material master using MM01/MM02 (after save ) one of the user exit will trigger.
From the user exit, I have to call the custom program to create MATMAS IDOCs.
if any failures in changes/creation of material master. It has to roll back eveything created by program.
Please let me know how to achieve this with out calling an event.
Thanks - VinayThere are a number of standard methods to automatically create the IDOC. You can activate the change pointers and depending on need, use BD64 to create a distribution model, and create the necessary WE20 setups to create the outbound IDOC.
If you have to process the IDOC using custom logic, you can define that as well - although it's not clear why you need a custom generating program. You can insert code into one of the IDOC user-exits to manipulate the content if needed. Also, don't overlook the pre-delivered stuff from SAP that provides filtering out of segments and the like.
There are a few good SAP PRess books about doing ALE distribution -- if this is an unfamiliar area, it's worth the cost to buy one -- if you spend any time around IDOCS, you'll appreciate it. -
With Scanning call RFC of create TO and confirm TO W/O SAP WM confg--------
Hello expert,
We are using SAP WM functionality. Client is using scanning device for scanning a bar code. Can I integrate scanning with SAP WM to create TO and confirm TO with RFC? We do not want to use RF transaction/SAP RF configuration. Is it possible to call RFC with scanning? If yes how?
Thanks
MilindHello,
With my understanding .....For any pick in WM with RF, will be using the functional module "L_to_confirm" for confirmation of picking. In general WH worker scans first the TO bar code/Ship bar code/any bar code that directs him to go to the bin location with the RFGUN based on his que and use to scan the bin location verification bar code and make sure that that is the right location and picks the qty's that shows in the TO and then confirms immediately.
Now coming to your process you said in the last reply that "TO is already created and worker reaches the place and scan barcode". This is a standard way of doing pick with RF. You said once "he reached the place" it means he should know by scanning pick lable or reading pick sheet a person goes to the location and then you said scan the bar code i.e bin verification barcode and then he confirms the pick. If i understand some thing else.. i don't know... only i know is you need to have a Zprogram thriugh config the RF menu Tcode and that RF screen program will guide you to confirm the TO with GUN.
thanks... tkreddy -
How do I call a LabVIEW created DLL from within Microsoft Excel (VBA)?
Hi,
I'm trying to get Microsoft Excel 2003 to call a function stored in a dll that I created using LabVIEW 7.1. The function is very simple and is called "binary_file_to_ascii". Basically it just reads a LabVIEW created binary spreadsheet file and outputs the columns as float arrays.
The function arguments are as follows:
INPUT : String that contains the path to the binary spreadsheet file
OUTPUT : Number of rows in the spreadsheet
OUTPUT : Number of columns in the spreadsheet
OUTPUT : Float array containing the elements in column 1
OUTPUT : Float array containing the elements in column 2..
OUTPUT : Float array containing the elements in column 11
However, for some reason there is something wrong with my VBA code and/or the way I created the DLL in LabVIEW because Excel crashes when it loads my DLL.
What do I need to change in my VBA code or my LabVIEW DLL build settings to fix this?
I've attached to this post a ZIP file that contains all my code and a sample binary file.
Your help with this will be much appreciated. Thanks!
Richard
P.S. Here is the VBA code I'm using:
Private Declare Function binary_file_to_ascii Lib "C:\temp\binary_file_to_ascii\binary_to_ascii.dll" _
(ByVal binaryFile As String, ByVal nrows As Long, ByVal ncols As Long, ByVal column1 As Variant, _
ByVal column2 As Variant, ByVal column3 As Variant, _
ByVal column4 As Variant, ByVal column5 As Variant, _
ByVal column6 As Variant, ByVal column7 As Variant, _
ByVal column8 As Variant, ByVal column9 As Variant, _
ByVal column10 As Variant, ByVal column11 As Variant)
Private Sub load_binary_spectra()
Dim nrows, ncols As Long
Dim col1(), col2(), col3(), col4(), col5(), col6(), _
col7(), col8(), col9(), col10(), col11() As Variant
Dim lRetVal As Long
Dim spectra_path As String
spectra_path = "C:\temp\binary_file_to_ascii\sample_binary_file\sample_binary_file.dat"
lRetVal = binary_file_to_ascii(spectra_path, nrows, ncols, _
col1(), col2(), col3(), col4(), col5(), col6(), _
col7(), col8(), col9(), col10(), col11())
MsgBox (spectra_path)
End Sub
Message Edited by Richard Ballantyne on 07-25-2007 02:39 PM
Message Edited by Richard Ballantyne on 07-25-2007 02:39 PM
Attachments:
binary_file_to_ascii.zip 192 KBHi,
I don't know anything about Visual Basic, but here's my guess.
When you load the DLL with this line of code
Private Declare Function binary_file_to_ascii Lib "C:\temp\binary_file_to_ascii\binary_to_ascii.dll" _
(ByVal binaryFile As String, ByVal nrows As Long, ByVal ncols As Long, ByVal column1 As Variant, _
You are defining how the parameters are sent. It seems that all are sent by value (ByVal), but in the DLL header, some of the function's
parameters are defined as pointers(see the function prototype below, look for asterisk(*))
void __stdcall binary_file_to_ascii(PStr binaryFile,
long *numberOfRows,
long *numberOfColumns,
float column1[],
float column2[],
float column3[],
float column4[],
float column5[],
float column6[],
float column7[],
float column8[],
float column9[],
float column10[],
float column11[]);
Can you define in VBA that you want to use pointer instead? Maybe by using ByRef (as by reference).
Hope this helps. -
How to call BRF Plus created in ECC from SAP PO 7.4 mapping
Dear All,
I'm working on a scenario where we are using BRF+ created in SAP ECC.
Since the business rules change frequently,we decided to used BRF+ instead of NWBRM where user/functional consultant can maintain rules easily.
The application is already created in ECC based on business requirement now I have to used this rules in interface to transfer data based on rules.
How can I call BRF+ rules through message mapping?
Can we used rfc lookup or soap lookup like we do in NWBPM in SAP PO 7.4.
Regards
NirajNo, it is not an authorization issue.
As this interface has been generated in 4.7 using transaction BDBG, I am not able to change it in ECC 6.0. -
Calling a dll created with vision 7.0 from visual basic doesn't work
I created a dll using some vision 7.0 functions and Labview 7.0 environment. I call this dll from visual basic. The dll will work fine as long as I don't stop the visual basic program execution. As soon as I stop the program execution the dll will no longer work. I must reload the visual basic environment and the call to the dll will start working again. I created the exact same dll but I created it with vision 6.0 in Labview 6i environment. It works great and has no issues.
Attachments:
Test.vi 36 KBRoberto N. wrote:
Thank you Jordan, I'm using Labview 7.1.
Anyway I've resolved the problem by adding the "lvanlys.dll" file (present in "..\Labview 7.1\resource\lvanlys.dll" path) as support file in the building process. Now the DLL containing the analysis functions works correctly.
Natalino Roberto
Ok, you probably got lucky since the lvanlys.dll seems to implement that function directly. However most Advanced Analysis functions are just redirected by lvanlys.dll to the Intel Math Kerneal Library that gets installed with LabVIEW 7.1 and higher. The only way to get that properly installed with your LabVIEW executable or DLL is to create a LabVIEW installer in your Application Builder and make sure to select under "Installer Settings->Advanced" the "LabVIEW Run-Time Engine" and the "Analyze VIs Support". Then use that installer to install your DLL on another computer.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Call BAPI to Create Invoice During PGI(VL01N) via BADI
Hi,
Requirement: During PGI (VL01N), we have implemented a BADI (IF_EX_DELIVERY_PUBLISH) in method (PUBLISH_AFTER_SAVE) to call BAPI (BAPI_BILLINGDOC_CREATEMULTIPLE) to create invoice simultaneously with the PGI. In DEV box, the call BAPI is working fine (invoice is created). However in QA box there is a update termination occuring in the call BAPI, thus no invoice is being created. The thing is, how do I locate why the BAPI is terminating in QA but not in DEV? Is the BADI used correct? I have searched SAP Notes related to this termination when doing PGI in VL01N. Up to now we still do not know why in DEV is okay in QA it is not.
SAP Notes:
782447 Runtime error SAPSQL_ARRAY_INSERT_DUPREC when posting GIs
777409 Foreign trade: Update termination EXPIMP_POSTING
ST22 dump analysis:
In the source code you have the termination point in line 51
of the (Include) program "LV50EU05".
The program "SAPLV50E" was started in the update system.
The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
procedure "EXPIMP_POSTING" "(FUNCTION)", but it was neither handled locally nor
declared
in the RAISING clause of its signature.
The procedure is in program "SAPLV50E "; its source code begins in line
1 of the (Include program "LV50EU05 ".
Source code:
DESCRIBE TABLE XEIKP LINES LIN.
IF LIN GT 0.
INSERT EIKP FROM TABLE XEIKP. <<< the dump is happening in this standard logic
REFRESH XEIKP.
ENDIF.
Edited by: Mawi C. Ng on Sep 2, 2009 2:24 PMHi,
Based on the DUMP i can say that in the below statement :
INSERT EIKP FROM TABLE XEIKP. <<< the dump is happening in this standard logic
The program is trying to insert lines which have duplicate key values check the btable XEIKP at this point and see if the records that are there do they have key fields values that already exist. You can put a break-point at that statement and check.
Regards,
Himanshu -
Call EJBHome method create() from C++
We have problem, when we call first EJBHome method create() from C++(using CORBA VisiBroker for C++ 4.3) : exception CORBA::BAD_OPERATION
Basically, I just want a C++ program to be a client of my java server (which already has a JNI layer).
Would IPC using sockets (both the client and the server will always be on the same host) be as efficient as shared memory or NamedPipes? -
Call the CALL METHOD and CREATE OBJECT
Hi Friends,
How to call the CALL METHOD and CALL OBJECT in the se38 edit program.For example for calling the FUNCTION MODULE we can use the pattern in that using the call function we can get the function module in the se38 edit.but in METHOD hoe to call if you explain me in detail it would be very much usefulfor me.
Thanks,
Regards,
Rajendra KumarHi rajendra,
its the same way we do. call pattern ..there will be another radiobutton whcich says 'ABAP objects' , give the method name and the class name there.. this will call the method similar to function module..
we can also write our own classes and methods...
say..you created your own class c1 and method m1
then first create the instance of the object..
data:obj1 type ref to c1.
create object obj1.
call method obj1->m1.
Regards,
Vidya.
Maybe you are looking for
-
How to use a Itunes Library between multiple computers
Hi all, I have never posted a question to this apple forum, so forgive me if this is the wrong place to ask. My situation is as follows: I have a Synology DS214play NAS, also attached to my network is a wired Imac (late 2013 model) running the latest
-
ERROR CODE: c0000005, Photoshop Album Starter 3.0
I cannot open Photoshop Album Starter 3.0, unable to access pictures and download any pictures. Is there a fix for this? I get error code c0000005 & address 4001b2f.
-
I have a mid 2012 MBP with Retina display. When I try to install Firefox upgrades i Get the message that teh update will not be installed, are you running more than 1 copy of Firefox. This occurs no matter what I try even from a restart. Activity mon
-
Macbook Pro 2.16 memory
I bought a macbook pro 2.16 off a friend a couple of years ago. It came with 2gigs of RAM. I recently received 2 2gig sticks from my girlfriend out of her busted macbook pro. I understand that my machine will only (supposedly) recognize 3gigs. Howeve
-
Issues while creting tablespace
Hi, I have Oracle 11.1.0.6 on windows 2003 64 bit server , I am having issues while creating tablespace in this . I am using below script for creating the tablespace .. CREATE SMALLFILE TABLESPACE TEST13 DATAFILE 'D:\app\Administrator\oradata\TE