BDC for payment linkings
Hi ABAP Gurus,
we want to have a <b>BDC</b> for <b>PAYMENT LINKING.</b>
<b>Business scenario :</b> Customer makes an Incoming Payment . The Invoices are linked to this incoming Payments.
Currently in R/3 we are using TCODE : F-28 for Payment Linkings .
For Payment linking we are going thru the following steps.
Run TCODE : F-28 , Enter header details of Incoming Payment. Click Process open Items , Then in the standard tab , select particular invoice by double click.
But BDC is not capturing Double click process. Can any body suggest how to handle it .
Thanx in advance.
Regards,
Sriram.
hi,
try this (example is from ta
FB05)
PERFORM BDC_DYNPRO USING 'SAPDF05X' '3100'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' 'OMX' "mark all
PERFORM BDC_DYNPRO USING 'SAPDF05X' '3100'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' 'Z+S'. "set active
PERFORM BDC_DYNPRO USING 'SAPDF05X' '3100'.
PERFORM BDC_FIELD USING 'BDC_OKCODE' 'BU'. "´book
hope , that helps
if not , there is the poss. to match with dynpro 733
regards Andreas
Similar Messages
-
Hi
I am trying to perform BDC for transaction F-54 (Clear Vendor Down Payment). On the second screen of the transaction, I have to select a row from the table display based on some criteria eg assignment = 'xxx'. Is it true that BDC would not be able to do this?
What alternatives do I have? Are there any BAPIs or function modules for this transaction?
Appreciate any tips. Thanks.Hi,
you must be careful with BDC. It´s a tool for loading data from an external source into SAP, therefore some processing of criteria is restricted or not possible.
You say you have to select a line from the table according to certain criteria. I assume that the information exists already in SAP (someone saved it before). In this case, this is not going to be possible to select the line, unless you can read the data that shows up in the table in order to apply your criteria per coding.
Now, if you had the information in an internal table, you can apply the selection criteria and then select the necessary line and process the BDC.
Try to use transaction SHDB for recording a transaction and then you can read the generated code for BDC and decide, whether it can help you. -
Hi All,
I need to use transaction F-28 to create an interface for automatic postings of customer payments.
Is it possible to create BDC for F-28?
RegardsHello,
It is very difficult to make bdc for any FI transaction. My advice is to use RFBIBL00 program for this.
See my answer to this thread
Re: FB01 DATA UPLOAD USING POSTING_INTERFACE_DOCUMENT FUNCTION
Regards,
Naimesh -
Multiple selection for Payment Methods.
TABLES: V_T042E.
DATA: s_zwels_con(3).
SELECT-OPTIONS: s_zwels FOR V_T042E-ZLSCH NO INTERVALS,"payment methods
******************** I N I T I A L I Z A T I O N *******************
INITIALIZATION.
*************** A T S E L E C T I O N S C R E E N **************
AT SELECTION-SCREEN.
CONCATENATE s_zwels INTO s_zwels_con SEPARATED BY SPACE.
This is the code I tried for multiple selection of Payment Methods.This doesnot display the multiple values selected on selection screen.
Later in program these values will be reflected in Payment Methods in BDC recording using F110 transaction.
But this code is giving an error :
Unable to interpret "S_ZWELS". Possible causes of error: Incorrect spelling or comma error.
Please can any help in rectifying the current method or any other method of mutliple selection for Payment methods on selection screen .u have to put like this only
<b>SELECT-OPTIONS: s_zwels FOR V_T042E-ZLSCH NO INTERVALS
"payment methods</b>
here u have to loop then only u will get desired o/p
loop at s_zwels.
endloop.
but its not the complete solution.
Regards
Prabhu -
Hi Guru,
Any one can send the BDC program for F-02.plssss its urgent
PLZ I NEED IT VERY URGENT UR HELP MAKES MORE COMFORT TO ME
THANK Q U ALL
10 POINTS ASSUREDTry using the BAPI:
BAPI_ACC_GL_POSTING_POST
BAPI_ACC_DOCUMENT_POST
User Exit/BADI available for the tcodes F-02, F-48, F-65, F-31 and F-53
Exits available:
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not sen
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
BADIs:
AC_QUANTITY_GET
AC_QUANTITY_GET
BADI_ENJ_ALT_ADR
BADI_ENJ_ALT_ADR
BADI_F040_SCREEN_600
BADI_FDCB_SUBBAS01
BADI_FDCB_SUBBAS02
BADI_FDCB_SUBBAS03
BADI_FDCB_SUBBAS04
BADI_FDCB_SUBBAS05
BADI_MIRO_SPLT_ADD
BADI_PRKNG_NO_UPDATE
BADI_TAX1_XTXIT_SET
F050S008
FBAS_CIN_LTAX1F02
FBAS_CIN_MF05AFA0
FI_AUTHORITY_ITEM
FI_DOC_DISP_LI
FI_GET_INV_PYMT_AMT
FI_HEADER_SUB_1300
FI_PAYREF_BADI_010
FI_TRANS_DATE_DERIVE
INVOIC_FI_INBOUND
RFESR000_BADI_001
Reward points if useful. -
BDC FOR F-58 - BKPF-BLART NOT FOUND ON DYNPRO
Hi everyone,
I am doing the bdc for tcode F-58 based on the parameters given by SM35. When I run it with the program, it suddenly stops showing the error message, "Field BKPF-BLART not found on dynpro sapmf05a 0129". I need to set the bkpf-blart field to a specific one (electronic payment) but it seems bdc doesn't allowed me to do such a change. do you know how does this happens or how can it be solve, or where can i take a look ?
Thanks on any advice.
SilviaBKPF-BLART is very much there on the specified screen SAPMF05A 0129.
although quite a few FI transactions behave differently when run normally compared to when a recording is done on them, i don't think this transaction will fall in that category (especially this field). check your code once again.
rgds,
PJ -
Hello Exports,
When i do BDC for f-58 it is working till save, The moment i save the transaction BDC complete. but it is unable to capture doc no generated. So that i am unable to create check. pls can anybody help me in this.
Thanks
MuraliHi Murali,
I'm experiencing the same issue, can you please share how u resolved it? I need to generate a check information together with payment document created from the F-58 BDC.
I have tried the Vishwa's suggestion where I would tick the "Print Immediately" button, but there is still no check generated.
As for the BAPI_PAYMENTREQUEST_CREATE, i still don't think this is applicable for my requirement.
Thanks in advance. Hope you can help me.
Regards,
Reiko -
hi
i am going to make bdc program for pa40 which is of hr module .
i want to know whether bdc program will be similar or different for hr module .
regards
Rakesh singhhi rakesh,
check this out....
*include bdcrecx1.
TABLES: t100.
Type Declaration *
TYPES : BEGIN OF t_pa40,
*----INFO TYPE 0000
pernr TYPE bapip0001-pernr, "EMPLOYEE NUMBER
einda TYPE dats,
begda(10) TYPE c, "start date
plans(8) TYPE c, "POSITION
massn(2) TYPE c, "Action Type
massg(2) TYPE c, "reason for action
werks(4) TYPE c, "PERSONAL AREA
persg(1) TYPE c, "EMPLOYEE GROUP
persk(2) TYPE c, "Employee Subgroup
*----INFO TYPE 0002
anrex(5) TYPE c, "Form of address text
nachn(40) TYPE c, "Last Name
vorna(40) TYPE c, "FIRST NAME
inits(10) TYPE c, "INITIALS
gesch(1) TYPE c, "gender key
gbdat(10) TYPE c, "DATE OF BIRTH
fatxt(1) TYPE c, "MARITAL STATUS,
famdt(10) TYPE c, "DATE OF MARRIAGE,
*----INFO TYPE 0001
btrtl(4) TYPE c, "Personnel Subarea
gsber(4) TYPE c, "Business Area
abkrs(2) TYPE c, "Payroll Area
*----INFO TYPE 0006
anssa(4) TYPE c, "ADDRESS TYPE
stras(60) TYPE c, "STREET
locat(40) TYPE c, "2nd LINE ADDRESS
pstlz(10) TYPE c, "POSTAL CODE
ort01(40) TYPE c, "City
telnr(14) TYPE c, "Telephone number
*----INFO TYPE 0007
schkz(8) TYPE c, "Work Schedule Rule
*----INFO TYPE 0008
trfar(2) TYPE c, "PAY SCALE TYPE,
trfgb(2) TYPE c, "PAY SCALE AREA
divgv(5) TYPE c, "Hours worked per payroll period
trfgr(8) TYPE c, "Pay Scale Group
trfst(2) TYPE c, "level
*----EMPLOYEE WAGE_TYPES
lga01(4) TYPE c, "Wage type-----LINE ITEM 1(5000)
lga02(4) TYPE c, "Wage type-----LINE ITEM 2(5010)
lga03(4) TYPE c, "Wage type-----LINE ITEM 3(5020)
lga04(4) TYPE c, "Wage type-----LINE ITEM 4(5030)
lga05(4) TYPE c, "Wage type-----LINE ITEM 5(5040)
*----EMPLOYEE WAGE AMOUNTS
bet01(13) TYPE c, "Wage Type Amount for Payments
bet02(13) TYPE c, "Wage Type Amount for Payments
bet03(13) TYPE c, "Wage Type Amount for Payments
bet04(13) TYPE c, "Wage Type Amount for Payments
bet05(13) TYPE c, "Wage Type Amount for Payments
*----INFO TYPE 0009
bankl(15) TYPE c, "BANK KEY
bankn(18) TYPE c, "BANK ACCOUNT NUMBER
zlsch(1) TYPE c, "Payment Method,
*----info-587,588,185.
tstid(4) TYPE c, "PF TRUST ID
penid(4) TYPE c, "PENSION TRUST ID
eepfn(20) TYPE c, "PF NUMBER,
eepnn(20) TYPE c, "PENSION NUMBER
eevpf(5) TYPE c, "Voluntary Provident fund
evpfa(15) TYPE c, "Employee VPF Amount
pnflg(1) TYPE c, "Contribution for Pension scheme flag
ptxel(1) TYPE c, "Eligibility for PTax
ictyp LIKE p0185-ictyp, "Id Type
icnum LIKE p0185-icnum, "ID NUMBER
auth1 LIKE p0185-auth1, "Author
END OF t_pa40.
Internal table declaration *
DATA : i_pa40 TYPE TABLE OF t_pa40 WITH HEADER LINE.
bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
data definition
Batchinputdata of single transaction
DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
messages of call transaction
DATA: messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
error session opened (' ' or 'X')
DATA: e_group_opened.
message texts
DATA: l_mstring(480).
DATA: l_subrc LIKE sy-subrc.
Variables Declaration *
DATA: v_fname TYPE string,
v_ftype(10) TYPE c VALUE 'ASC'.
Constants Declaration *
CONSTANTS: m1 VALUE 'E',
u1 VALUE 'S'.
Selection screen *
PARAMETERS: p_fname TYPE rlgrap-filename.
For F4 *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = p_fname.
start of selection *
START-OF-SELECTION.
MOVE p_fname TO v_fname.
GUI uploading *
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = v_fname
filetype = v_ftype
has_field_separator = 'X'
TABLES
data_tab = i_pa40.
LOOP AT i_pa40.
REFRESH bdcdata.
*perform open_group.
BDC recording *
PERFORM bdc_dynpro USING 'SAPMP50A' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'T529T-MNTXT(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=PICK'.
PERFORM bdc_field USING 'RP50G-PERNR'
i_pa40-pernr. "'77116'.
PERFORM bdc_field USING 'RP50G-EINDA'
i_pa40-einda. "'13.12.2007'.
PERFORM bdc_field USING 'RP50G-SELEC(01)'
'X'.
PERFORM bdc_dynpro USING 'MP000000' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'PSPAR-PERSK'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPD'.
PERFORM bdc_field USING 'PSPAR-PERNR'
i_pa40-pernr. "' 77116'.
PERFORM bdc_field USING 'P0000-BEGDA'
i_pa40-begda. "'13.12.2007'.
PERFORM bdc_field USING 'P0000-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'P0000-MASSN'
i_pa40-massn. "'01'.
PERFORM bdc_field USING 'P0000-MASSG'
i_pa40-massg. "'01'.
PERFORM bdc_field USING 'PSPAR-PLANS'
i_pa40-plans. "'99999999'.
PERFORM bdc_field USING 'PSPAR-WERKS'
i_pa40-werks. "'1000'.
PERFORM bdc_field USING 'PSPAR-PERSG'
i_pa40-persg. "'1'.
PERFORM bdc_field USING 'PSPAR-PERSK'
i_pa40-persk. "'01'.
PERFORM bdc_dynpro USING 'MP000200' '2040'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0002-NATIO'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPD'.
PERFORM bdc_field USING 'P0002-BEGDA'
i_pa40-begda. "'13.12.2007'.
PERFORM bdc_field USING 'P0002-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'Q0002-ANREX'
i_pa40-anrex. "'Mr'.
PERFORM bdc_field USING 'P0002-NACHN'
i_pa40-nachn. "'eng'.
PERFORM bdc_field USING 'P0002-VORNA'
i_pa40-vorna. "'lish'.
PERFORM bdc_field USING 'P0002-INITS'
i_pa40-inits. "'E'.
PERFORM bdc_field USING 'P0002-GESCH'
i_pa40-gesch. "'1'.
PERFORM bdc_field USING 'P0002-SPRSL'
'EN'.
PERFORM bdc_field USING 'P0002-GBDAT'
i_pa40-gbdat. "'19.09.1985'.
PERFORM bdc_field USING 'Q0002-FATXT'
i_pa40-fatxt. "'Marr.'.
PERFORM bdc_field USING 'P0002-NATIO'
'IS'.
PERFORM bdc_dynpro USING 'MP000100' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0001-ABKRS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPD'.
PERFORM bdc_field USING 'P0001-BEGDA'
i_pa40-begda. "'13.12.2007'.
PERFORM bdc_field USING 'P0001-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'P0001-BTRTL'
i_pa40-btrtl. "'1010'.
PERFORM bdc_field USING 'P0001-GSBER'
i_pa40-gsber. "'0001'.
PERFORM bdc_field USING 'P0001-ABKRS'
i_pa40-abkrs. "'01'.
PERFORM bdc_field USING 'P0001-PLANS'
i_pa40-plans. "'99999999'.
PERFORM bdc_dynpro USING 'MP000600' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0006-TELNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPD'.
PERFORM bdc_field USING 'P0006-BEGDA'
i_pa40-begda. "'13.12.2007'.
PERFORM bdc_field USING 'P0006-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'P0006-STRAS'
i_pa40-stras. "'vs homes'.
PERFORM bdc_field USING 'P0006-LOCAT'
i_pa40-locat. "'k nagar'.
PERFORM bdc_field USING 'P0006-PSTLZ'
i_pa40-pstlz. "'522006'.
PERFORM bdc_field USING 'P0006-ORT01'
i_pa40-ort01. "'gnt'.
PERFORM bdc_field USING 'P0006-LAND1'
'IN'.
PERFORM bdc_field USING 'P0006-TELNR'
i_pa40-telnr. "'2325161'.
PERFORM bdc_dynpro USING 'MP000600' '2000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/ENXT'.
PERFORM bdc_dynpro USING 'MP000700' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0007-SCHKZ'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPD'.
PERFORM bdc_field USING 'P0007-BEGDA'
i_pa40-begda. "'13.12.2007'.
PERFORM bdc_field USING 'P0007-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'P0007-SCHKZ'
i_pa40-schkz. "'CGEN'.
PERFORM bdc_field USING 'P0007-EMPCT'
' 100,00'.
PERFORM bdc_dynpro USING 'MP000800' '2040'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0008-TRFAR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPD'.
PERFORM bdc_field USING 'P0008-BEGDA'
i_pa40-begda. "'13.12.2007'.
PERFORM bdc_field USING 'P0008-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'P0008-TRFAR'
i_pa40-trfar. "'01'.
PERFORM bdc_field USING 'P0008-BSGRD'
'100,00'.
PERFORM bdc_field USING 'P0008-TRFGB'
i_pa40-trfgb. "'01'.
PERFORM bdc_field USING 'P0008-DIVGV'
i_pa40-divgv. "'192,00'.
PERFORM bdc_field USING 'P0008-TRFGR'
i_pa40-trfgr. "'JRMGT'.
PERFORM bdc_field USING 'P0008-TRFST'
i_pa40-trfst. "'01'.
PERFORM bdc_field USING 'P0008-ANCUR'
'INR'.
PERFORM bdc_field USING 'Q0008-IBBEG'
'27.03.2008'.
PERFORM bdc_field USING 'P0008-WAERS'
'INR'.
PERFORM bdc_field USING 'Q0008-LGART(01)'
i_pa40-lga01. "'5000'.
PERFORM bdc_field USING 'Q0008-LGART(02)'
i_pa40-lga02. "'5001'.
PERFORM bdc_field USING 'Q0008-LGART(03)'
i_pa40-lga03. "'5002'.
PERFORM bdc_field USING 'Q0008-LGART(04)'
i_pa40-lga04. "'5020'.
PERFORM bdc_field USING 'Q0008-LGART(05)'
i_pa40-lga05. "'5021'.
PERFORM bdc_field USING 'Q0008-BETRG(01)'
i_pa40-bet01. "' 5000'.
PERFORM bdc_field USING 'Q0008-BETRG(02)'
i_pa40-bet02. "' 5001'.
PERFORM bdc_field USING 'Q0008-BETRG(03)'
i_pa40-bet03. "' 5002'.
PERFORM bdc_field USING 'Q0008-BETRG(04)'
i_pa40-bet04. "' 5020'.
PERFORM bdc_field USING 'Q0008-BETRG(05)'
i_pa40-bet05. "' 5021'.
PERFORM bdc_dynpro USING 'MP000900' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0009-ZLSCH'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPD'.
PERFORM bdc_field USING 'P0009-BEGDA'
i_pa40-begda. "'13.12.2007'.
PERFORM bdc_field USING 'P0009-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'P0009-BNKSA'
'0'.
PERFORM bdc_field USING 'Q0009-EMFTX'
'lish eng'.
PERFORM bdc_field USING 'Q0009-BKPLZ'
'522006'.
PERFORM bdc_field USING 'Q0009-BKORT'
'gnt'.
PERFORM bdc_field USING 'P0009-BANKS'
'IN'.
PERFORM bdc_field USING 'P0009-BANKL'
i_pa40-bankl. "'ICIC0000011'.
PERFORM bdc_field USING 'P0009-BANKN'
i_pa40-bankn. "'1403711'.
PERFORM bdc_field USING 'P0009-ZLSCH'
i_pa40-zlsch. "'T'.
PERFORM bdc_field USING 'P0009-WAERS'
'INR'.
PERFORM bdc_dynpro USING 'MP002100' '2000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/ENXT'.
PERFORM bdc_dynpro USING 'MP002100' '2040'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/ENXT'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0200'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=YES'.
PERFORM bdc_dynpro USING 'MP002800' '2000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/ENXT'.
If pf no and Pension no are given, then irrespective of *
the flat file Contribution for Pension scheme flag must be checked *
IF i_pa40-eepnn NE ' ' AND i_pa40-pnflg EQ ' '.
PERFORM bdc_dynpro USING 'MP058700' '2000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/ENXT'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0200'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=YES'.
ELSE.
PERFORM bdc_dynpro USING 'MP058700' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0587-EVPFA'.
PERFORM bdc_field USING 'BDC_OKCODE'
'UPD'.
PERFORM bdc_field USING 'P0587-BEGDA'
i_pa40-begda. "'13.12.2007'.
PERFORM bdc_field USING 'P0587-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'P0587-TSTID'
i_pa40-tstid. "'RPF1'.
PERFORM bdc_field USING 'P0587-PENID'
i_pa40-penid. "'RPF1'.
PERFORM bdc_field USING 'P0587-EEPFN'
i_pa40-eepfn. "'XX/XXX/999999/999999'.
PERFORM bdc_field USING 'P0587-EEPNN'
i_pa40-eepnn. "'XXXXX/501'.
PERFORM bdc_field USING 'P0587-EEVPF'
i_pa40-eevpf. "'25'.
PERFORM bdc_field USING 'Q0587-EEPF2'
'X'.
PERFORM bdc_field USING 'P0587-EVPFA'
i_pa40-evpfa. "' 1250'.
PERFORM bdc_field USING 'Q0587-ERPF2'
'X'.
PERFORM bdc_field USING 'Q0587-ERPN1'
'X'.
PERFORM bdc_field USING 'P0587-PNFLG'
i_pa40-pnflg. "'X'.
ENDIF.
PERFORM bdc_dynpro USING 'MP058800' '2000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/ENXT'.
PERFORM bdc_dynpro USING 'MP058800' '2000'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0588-BEGDA'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPD'.
PERFORM bdc_field USING 'P0588-BEGDA'
i_pa40-begda. "'13.12.2007'.
PERFORM bdc_field USING 'P0588-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'Q0588-PTXEL'
i_pa40-ptxel. "'X'.
PERFORM bdc_dynpro USING 'MP018500' '2240'.
PERFORM bdc_field USING 'BDC_CURSOR'
'P0185-BEGDA'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=UPD'.
PERFORM bdc_field USING 'P0185-BEGDA'
i_pa40-begda. "'13.12.2007'.
PERFORM bdc_field USING 'P0185-ENDDA'
'31.12.9999'.
PERFORM bdc_field USING 'P0185-ICNUM'
i_pa40-icnum. "'AAAAA9999A'.
PERFORM bdc_dynpro USING 'SAPMP50A' '2000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/EBCK'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RP50G-PERNR'.
*perform bdc_transaction using 'PA40'.
CALL TRANSACTION 'PA40' USING bdcdata
MODE m1
UPDATE u1
MESSAGES INTO messtab.
Message Handling *
LOOP AT messtab.
SELECT SINGLE * FROM t100 WHERE sprsl = messtab-msgspra
AND arbgb = messtab-msgid
AND msgnr = messtab-msgnr.
IF sy-subrc = 0.
l_mstring = t100-text.
IF l_mstring CS '&1'.
REPLACE '&1' WITH messtab-msgv1 INTO l_mstring.
REPLACE '&2' WITH messtab-msgv2 INTO l_mstring.
REPLACE '&3' WITH messtab-msgv3 INTO l_mstring.
REPLACE '&4' WITH messtab-msgv4 INTO l_mstring.
ELSE.
REPLACE '&' WITH messtab-msgv1 INTO l_mstring.
REPLACE '&' WITH messtab-msgv2 INTO l_mstring.
REPLACE '&' WITH messtab-msgv3 INTO l_mstring.
REPLACE '&' WITH messtab-msgv4 INTO l_mstring.
ENDIF.
CONDENSE l_mstring.
WRITE: / messtab-msgtyp, l_mstring(250).
ELSE.
WRITE: / messtab.
ENDIF.
ENDLOOP.
Success Check *
if sy-subrc is initial.
write : i_pa40-pernr, 'is created'.
else.
write : i_pa40-pernr, 'is not cretaed'.
endif.
ENDLOOP.
Start new screen *
FORM bdc_dynpro USING program dynpro.
CLEAR bdcdata.
bdcdata-program = program.
bdcdata-dynpro = dynpro.
bdcdata-dynbegin = 'X'.
APPEND bdcdata.
ENDFORM. "BDC_DYNPRO
Insert field *
FORM bdc_field USING fnam fval.
IF fval <> '' .
CLEAR bdcdata.
bdcdata-fnam = fnam.
bdcdata-fval = fval.
APPEND bdcdata.
ENDIF.
ENDFORM. "BDC_FIELD
Regards,
Arun. -
Error while running a BDC for the Transaction F-02
Hi,
I'm getting an error <b><i>"Parking not possible during Batch Input"</i></b> while running a BDC for the transaction F-02.
When i click on the error message it displays the message [b<i>]"In Customizing, you can control whether an error message is issued."</b></i>
How to solve this issue?.
Waiting for ur replies.........
Regards
N.SenthilHi,
When you are doing the recording in SHDB, and in the same screen where the TCODE to be recorded is given, there are options that you can choose called "Recording Parameters"...Select the checkbox which says "Not a Batch Input Session", this will set the sy-binpt variable to " "(in a recording by default it is "X")...and you will not get this error...
Also make sure while writing the BDC program to make use of the "bdc options" parameter which has this property to switch of sy-binpt...
Refer below theard for sample bdc code for f-02.
https://forums.sdn.sap.com/click.jspa?searchID=5126766&messageID=1538409
Regards -
Problem in creation of BDC for transaction phap_create
Hello Friends,
I am trying to create BDC for PHAP_CREATE.
When you run a transaction a pop up window appears to select the template id.
And in BDC it is selected by cursor position. So once selected, the value of template id cannot be changed.
I want this as a parameter.So that each time I run a BDC I will be able to create different types of Appraisal documents i.e with different template ids.
How to go about it???
Regards,
BhushanHi,
For selecting the id, while doing recording,
record with
CTRL + F ( Where u can give ur id) and proceed further. -
How do I remove a credit/debit card from my account? I ask because I currently have a VISA gift/debit card with 50 dollars on it, but the money has run out so I want to usea new card. Also, there is no 'None' check option for payment type on my account.
Depending on how you created your account, "None" may or may not be an option. I believe it has something to do with whether the account was made through an App Store request or the regular iTunes Store. For example, my account allows no card but my father's doesn't allow there to be no card.
To change the card, go to your account settings and change the information to your new card, and hit save. -
I want to know that if i want to download facebook on my iphone 4 or any other apps then it ask me put my card details for payment. why is that. if they are free then why do i need to give my card details?please help me anyone.
Just select no credit card as outlined here:
http://support.apple.com/kb/ht2534 -
Report to show invoice documents those were released for payment
Hello Gurus,
Could anybody help on the below requirement?
Is it possible to run a report that would list invoices that were released for payment that had had a block on them?? Example: an invoice is waiting on a goods receipt and it is posted. Once the receipt is posted the Invoice Exception Analyst release the block on MRBR. Is there a report that we can run to show what was released on any certain day or period??
Thanks,
Amolhi,
Go to MIR5...
Here drop the list by clicking the button near origin n status...here tick on the manually accepted button...
Then in the main window itself click on the posted as invoice status....Enter the date as posting date and execute...it will show you the list...
Regards
Priyanka.P -
Line item not relevant for payment release
Dear Expert,
When I select payment block : 'Payment Request' in FB60. Error Message appear "Line item not relevant for payment release".
I also have set payment block in master vendor and OBB8.
Can you tell me why the error message still appear?
Kindly need your help
Thanks and Regards,
YLDo you have any workflow variant in place?
Moreover, when you have already set the Payment block at Master level, you need not to fix it in transaction level.
Vendor itself will not get paid until unless you remove the block option
Thanks -
How to give line items in flatfile while doing BDC for Table control
Hi all,
I am writing BDC for Multiple line items and Transaction is : FSE5N.
How do i give the data in the flat file. I mean how do we give the multiple line items in flat file , i.e for second line item again we have to header data or not ?
ex:
1015;ALL;demo;kr;INR;01;0001;3000172;100
1015;ALL;demo;kr;INR;01;0001;3000172;200
for first lineitem : 3000172;100
for 2nd line item : 3000172; 200.
header data : 1015;ALL;demo;kr;INR;01;0001.
Thanks in advance
krupaliHii ,
u can give in the same format as u have done in the example.
A B C D E F G H I
1015;ALL;demo;kr;INR;01;0001;3000172;100
1015;ALL;demo;kr;INR;01;0001;3000172;200
and while writing the loop u can give
loop at it_head.
loop at it_head where a = it_head-A and b = it_head-B ..........upto G = it_head-G.
endloop.
endloop.
check this
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
Neeraj
Maybe you are looking for
-
How to force refresh of data through browser or PDF?
We have the dashboard set to refresh every minute. We are pulling the data using XML from DB. When we are in browser and clear the browser cache and then reload the .swf... the data is updated. We haven't been able to figure out how to force the c
-
How to ignore empty text element while using DOM to parse xml??
hi everyone, i am using DOM to parse an xml file. But i dont know how to cinfig the DocumentBuilderFactory to ignore empty text elements. For example, i have an xml file like this: <?xml version="1.0" encoding="UTF-8" ?> <root> <child>Tom</child>
-
Retrieve tables and column names in a universe
Hi - Is there a way to retrieve tables and columns used in a given universe? We have to do analysis and need to know the tables as well as fields used anywhere in any object defined in the universe. I tried Query Builder and did some selection on ci_
-
Talent Management - PDF Docs IMG Config Step
Hello, We are having some issues with the configuration step u201CAssign Application Forms to Elements of PDF-Based Documentsu201D. Here are the steps we have taken so far: 1) Copied the Application Forms from Client 000 (HRTMC_RM_COVER, HRTMC_RM_TAL
-
I had photoshop on my old computer, I have since gotten a new one. How do I re-download photoshop on it?