BAPI for Export LC( Payment Guarantee). Tcode VX11N
Hi,
Is there a BAPI for Export LC(Payment Guarantee),
tcode: VX11N.
Regards
Ashish Kaul
Hi,
Write a requirement routine and assign it to your automatic credit control setting (No Credit check Transaction VOV8). The routine can be written in VOFM>Requirements>Credit Check.
Just check the sample Requirement routine 1 & 2.
Regards,
Murali
Similar Messages
-
BDC / Bapi For Post Incoming Payment (F-28)
Hi
Im creating BDC for F-28. But it got error coming out.
>> It says DB05B-PSZAH(02) is not an input field.
What I do is: First, I search for Line Item then Document Number. Then It return to basic list. Then I loop again for the second Line Item Number and Document Number.
I can activate the first amount but cannot for the next amount and so on.
Anybody could help me on this??
Is there any BAPI for Post Incoming Payment (F-28)?
Thank you.
Regards.i dont think there is a BAPI for this Transaction...
i have done a BDC on F-28 myself....pasting the code....hope it helps you....
*******NOTE********
the parameter in the subroutine is to see if there is a single document or multiple documents being posted.
FORM fill_bdc_data_f-28_9005 USING p_i_mult_doc TYPE c.
**BDC from screen 9005
DATA : l_amt_bdc(13), l_amt_bdc_remain(13), l_amt_bdc_mult(13),
l_amt_bdc_mult_remain(13), l_assignment(14), l_period(2),
l_amount(13).
CLEAR t_bdcdata.
REFRESH t_bdcdata.
PERFORM bdc_dynpro USING 'SAPMF05A' '0103'.
PERFORM bdc_field USING 'BDC_OKCODE' '=AB'. "OK CODE - doc overview
**get user default date format and pass date in that format
PERFORM convert_date_to_user_format USING bkpf-bldat.
PERFORM bdc_field USING 'BKPF-BLDAT' w_date. "cheque date
CLEAR w_date.
PERFORM bdc_field USING 'BKPF-BLART' i_blart. "doc type
PERFORM bdc_field USING 'BKPF-BUKRS' i_bukrs. "comp code
**get user default date format and pass date in that format
PERFORM convert_date_to_user_format USING bkpf-budat.
PERFORM bdc_field USING 'BKPF-BUDAT' w_date. "posting date
CLEAR w_date.
l_period = sy-datum+4(2).
PERFORM bdc_field USING 'BKPF-MONAT' l_period. "period
PERFORM bdc_field USING 'BKPF-WAERS' 'INR'. "currency
PERFORM bdc_field USING 'BKPF-BKTXT' i_bankl. "doc. hdr. text
PERFORM bdc_field USING 'BKPF-XBLNR' i_xblnr. "Ref. Document No.
PERFORM bdc_field USING 'BSEG-ZUONR' i_zuonr. "Assignment(Depot Code)
PERFORM bdc_field USING 'RF05A-KONTO' i_bank_gl. "Bank GL acc
PERFORM bdc_field USING 'BSEG-GSBER' i_gsber. "Business Area
l_amount = bseg-wrbtr.
PERFORM bdc_field USING 'BSEG-WRBTR' l_amount. "Amount
PERFORM bdc_field USING 'BSEG-PRCTR' ''. "Profit Center
**open items data
PERFORM bdc_field USING 'RF05A-AGKOA' 'D'. "Acc type (D=customers)
PERFORM bdc_field USING 'RF05A-XNOPS' 'X'. "Std OIs check box
**end of first screen
**document overview screen
PERFORM bdc_dynpro USING 'SAPMF05A' '0700'. "Overview Screen
PERFORM bdc_field USING 'BDC_CURSOR' 'RF05A-AZEI1(01)'. "cursor
PERFORM bdc_field USING 'BDC_OKCODE' '/00'. "OK CODE
PERFORM bdc_field USING 'RF05A-NEWBS' '19'. "posting key
PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
PERFORM bdc_field USING 'RF05A-NEWUM' 'B'. "Spl GL Indicator
**for single document selected
CLEAR l_amt_bdc.
IF p_i_mult_doc = ''.
***new screen - next line item
PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
**for single document, use the bouncing amount calculated earlier
l_amt_bdc = w_amt_ant_bouncing.
PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc. "amount
**due date - same as posting date on screen
**get user default date format and pass date in that format
PERFORM convert_date_to_user_format USING bkpf-budat.
PERFORM bdc_field USING 'BSEG-ZFBDT' w_date. "due date
CLEAR w_date.
**assignment
CLEAR l_assignment.
CONCATENATE t_seldoc_ant_bouncing-belnr
t_seldoc_ant_bouncing-gjahr INTO l_assignment.
PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.
**if there is some remaining amount, then go for another line item
IF w_rem_amt_ant_bouncing > 0.
PERFORM bdc_field USING 'RF05A-NEWBS' '15'. "posting key
PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
**new screen
PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-ZTERM'. "CURSOR
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE-ENTER
l_amt_bdc_remain = w_rem_amt_ant_bouncing.
PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
PERFORM bdc_field USING 'BSEG-ZTERM' '0001'.
**AGAIN
PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-WRBTR'. "CURSOR
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE-SAVE
PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term -hardcoded
PERFORM bdc_field USING 'BSEG-SKFBT' l_amt_bdc_remain.
ENDIF.
**multiple documents
ELSE.
**initialize remaining amount to amt entered on screen
l_amt_bdc_mult_remain = bseg-wrbtr.
LOOP AT t_seldoc_ant_bouncing.
IF l_amt_bdc_mult_remain > 0.
IF bseg-wrbtr > t_seldoc_ant_bouncing-rem_amt.
l_amt_bdc_mult = t_seldoc_ant_bouncing-rem_amt.
ELSE.
l_amt_bdc_mult = bseg-wrbtr.
ENDIF.
**remaining amt = screen amt - amt calculated above.
l_amt_bdc_mult_remain = l_amt_bdc_mult_remain - l_amt_bdc_mult.
PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult. "amount
PERFORM bdc_field USING 'BSEG-GSBER' i_gsber. "Business Area
**due date - same as posting date on screen
**get user default date format and pass date in that format
PERFORM convert_date_to_user_format USING bkpf-budat.
PERFORM bdc_field USING 'BSEG-ZFBDT' w_date. "due date
CLEAR w_date.
**assignment
CLEAR l_assignment.
CONCATENATE t_seldoc_ant_bouncing-belnr
t_seldoc_ant_bouncing-gjahr INTO l_assignment.
PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
**posting key 19 for all but last document
PERFORM bdc_field USING 'RF05A-NEWBS' '19'. "posting key
PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
PERFORM bdc_field USING 'RF05A-NEWUM' 'B'. "Spl GL
ENDIF.
ENDLOOP.
ENDIF.
**post remaining amount
IF p_i_mult_doc = 'X'.
**new screen if there is some amount left
IF l_amt_bdc_mult_remain > 0.
**posting key 15 with remaining amount
PERFORM bdc_field USING 'RF05A-NEWBS' '15'. "posting key
PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
PERFORM bdc_field USING 'RF05A-NEWUM' ''. "Spl GL
**new screen
PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult_remain.
PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term - hardcoded
ELSE.
**if no amount is left, no need for a further line item
PERFORM bdc_field USING 'RF05A-NEWBS' ''. "posting key
PERFORM bdc_field USING 'RF05A-NEWKO' ''. "customer
PERFORM bdc_field USING 'RF05A-NEWUM' ''. "Spl GL
ENDIF.
ENDIF.
**clear variables
CLEAR : l_amount, l_assignment, l_amt_bdc,
l_amt_bdc_remain,l_amt_bdc_mult, l_amt_bdc_mult_remain.
ENDFORM. " fill_bdc_data_F-28_9005 -
BAPI for Creation of Maintenance Plan (TCode - IP01)
Hello
Kindly help me with the BAPI for Creation of Maintenance Plan (TCode - IP01)
Thanks and Regards
AvishekHi
Check Tcode: IBIP. and LSMW method and below link it may be helpful.
[link|Re: LSMW for uploading equipment.]
Thanks,
Asit Purbey. -
BAPI for handling BP payment cards
Hallo,
I'd like to create payment cards for business partners in a remote system but can't find a bapi for this. Does anyone know if such a bapi exists (I already checked the transaction BAPI but could not find anything that seemed to be what I want).
Kind regards
RomanLook at this forum query. Perhaps you might find it useful.
Function Module for Discover Credit Card
Regards,
Subramanian V. -
FM or BAPI for adding/removing maintenance items(Tcode IP02).
Hello All,
I need to change Maintenance plan by adding/removing maintenance items(Tcode IP02). Please let me know availaible FM or BAPI for the same.
Regards,
VimalHi,
use the following steps to find a BAPI for any transaction
1.Open transaction SE24.
2.Now open the object CL_EXITHANDLER in display mode.
3.Go to the method tab and double click on the method GET_INSTANCE.
4.Put a break point on cl_exithandler=>get_class_name_by_interface.
5.Now execute the transaction you want to find BAPI for, it will take you to the above method.
6.Write EXIT_HANDLER in fieldnames and hit enter, it will tell you the BAPI used for your transaction.
7.Hit F8 and it will tell you all the BAPIu2019s for your transaction.
some of the FM's are
PM_MHIS_UPDATE
MEASUREM_POINT_UPD_PYEAR
Regards,
Manish -
BAPI for Posting Incoming Payments thru F-28
Hi,
we are trying to post the incoming payment thru standard BAPI (BAPI_ACC_DOCUMENT_POST) but unable to do so. the error message are coming in Object type and object key fields in header data.
kindly help me, and if possible pls sent me sample input parameters(for header and lineitem details) for this.
It's very urgent
Points assured.
regards,
AnandHello,
what is the error log?
Pls mention
Rgds
Rajendra -
BAPI for change budget in project - TCODE CJ30
Hello everyone ,
I want to change budget for A project in tcode CJ30 ,
bdc IS not suitble , the spec is to change one WBS ' s BUDGET money ,
I can't find the way to do it in BAPI BAPI_PROJECT_MAINTAIN
WHO CAN HELP ME ?Hi,
I have tried that option already. But I could not find any.
Any update????
Thanx,
Sivagami.R -
BAPI for Creation Of Catalog Profile - TCODE OQN6
Hi All,
Is there any BAPI to create the catalog profile (like Catalog Groups & Codes BAPI - BAPI_QPGR_SAVEREPLICA ).
Reagrds,
Sridhar.MHi
Check Tcode: IBIP. and LSMW method and below link it may be helpful.
[link|Re: LSMW for uploading equipment.]
Thanks,
Asit Purbey. -
Document Management System : BAPI for Distribution list creation CVI1 Tcode
Hi ,
Cn you please provide me the available BAPI to create Disctribution lists using CVI1 transaction .
Urgent
RegardsHello Murugesh,
Thanks for the responce ,
But When i tried to use the same FM to create Distribution list i didnt find ant parameter within the FM to pass the correct recepient name linked to the document(recepient list id) .
Can you please provide me the sample code or help me ,how to pass the recepient name coom type and num of copies for each recepient listid .
Urgent
Thanks a lot -
Payment guarantee procedure key in customer master
Hi ,
System determines payment guarantee procedure by
1. key for doc guarantee proc from sales doc type
2. customer payment guarantee procedure key in customer master
However , I am not able to find the field in XD02 for maintaining cust payment guarantee procedure.
Can some one help me in locating that field . Can this customer master screen be controlled through field screen.
Regards,
MrinalMrinal,
in Customer master , we can see the field in Sales area data billing tab.
But if u are nt able to see in that then i guess that fields are suppresed.
For seeing that do this
go to transaction OVT0
select your account group then On Field Status group, double click on the word Sales data then on the word Billing.
In this go to Hedging and credit contr. area which may be suppressed, it means that the field above is not visible in the customer master data. Make this fields visible.
Thanks,
Raja -
I want to Bapi For Reverse Meter Reading
Hi
Everyone Thank You in advance.
I want to Bapi For Reverse Meter Reading.
Tcode : EL37
Here I can Do manualy meter reading reverse now i want to do this process in mass..
is there any bapi to do this task here in EL37 i can only add one installation number to reverse it .
i want my program to use multipule installation number to reverse in mass .
so i need bapi for this .
Thankx
KaushalHi;
You can look below link.
Best Regards.
ISU: BAPI to update MRU on Installation -
Need BAPI for F-54 Clear Vendor Down Payment
HI Gurus,
Is there any BAPI available for clearing vendor down payment? We can use F-54 tcode to do it manually.
I need to clear the vendor down payment from an USER-EXIT.
how can I do this?
Pls guide me.
Thanks & regards,
MurphyHi,
Looks we don't have any dedicated BAPI for F-54..You can check 'BAPI_ACC_INVOICE_RECEIPT_POST' for your requirement...
User-Exit you need to search for F-54. -
Howto use the Payment guarantee/ Financial document for domestic customer
Hi Experts,
Seasons Greeting.
My Requirement is that
The Customer is the domestic. Customer will provide the Bank Guarantee. The Bank Guarantee will have start date and end date. The customer can submit the Bank Guarantee to one and only one institute/organization. It means the Bank Guarantee document will be in physical possession of that institute/organization. Using Bank Guarantee the financial institute gives the assurance of the payment agreed into the Bank Guarantee. This Means that bank will honor the payment if customer fails to pay and the company/organization decides to revoke this financial document within the validity period
I am wondering whether I can achieve this using the SAP Documentary payment. But per sap documentation provided on help.sap.com its used for Export scenarios
Appreciate your views on this.
Thanks and RegardsHi ,
Inputs will be rewarded
Thanks and Regards -
FM or BAPI for Tcode: FAGLSKF
Hi,
I have searched SDN and was unable to find any BAPI for posting into Tcode FAGLSKF.
When I decided that i need to go with BDC, unfortunately it is not a table container and a ALV container.
Let me know how to deal with it.
I have found some FM for this but doesnt do any validations and directly write into the table .
Regards
KrishTry 'BAPI_ACC_POST_STAT_KEYFIGURE'
Find Sample code for the same
DATA :
ls_doc_header TYPE bapifaglskf01,
ls_item_file_content TYPE zst_fi_upload_format,
lt_extension TYPE TABLE OF bapifaglskf03,
lt_doc_items TYPE TABLE OF bapifaglskf02,
ls_doc_items TYPE bapifaglskf02,
ls_return TYPE bapiret2.
********Form Document Header.
CLEAR ls_doc_header.
ls_doc_header-comp_code = iv_company_code.
ls_doc_header-date_from = iv_date_from.
ls_doc_header-date_to = iv_date_to.
ls_doc_header-version = '1'.
ls_doc_header-act_plan_indicator = '0'."Actual
* Form document Item
REFRESH lt_doc_items[].
LOOP AT it_item_file_content INTO ls_item_file_content.
ls_doc_items-statkeyfig = ls_item_file_content-stagr.
ls_doc_items-profit_ctr = ls_item_file_content-prctr.
ls_doc_items-quantity = ls_item_file_content-mbgbtr.
APPEND ls_doc_items TO lt_doc_items.
CLEAR ls_doc_items .
ENDLOOP.
**Call BAPI to creat the Document
CALL FUNCTION 'BAPI_ACC_POST_STAT_KEYFIGURE'
EXPORTING
documentheader = ls_doc_header
TABLES
linedata = lt_doc_items
extension1 = lt_extension
return = et_return.
CLEAR ls_return.
READ TABLE et_return INTO ls_return WITH KEY type = 'S'.
IF sy-subrc EQ 0.
ev_doc_no = ls_return-message_v1.
ENDIF. -
Hi Experts,
Can anyone please tell me if there is a BAPI for the Tcode FD32 to block a
customer who exceeds his credit limit?
Thanks
Danyif both KNKA and KNKK are updated.
use this FM CREDITLIMIT_CHANGE.
if either KNKA or KNKK is updated.
use FM KLIM_WRITE_DOCUMENT
below is a simple example.
REPORT ZTEST.
TABLES:t014,t014t.
INCLUDE ff02lcdf.
INCLUDE ff02lcdv.
PARAMETERS:kunnr LIKE knkk-kunnr,
kkber LIKE knkk-kkber.
START-OF-SELECTION.
END-OF-SELECTION.
CLEAR:t014,yknka,knka,yknkk,knkk.
SELECT SINGLE * FROM t014 WHERE kkber = kkber.
IF sy-subrc = 0.
*XF02C = t014-waers.
xf02c = t014-waers..
ENDIF.
objectid = kunnr.
tcode = 'FD32'.
utime = sy-uzeit.
udate = sy-datum.
username = sy-uname.
upd_knkk = 'U'.
SELECT SINGLE * FROM knka INTO yknka WHERE kunnr = kunnr.
IF sy-subrc = 0.
MOVE yknka TO knka.
ENDIF.
SELECT SINGLE * FROM knkk INTO yknkk WHERE kunnr = kunnr AND kkber = kkber.
IF sy-subrc = 0.
MOVE yknkk TO knkk.
knkk-klimk = '543.23'.
knkk-ctlpc = 'SG2'.
MODIFY knkk.
ENDIF.
IF ( upd_knka NE space )
OR ( upd_knkk NE space )
CALL FUNCTION 'KLIM_WRITE_DOCUMENT ' IN UPDATE TASK
EXPORTING
objectid = objectid
tcode = tcode
utime = utime
udate = udate
username = username
planned_change_number = planned_change_number
object_change_indicator = cdoc_upd_object
planned_or_real_changes = cdoc_planned_or_real
no_change_pointers = cdoc_no_change_pointers
o_yknka = yknka
n_knka = knka
upd_knka = upd_knka
o_yknkk = yknkk
n_knkk = knkk
o_xf02c = *xf02c
n_xf02c = xf02c
upd_knkk = upd_knkk.
ENDIF.
CLEAR planned_change_number.
Maybe you are looking for
-
Free Item ticked in R/3 PO - Extended Classic Scenario
Hi All, We are working in SRM4.0 , Exteneded Classic Scenario, Its a catalgoue item, In SC# its having a Net Value say $3,500, but when i checked PO in the R/3 , it shows the Net price is 0.0 (zero) and Free Item is ticked. Why the PO shows net value
-
How to change read-directory when using file adapter
Hi, I'm deploying BPEL process to read files from a directory. I want to change the directory where to read dynamically. This can be achieved by using a file header variable. I know how to do this. But, the problem for me is that I can not find a pla
-
Is the query analyzer part of SQL Server?
Hey all, I have installed SQL Server 2005 on windows 2003 server. It did not install the query analyzer. Is the query analyzer part of SQL Server or do we need to install it separately? Thank you, Bye.
-
DNS fails to resolve w/ 10.6.8
I have a home network consisting of 2 iMacs and 1 Macbook Pro, all running on 5 GHz N-band through an Asus RT-N56U dual-band router. The Macbook Pro and one of the iMacs are fine, however starting several months ago the third iMac began having a prob
-
Compression Error - Characteristic attribute exists twice
Hi, We are compressing some top listed productive cubes with process chain every week. But from past 3 iterations one of the cube is failing to do so. It is triggering an error " *Characteristic attribute exists twice *". We even tried to compress t