BAPI for posting IT 0015 from XI
Hi,
I would like to post a new record in IT 0015 (additional payments for an employee), from XI as the information is coming via mapping from an external system.
Do any of you have an idea of an RFC to use ?
Thanks in advance for your suggestions.
greg
Hi,
My requirement in detail is:
An external system sends to XI/PI a report containing PERSN, Amounts, references .. Those amounts are the results of the employee purchases at the cafeteria, and we want to deduce the amount from the salary.
The goal is to make an XI certifiable content so it can be deployed easily and quickly. Therefore I would prefer to use only standards functions.
Technical, once the deduction has been posted on the salary, XI7PI needs to confirm that to the external system so it can recredit the personal account for the cafeteria.
Scenario with IT 0015 and SubTy 2012 would be perfect as it maps exactly to the business.
Thanks for your input.
greg
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 -
Function modules or BAPI for posting plan costs for WBS Element
Hi all,
Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed.
Greetingscheck
BAPI_COSTACTPLN_POSTACTINPUT Activity Input Planning: Posting
BAPI_COSTACTPLN_POSTACTOUTPUT Activity/Price Planning: Posting
BAPI_COSTACTPLN_POSTKEYFIGURE Stat. Key Figure Planning: Postings
BAPI_COSTACTPLN_POSTPRIMCOST Primary Cost Planning: Postings
BAPI_PDTRANSCO_POSTPRIMCOST Transfer of Planning Data: Post Primary Costs
K40C CO Actual Postings, Manual
BAPI_ACC_PRIMARY_COSTS_POST Accounting: Post Primary Costs
BAPI_COPAACTUALS_POSTCOSTDATA BAPI Operating Concern: Post Costing-Based Actua
BAPI_PRIM_COST_CHECK_AND_POST Primary Costs: Formal Parameter Check
S@meer -
IDOC/BAPI for Production order creation from Legacy system
Hi all
We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
thanks a bunchHi John,
For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
If there is an inbound IDoc available, I would recommend to use an IDoc.
IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
BAPI is also good approach to use and fast in term of processing.
For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
Hope this will help.
Regards,
Ferry Lianto -
Bapi for posting IR line item at a time
Hi....
Do we have a bapi for posting invoive receipt line item wise instead of posting the PO at a time......this wud be more precise for my requirement.....presently i'm using bapi_acc_document_post but this wud clear the document with single document number.....but i want it to be posted line item wise to see the amount individually item wise instead of combined one....similar to what we have in the IR which shows amount of individual items........This is an old bug that keeps popping up:
https://forums.lenovo.com/t5/T400-T500-and-newer-T-series/Vertical-scrolling-got-reset-everytime-I-use-Ultra-Nav-to-scroll/td-p/343477 -
Bapi for posting Outbound Delivery
Hi,
Can anyone please let me know about bapi for posting goods issue of outbound delivery.I have checked bapi like
BAPI_OUTB_DELIVERY_CONFIRM_DEC
If i use the with this bapi i can't cancellation the outbound with vl09.
thanks,hi,
i try to doing posting goods issue for outbound delivery out fo the regular progression.
the posting is automaticly as part of outside program.
thanks alot, -
Function Module/BAPI for posting of Parked Invoice/Documnet
Dear all,
Please provide me.
Function Module/BAPI for posting of Parked Invoice/Documnet
Regards
RickyHi Ricky,
What about MR_POST_PP_INVOICE?
In my current project, though, we had to develop a function module for this.
Regards,
Eli -
Hi,
Please tell me BAPI for post Tax Amount.
Which tcode use for Post tax code, is it FB01 or FB60.
Regards
JanaHi,
Use BAPI_ACC_DOCUMENT_POST
TCodes
FB41 Post Tax Payable
FB05 Post with Clearing
FB01 Post Document
Edited by: Neenu Jose on Nov 18, 2008 1:15 PM
Edited by: Neenu Jose on Nov 18, 2008 1:16 PM
Edited by: Neenu Jose on Nov 18, 2008 1:17 PM
Edited by: Neenu Jose on Nov 18, 2008 1:18 PM -
ECC 5.0 BAPI for posting documents only in non-leading ledger
Hello,
for an FI-interface i want to call an BAPI for posting the documents. The document were posted to the leading ledger and to the non-leading ledger by usage of BAPI_ACC_DOCUMENT_POST.
Now there are cases to post documents only to the non-leading ledger.
Is there anywhere a possibility to tell the BAPI (e.g. enter the ledger group) only to post to the non-leading ledger or is another BAPI available to do so.
Thank you for your help.
ThomasHi Thomas,
You can use the same BAPI for any type of ledger postings. You can restrict your postings to Type of ledger.
Cheers
Srinivas -
BAPI for post held invoice ?
Hi,
Is there a BAPI for posting held invoices?
I have to post held invoices in background....I hope there is other option, then CALL TRANSACTION.
I'm on release R/3 4.70x200, but it seems for BUS2081/IncomingInvoice there is no relevant BAPI.
Method Edit was also implemented via transaction MIR4.
OSS note 381593 mention that batch input problems with invoice related transactions. MIR4 is only mentioned as keyword, however I might have problems with it later on.
Any comment?
Can anyone on higher release check if there is relevant BAPI for this?
Thanks in advance,
PeterHi Peter,
You can use the following addition in the fm MRM_PARKED_INVOICE_POST call..
CALL FUNCTION 'MRM_PARKED_INVOICE_POST'
EXCEPTIONS
error_message = 1.
IF sy-subrc NE 0.
****Use syst message variables here..
ENDIF.
This will catch the error messages that terminate the process..
Hope this helps..
Sri -
Are there any standard Idocs or Bapis for posting the data into transaction
Hi,
Are there any standard Idocs or Bapis for posting the data into transactions ME42N and IK11?
Thank You.Thank you.
Any idea of the other one? -
BAPI for posting outbound delivery (VL01n)
Hi,
I need some help in finding correct function module or BAPI for posting outbound delivery (VL01n), the requirement is I need delivery created with reference to sales order and must take following input.
1. Shipping Point
2. Sales Order
3. Selection Date
4. Delivery type
I tried some existing ones and some do not have delivery type input and some without Shipping Point input.
Please let me know.
Regards
Ram.Hi
Please avoid the duplicate post .It is not as per the Forum rules.
You have posted the same question with this title in ABAP General Forum:
Outbound Delivery BAPI/Function module
Neha -
Function Module/BAPI for Posting with Residual Clearing
Hello All,
I want to know whether any Function Module/BAPI avaialble for posting with residual clearing (FB05). Can we do residual clearing using the FM "Posting_Interface_Clearing"?
Please let me know how this can be handled.
Thanks in advance.
With Regards,
Senthil.Hi senthil ,
Look at these threads
POSTING_INTERFACE_CLEARING
bapi for Transfer posting with clearing
BAPI_ACC_GL_POSTING_POST for FB05
Question about POSTING_INTERFACE_CLEARING and POSTING_INTERFACE_START
Regards,
Gaurav -
FM/BAPI for Post Goods Recipt and Reservations
Hi All,
Is there any BAPI/FM for posting Goods receipt and Reservations . Please send some sample example to post goods receipt using Inbound Delivery & Reservations
Thanks
BobbyBobby,
I think you can use the FM BAPI_ACC_GOODS_MOVEMENT_POST for this purpose. You try to write a sample program and see how it works.
Sojan -
Bapi for posting HR timesheets
Hi Guru's,
I looked with transaction BAPI and could not find it.
Which bapi can I use for posting HR timesheets?
Thank you all.
Best regards,
Ravi.To add entries in timesheet
BAPI_CATIMESHEETMGR_INSERT
BAPI_CATIMESHEETMGR_*
To do the FI Postings:
WBS, Project, Cost center Posting
BAPI_ACC_ACTIVITY_ALLOC_POST
Network Activity Posting
BAPI_NETWORK_CONF_ADD
Maybe you are looking for
-
Macbook Air 2013 USB problems (won't connect/ reconnecting)
I have a new Macbook Air 13-inch Mid 2013 with all the upgrades possible (1.7 Ghz i7, 8GB RAM, 512 GB SSD). I am running Mac OS X 10.8.5. Every software is at the latest version. I am having troubles connecting a couple of USB 2.0 devices to the Macb
-
Hi Can any one help me that i am running my report(rtf format ) on server it is working fine, but when i run it on client ie is closing automatically without generating the report. It is working fine for pdf format in both client and server. thanks i
-
Hi Techies , In module pool am not able to validate the checkbook field that i have included in the table control screen . i was able to pass the other field defined in the same structure where checkbox field is declared .
-
Source version control integration with siebel
Hi All, I am trying to integrate siebel tools with third party version control i.e svn I have passed the required paramters in srcctrl bat & set the option in tools accordingly. Checout/checkin happening fine.But files not getting created in SVN repo
-
HT3529 Iphone 4 sends old messages randomly
I have had multiple people ask them why am I texting them the same thing again. It seems that my messages are being randomly sent again even though I am not actually physically sending it again. And it does not happen right away. I'll send a text in