Update carrier info in VL02 through BDC/Otherwise
Hi SAP gurus,
We want to change the carrier information of the deliveries using BDC on VL02(change delivery),
but we are not able to get the right navigation to the carrier field of the partner function (CR).
We are using SAP 3.1 we donu2019t have any BAPI to work on such cases.
Please provide us your input to achieve this.
Thanks & Regards,
Raj
Dear Ajay,
Thanks for your reply.
In sales planning upload for infostructure, even if data is available in field, if we are uploading the data into infostructure table, the same would be reuploaded. Older data is updated with new data in fields.
Any further information please...
Regards,
Praveen.
Similar Messages
-
Unable to Update infotype 586 and 585 through BDC or LSMW
Dear Sir/ Madam,
I am in process of updating actual investment by employee in info type 0586 and 585.
I have already inputed the projected investments in 586 & 585 and as per tax tax is computed.
Also I have written a LSMW to update in the actual Tick.
But the problem is now I want to update actual investemnet using BDC, But my ABAper is unbale to do so as the records has been sorted on the projected investmnet ( ascending order),.
As this is to be updated for nearly 2500 records which vary ..
IKinldy suggest any standard program availble or in BDC can I use the investvent codes in Table T7INI3
Regards
Deepak GadekarHi,
Recording of psv2 and psv1 are complex.
I have done it using BDC since i need to do certain validations.
Go with BDC rather than LSMW.
Kindly mention the fields u need to update.Based on it u can decide on BDC or LSMW?
Edited by: Thyagu on Jun 15, 2009 11:51 AM -
Update Operation to SAP Failed using BDC Model
Hi All,
I am working in Duet Enterprise 1.0 development in SharePoint. At SAP front Query, Read and Update operations have been developed and the corresponding WSDL and Endpoint URLs are generated.
I need to use these WSDL and Endpoint urls and perform Update operation in SharePoint. For this I need to pass the parameters POSCLKey, CorrelationID, ReleaseCode and PONumber for the update operation.
I have written the following code:
using (new Microsoft.SharePoint.SPServiceContextScope(SPServiceContext.GetContext(site)))
BdcService service =
SPFarm.Local.Services.GetValue<BdcService>();
IMetadataCatalog
catalog = service.GetDatabaseBackedMetadataCatalog(SPServiceContext.Current);
//IEntity entity = catalog.GetEntity(ConfigurationManager.AppSettings["NameSpace"], ConfigurationManager.AppSettings["EntityName"]);
IEntity entity = catalog.GetEntity("http://bccplmoss:9999",
"Purchase Order V1");
foreach (KeyValuePair<string,
IMethod> methods in entity.GetMethods())
ILobSystemInstance LobSysteminstance = entity.GetLobSystem().GetLobSystemInstances()[0].Value;
IFieldCollection fieldCollection = entity.GetUpdaterView("UpdatePO").Fields;
IMethodInstance methodInstance = entity.GetMethodInstance("UpdatePO",
MethodInstanceType.Updater);
string Relcode = "V1";
//string[] parameters = { "1022_7400000011_ZPURCHASE_ORDER_HEADER_SPI_SERV_160", "7400000011", Relcode };
Identity identity = new
Identity("1022_7400000011_ZPURCHASE_ORDER_HEADER_SPI_SERV_160");
IMethodInstance methodinstance = methods.Value.GetMethodInstances()[methods.Key];
IEntityInstance
entityinstance = null;
entityinstance = entity.FindSpecific(identity, LobSysteminstance);
entityinstance.Update();
Error Details Are:
Error Occurred in the following line:
entityinstance = entity.FindSpecific(identity, LobSysteminstance);
Error Description: The shim execution failed unexpectedly - The incoming policy could not be validated. For more information, please see the event log..
Is there any Alternate Method to update the data into SAP through BDC model? Please suggest me at the earliest.
Thanks & Regards,
Murali Krishna Tatoju
Best Regards, Murali Krishna Tatoju SAP Duet DeveloperHi all,
Now we are able to pass all the required input data to the update operation
and no errors exist for this operation. But when we execute the update operation, the PO is not getting updated at SAP. But same operation
is working fine from DUET-ABAP. As a test, we executed this operation from DUET ABAP front and generated the log (/iwfnd/view_log) log
has been generated. The same operation when we executed from Sharepoint and when we looked into 14-hive logs, nothing has got generated
for update operation.
Note: when executed this update operation from SharePoint, in /iwfnd/view_log, no logs generated for updated operation.
Please suggest me a way so that I can sort out this issue.
Best Regards, Murali Krishna Tatoju SAP Duet Developer -
Unable to update the serial number through bdc in Sales Order
Hi experts,
I written the inboud FM for to update the 3rd party items serial number to the sales orders through BDC Call transaction Method.
Here i am facing a problem when i have the 19 item Quan ,it is updating correct through idoc , when ever there is moe than 19 and at that if any serial number repeated for that if i am changing at that time it is loosing the control of the BDC and giving the control to the salesorder screen.
how can i handle that control again has to come to BDC prgrm......
Thnks,
Regards,
BharaniHi,
Can you please let me know the segment in ORDERS05 Idoc to process the Payment card information and if the standard Function Module can handle the creation of a Sales Order with data for Payment Card.
We have a requirement to map the Tokenized Number of the Credit Card send from a store front end to ECC mapping via SAP-PI.
Thanks in Advance, -
I got an email saying my Apple account was going to be suspended unless I validated through an email. Is this legit? I did go on line and update my info, but I'm not convinced that was actually from Apple.
It is a phishing attempt. Do not respond. Do not divulge any personal or financial information. You can use the address below to forward the suspect email message to Apple.
[email protected]
The link below has information to help identify fraudulent emails.
http://support.apple.com/kb/HT4933 -
When I create Return Sales Order through BDC sales order doesnu2019t create.
Deal Guru,
When I create Return Sales Order through BDC sales order doesnu2019t create.
It shows created sales document number but when I display this document I am getting message Document is not in database.
After executing my BDC, message received in SAP in box : SAPSQL_ARRAY_INSERT_DUPREC
I am receiving following message in SAP inbox for following issue.
But when I create Return Sales Order through VA01, it is working. Please give me some idea.
Detail Message
Update was terminated
System ID.... PRO
Client....... 900
User..... DEVELOPER2
Transaction.. VA01
Update key... 4961DBF46A6B09D2E10080020A02281C
Generated.... 05.01.2009, 16:03:40
Completed.... 05.01.2009, 16:03:40
Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
Regards
MakarandHi Rory
Try this link:
BAPI can't to create SO,But used bapi data with manual can?
Regards
Neha -
Error while uploading data in table t_499s through BDC Prog
Hi
am facing problem while uploading data in table t_499s through BDC Program , if there is more than 15 records in file its not allowing to upload kindly suggest what to do
Thanx
Mukesh sHi,
See if you want to update only single table, which has User maintenance allowed
Use Modify statement.
EX:
LOOP AT ITAB INTO WA_TAB.
MOVE-CORRESPONDING WA_TAB TO T499S.
MODIFY T499S.
CLEAR T499S.
ENDLOOP.
It will update the table, to check go to sm30 , and check in V_T499S.
Rgds
Aeda -
Error while uploading Long Text in IA05 through BDC.
Dear Team,
Good Day.
While we are trying to upload the Long Text through BDC for IA05 operations the text is updating in Database but it is not visible in the long Text field. Is it possible to upload the long text through BDC or any bapi's which can be used for the same. Any configuration needed for this please do the needful.
Regards,
Bhanu.Bhanu,
I've modified the previous message with a correction that, I had used this for uploading Activity lines Longtexts.
One more thing: After I faced some problem, I used split text in the code. i.e., Splitting the longtext into several lines (72 char each). Show these code lines to your ABAPer, may be he might be able to draw some clues.
In the BDC lines alongwith other fields the gold line below
PERFORM FILL_BDC_DATA USING ' ' ' ' ' ' 'BDC_OKCODE' '=MX07'.
PERFORM FILL_BDC_DATA USING ' ' ' ' ' ' 'BDC_CURSOR' 'QMICON-LTAKTION(07)'.
PERFORM FILL_BDC_DATA USING ' ' ' ' ' ' 'VIQMMA-MATXT(07)' FS_FIELD-MNTXT7.
PERFORM SPLIT_LONGTEXT USING COL_COUNT.
Code for Form SPLIT_LONGTEXT is attached herewith (MATXT1 to MATXT7 are longtext split into 7lines )
Best of luck
KJogeswaraRao -
How can i get production version value(verid) for luck through bdc.
HI..
i have one requirement..that in c223 tcode while i luck the production version through BDC in my report program as i given bellow...i upload mat.no , plant, production version and 1(for luck)...
req:: i want while i given production version for particlular plant and material no...that production version should be luck....
so in standard tcode c223 how can i get value to compair it with my input production version value then i will close that...
program:::
report ZC2232
no standard page heading line-size 255.
*include bdcrecx1.
Tables : mkal.
data : nodata value '/' .
data : CTUMODE type c value 'E'.
DATA : CUPDATE TYPE C VALUE 'L'.
DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
messages of call transaction
DATA: MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
data: begin of HEADER OCCURS 0,
data element: MATNR
MATNR_001(018),
data element: WERKS_D
WERKS_002(004),
data element: PLNNR
PLNNR_003(008),
data element: CP_STTAG
STTAG_003(010),
data element: ENTRY_ACT
ENTRY_ACT_005(011),
data element: PLNAL
PLNAL_004(001),
data element: FLG_SEL
FLG_SEL_01_006(001),
data element: PLANTEXT
STLAL_004(002),
DATUV_005(010),
data element: WERKS_D
WERKS_008(004),
data element: PLN_VERWE
ktext_005(001),
data element: PLNST
DELKZ_005(001),
data element: LOSGRVON
LOSVN_011(017),
data element: LOSGRBIS
LOSBS_012(017),
data element: PLNME
PLNME_013(003),
data element: PLNME
stlal_014(002),
end of HEADER.
data : begin of it_header occurs 0,
matnr like marc-matnr,
werks like marc-matnr,
verid like mkal-verid,
mksp like mkal-mksp,
end of it_header.
data : exnum(40) type c,
exnum1(40) type c,
cnt type I,
CN(2) TYPE C,
c1 type c value '(',
c2 type c value ')'.
start-of-selection.
parameters: p_file like rlgrap-filename.
at selection-screen on value-request for p_file.
call function 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
importing
file_name = p_file.
start-of-selection.
call function 'WS_UPLOAD'
exporting
CODEPAGE = ' '
filename = p_file
filetype = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
tables
data_tab = it_header
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
DELETE it_header WHERE MATNR IS INITIAL.
LOOP AT it_header.
*start-of-selection.
*perform open_group.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'BDC_CURSOR'
'MKAL-WERKS'.
perform bdc_field using 'MKAL-WERKS'
it_header-werks.
perform bdc_field using 'MKAL-MATNR'
it_header-matnr.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=PICK'.
perform bdc_field using 'MKAL-WERKS'
it_header-werks.
perform bdc_field using 'MKAL-MATNR'
it_header-matnr.
*>>>>>>>>>>>>>>>>>>>>here what logic can i write****
clear cnt.
do 15 times.
cnt = cnt + 1 .
CN = CNT.
exnum = 'MKAL_EXPAND-VERID'.
concatenate exnum c1 cn c2 into exnum1.
*perform bdc_field using 'BDC_CURSOR'
exnum1.
GET PARAMETER ID 'VER' FIELD EXNUM1.
CALL TRANSACTION 'C223' AND SKIP FIRST SCREEN.
if ( it_header-verid = EXNUM1 ).
exit.
endif.
enddo.
****************************************************end***>>>>>>>>
perform bdc_field using 'BDC_CURSOR'
exnum1.
perform bdc_dynpro using 'SAPLCMFV' '2000'.
perform bdc_field using 'BDC_CURSOR'
'MKAL_EXPAND-PLNTY'.
perform bdc_field using 'BDC_OKCODE'
'=PRFG'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_OKCODE'
'=RW'.
perform bdc_dynpro using 'SAPLCMFV' '2000'.
perform bdc_field using 'BDC_OKCODE'
'/ECANC'.
perform bdc_field using 'BDC_CURSOR'
'MKAL_EXPAND-VERID'.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
perform bdc_field using 'BDC_CURSOR'
'MKAL-WERKS'.
perform bdc_field using 'MKAL-WERKS'
it_header-werks.
perform bdc_field using 'MKAL-MATNR'
it_header-matnr.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_transaction using 'C223'.
endloop.
*perform close_group.
*& Form bdc_dynpro
text
-->P_0161 text
-->P_0162 text
form bdc_dynpro USING PROGRAM DYNPRO.
CLEAR BDCDATA.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
endform. " bdc_dynpro
*& Form bdc_transaction
text
-->P_0351 text
form bdc_transaction USING TCODE.
call transaction 'C223' using bdcdata
mode CTUMODE
update CUPDATE
messages into messtab.
if sy-subrc <> 0.
message e000(zmm01) with
'Check your input data'.
endif.
endform. " bdc_transaction
*& Form bdc_field
text
-->P_0346 text
-->P_0347 text
form bdc_field USING FNAM FVAL.
if fval <> nodata.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
endif.
endform. " bdc_fieldl_nl := dbms_xslprocessor.selectNodes(l_n, '/TaxInvoice/TaxInvoiceDocument');try to change as follow
l_nl := dbms_xslprocessor.selectnodes(l_n,'/TaxInvoice/TaxInvoiceDocument','xmlns="urn:kr:or:kec:standard:Tax:ReusableAggregateBusinessInformation:1:0"');Edited by: AlexAnd on Aug 17, 2011 12:36 AM -
Bank statement balances is not clearde automatically through BDC.
Dear Friends,
We are using Manual BRS in our client. For this Our client has requested to update the statement automatically.
For this we did a BDC progrm to update the statement. BDC program working fine. Because subledger account and main account gets updated.
But subledger account balances is not getting clear autamatiaclly.
Ex: when we pass the check to the vendos by using f-53, systom will generate the accounting entry is....
Vendor account Dr
To Check issued accout.
If check has been clear by bank, systom automaticallu pass the entry........
Check issued account Dr (ff67 or BDC)
To Main bank account.
But while updating the statement through BDC, Systom is upadteing the amounts but those balances is not cleared.
If it is cleared by subledger, we can easyly find out unrecosiled item by subledger account wise.
Please give me possible sollution.
Regards,
Dudekula.Hi Bramhiaah,
You could add the Intepretation Algorithm .i.e rule for clearing in IMG in the same T-code that you create Manual Statement transactions.
Bank Accounting-> Payment Transactions->Manual bank Statement -> Create/ Assign Business Transactions
Select the Int Algrthm that you want to use for each transaction.
In FF67 the same CHECT_KF field can be used to match different fields on the customer document. example the Bank Reference field or CHECT_KF field can match with check number on the customer document or with the Payorder number depending on the Int Algorthm used for that transaction.
Please refer to the following link from SAP help site. This gives details of how the Int Algorthm works. Although this documentation is in reference to Electronic Statements, it will help you analyse which Int Algo and how to use it for manual Bank statement. The Int alogrhtms are the same for Electronic as well as manual. The reference field XBLNR is used in several algorthms eg: 001, 021, 026 etc. You can read the documentation and find out the one most suitable.
On the following link, on the left pane, click on ' Electronic Account Statement (FI-BL)->Using Electronic account statement-> Importing the account statement->Interpreting the Note to payee fields->Interpretation algorithms '
Link:[http://help.sap.com/saphelp_erp60_sp/helpdata/en/43/0bd87b43de11d1896f0000e8322d00/frameset.htm]
Hope this helps.
Thanks & Regards,
Uma -
Change fixed vendor for me01 through bdc
HI ALL,
if in t-code me01 for a material and plant we have some vendors out of which one is fixed vendor
now i want how can i change my fixed vendor through bdc . because i want to change fixed vendor for
large materials.
currently my fixed vendor is 100496 here fixed vendor is X
material plant valid form valid to vendor Fix
2000125 006 24.09.2009 31.12.9999 100496 X
2000125 006 24.09.2009 31.12.9999 100497
now i want to change my fixed vendor 100497.hi
you can change through bdc. you may need to loop through the list of materials if the same changes need to updated.
Cheers,
Hakim -
How to upload datas in excel sheet through BDC
Hi,
I know how to upload datas in Text format through BDC...Suppose even when datas are in .xls format,I saved that file as Text(tab delimited) format...then file become text format and it can be easily uploaded....
So, I want to know How to upload datas in excel sheet through BDChi,
try this Example, hope useful to u, assign me point.
report ZMSV1_BDC_CALL
no standard page heading line-size 255.
*include bdcrecx1.
*parameters: dataset(132) lower case.
DO NOT CHANGE - the generated data section - DO NOT CHANGE ***
If it is nessesary to change the data section use the rules:
1.) Each definition of a field exists of two lines
2.) The first line shows exactly the comment
'* data element: ' followed with the data element
which describes the field.
If you don't have a data element use the
comment without a data element name
3.) The second line shows the fieldname of the
structure, the fieldname must consist of
a fieldname and optional the character '_' and
three numbers and the field length in brackets
4.) Each field must be type C.
Generated data section with specific formatting - DO NOT CHANGE ***
data: begin of record,
data element: BUKRS
BUKRS_001(004),
data element: KTOKK
KTOKK_002(004),
data element: NAME1_GP
NAME1_003(035),
data element: SORTL
SORTL_004(010),
data element: ORT01_GP
ORT01_005(035),
data element: LAND1_GP
LAND1_006(003),
data element: SPRAS
SPRAS_007(002),
data element: BANKS
BANKS_01_008(003),
data element: BANKK
BANKL_01_009(015),
data element: BANKN
BANKN_01_010(018),
end of record.
End generated data section ***
data: itab like record occurs 0 .
data: it_bdc type bdcdata occurs 0 with header line.
data: it_msg type bdcmsgcoll occurs 0 with header line.
parameter p_file type rlgrap-filename default 'c:\vendor.txt' obligatory
start-of-selection.
perform open_dataset using p_file.
perform open_group.
*perform close_group.
*perform close_dataset using dataset.
*& Form open_dataset
text
-->P_P_FILE text
form open_dataset using p_p_file.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = p_file
FILETYPE = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
TABLES
data_tab = itab
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " open_dataset
*& Form open_group
text
--> p1 text
<-- p2 text
form open_group .
loop at itab into record.
perform bdc_dynpro using 'SAPMF02K' '0105'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-KTOKK'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02K-BUKRS'
record-BUKRS_001.
perform bdc_field using 'RF02K-KTOKK'
record-KTOKK_002.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-ORT01'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'LFA1-NAME1'
record-NAME1_003.
perform bdc_field using 'LFA1-SORTL'
record-SORTL_004.
perform bdc_field using 'LFA1-ORT01'
record-ORT01_005.
perform bdc_field using 'LFA1-LAND1'
record-LAND1_006.
perform bdc_field using 'LFA1-SPRAS'
record-SPRAS_007.
perform bdc_dynpro using 'SAPMF02K' '0120'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-KUNNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'LFBK-KOINH(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'LFBK-BANKS(01)'
record-BANKS_01_008.
perform bdc_field using 'LFBK-BANKL(01)'
record-BANKL_01_009.
perform bdc_field using 'LFBK-BANKN(01)'
record-BANKN_01_010.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'LFBK-BANKS(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPMF02K' '0210'.
perform bdc_field using 'BDC_CURSOR'
'LFB1-AKONT'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0215'.
perform bdc_field using 'BDC_CURSOR'
'LFB1-ZTERM'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0220'.
perform bdc_field using 'BDC_CURSOR'
'LFB5-MAHNA'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
call transaction 'FK01' using it_bdc mode 'A' update 'S'
messages into it_msg.
write:/ sy-subrc.
perform message_formatwrite.
refresh it_bdc.
clear it_bdc.
endloop.
endform. " open_group
*& Form message_formatwrite
text
--> p1 text
<-- p2 text
form message_formatwrite .
data:l_msg(10).
loop at it_msg.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = SY-MSGID
LANG = sy-langu
NO = SY-MSGNO
V1 = SY-MSGV1
V2 = SY-MSGV2
V3 = SY-MSGV3
V4 = SY-MSGV4
IMPORTING
MSG = l_msg
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endloop.
endform. " message_formatwrite
*& Form bdc_dynpro
text
-->P_0112 text
-->P_0113 text
form bdc_dynpro using value(p_0112)
value(p_0113).
it_bdc-program = p_0112.
it_bdc-dynpro = p_0113.
it_bdc-dynbegin = 'X'.
append it_bdc.
clear it_bdc.
endform. " bdc_dynpro
*& Form bdc_field
text
-->P_0117 text
-->P_0118 text
form bdc_field using value(p_0117)
value(p_0118).
it_bdc-fnam = p_0117.
it_bdc-fval = p_0118.
append it_bdc.
clear it_bdc.
endform. " bdc_field
Regards
fareedas -
I cant seem to be able to update to iOS 6.1 through my PC for my iPhone 5...The error reads: 'There was a problem downloading the software for the iPhone 'Thomas Honiball'. You do not have permission to access the requested resource".... please help!!
Only developer's have access to iOS 6 now. Thus, if you are a developer you have have access to the developer's forum for iOS 6.
Otherwise you have a bootleg copy and are on yur own./ -
HI,
We are using the BDC program to upload the manual bank reconciliations statement for FF67 and when we are uploading the BRS the receipt entries are updating but the payment entries are not updating (For the past 5 years working fine but, June 2011 onwards not working)
I really appreciate for early response
Thanks,
VenkataswamyWe are uploading the bank statement through ZBank T code (This T code created by using the BDC Recording program)
After uploading the bank statement immediately we are going to FF67 screen and giving the inputs and in this screen BDC program will copying all the entries which we have uploaded through BDC
After this we are going to the SM35 and processing the batch input session, once we processes the batch input session immediately it going to the post with clearing transaction and in this screen we are giving the inputs company code and bank account and account type
At the time of doing the post with clearing system is giving the error message there was no batch put session.
outgoing and incoming payments (F-28,f-53)IN BDC WE HAVE TAKEN THE LOGIC Reference filed at the header level(Check number)and amount should match.
Error Message
No batch input data for screen SAPMF40K 8000
Message no. 00344
Diagnosis
The transaction sent a screen that was not expected in the batch input
session and which therefore could not be supplied with data.
Possible reasons:
1. The batch input session was created incorrectly. The sequence of
screens was recordly incorrectly.
2. The transaction behaves differently in background processing in a
batch work process than when running in dialog (SY-BATCH is queried and
changes the screen sequence).
3. The transaction has undergone user-specific Customizing and therefore
certain screens may be skipped or processed differently, according to
the current user. If the person who created a batch input session is not
the same as the person now processing it, this problem may occur
frequently.
System response
None.
Procedure
For 1: Either re-create the session or process it in expert mode.
Correct the batch input program.
For 2. It is very difficult to analyze this problem, particularly in the
case that the screen sequence or the display-only options of fields
differ according to whether the transaction is being processed in the
background or as an online dialog. It could also be that this kind of
transaction cannot run with batch input.
For 3: Have the creator of the session process it. If no error occurs
now, then this is a program with user-specific Customizing.
Regards,
Venkataswamy
Edited by: venkataswamy bathini on Sep 8, 2011 8:42 AM -
Light goes off or System crash During Upload data through BDC Call Transaction ..
Hi Experts ,
How do I know how many records had been updated in database while uploading the flat file through BDC call transaction ,the system suddenly crash or light goes off ..............
Thanks and Regards .
Om prakashHi Prakash,
i have already told toy to use bapi to get all the error and success messages, through which you don't need to do all the above stuffs, the first method you have shown is based on algorithm , which might not be correct each time, and the second method is handy.
You can add these code lines in your BDC which will give you all error and success messages
DATA : BEGIN OF options.
INCLUDE STRUCTURE ctu_params.
DATA : END OF options.
DATA: i_messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
l_message LIKE bapiret2-message.
DATA: p_mode TYPE c.
DATA BEGIN OF it_error OCCURS 1.
DATA : text(100) TYPE c.
DATA END OF it_error.
DATA BEGIN OF it_success OCCURS 1.
DATA: text(100) TYPE c.
DATA END OF it_success.
START-OF-SELECTION.
PERFORM upload_data.
* Report for success
PERFORM success_text.
* Report for Error
PERFORM error_text.
END-OF-SELECTION.
CALL TRANSACTION 'your transaction code' USING bdcdata
OPTIONS FROM options
MESSAGES INTO i_messtab.
IF SY-SUBRC NE 0.
CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL'
EXPORTING
id = sy-msgid
number = sy-msgno
language = sy-langu
textformat = 'ASC'
message_v1 = sy-msgv1
message_v2 = sy-msgv2
message_v3 = sy-msgv3
message_v4 = sy-msgv4
IMPORTING
message = l_message.
CONCATENATE l_message '-' wa_input-newko wa_input-wrbtr wa_input-budat INTO it_error-text
SEPARATED BY ' '.
APPEND it_error.
ELSE.
CONCATENATE 'DATA UPLOADED SUCCESSFULLY :' wa_input-newko wa_input-wrbtr wa_input-budat
INTO it_success-text SEPARATED BY ' '.
APPEND it_success.
ENDIF.
REFRESH bdcdata.
CLEAR: wa_input,l_message.
ENDLOOP.
***ENDLOOP.
endform.
" UPLOAD_DATA
FORM success_text .
LOOP AT it_success.
AT FIRST.
WRITE :/10 'Following records successfully uploaded'.
ULINE.
ENDAT.
WRITE :/10 it_success-text.
ENDLOOP.
ENDFORM.
FORM error_text .
LOOP AT it_error.
AT FIRST.
WRITE :/10 'Following records are not uploaded'.
ULINE.
ENDAT.
WRITE :/10 it_error-text.
ENDLOOP.
ENDFORM.
Maybe you are looking for
-
Hi all, does any one of you know about any restriction or any other issue involving SSO and JavaScript? We have a web app in an OC4J instance, which uses JSP and JavaScript. When SSO is disabled for the application, everything goes well. But when SSO
-
CAPP - standard value calculation origin 9 function module CE22.
Dear, I've a project where i need to calculate standard value time based on multiple and various criteria. (standard price of a all components assigned to one operation) I've seen that it should be possible to calculate a characterisitic value based
-
Dear XI expertise, I am not able to do alert configuration in RWB. when I click the link "Alert Configuration" it is displaying an error page with status code 404. What configuration should be done XI to work with Alert Configuration. Advance Thanks,
-
Please clarify availability of H 264 encoding in AIR for iOS/Android
Hello, I've written an app to send a live camera stream via RTMP in H 264/Nellymoser from mobile devices. The app works fine on AIR when tested on my Win7 desktop, but when I publish to AIR 3.2 for Android or AIR for iOS, it seems that the H264Video
-
Poor data speed or no data speed in 4G LTE for the last 4 months!
So let me get this straight: If I can't browse the web or do anything while my iPhone 5 is set at 4G LTE, I have to switch it to 3G? I thought Verizon had the fastest and best service coverage? I used to agree with this statement up until about 4 mon