Bapi for f-28 while posting with Pmnt advice no
Hi friends,
Is it possible to upload data using bapi BAPI_ACC_DOCUMENT_POST with payment advice number,
or is any other bapi exits for it or i hav to use bdc for it.
Binoy R
Hello max,
thanks for your valuable response.
But as this BAPI can not be used what next can be done?
Actually i want to create interface between SAP system and Non-SAP system which is using IBIS software.
Interface is to be done in such way that IBIS report output should get posted directly in SAP system via F-28 on daily basis.
Report of IBIS contains payments made by customers in a day.
So definitely there are some open items in SAP that need to clear after posting for particular customer.
Shall I go for 'Z' BAPI ? or is there any other technique for interface between two?
Please suggest.
Thank You.
Similar Messages
-
Find a bapi for Creates a Goods Receipt with correspond to Inbound Delivery
hi expert!
exist a bapi for tcode:MIGO_GR ( Goods Receipt with correspond to Inbound Delivery)
i know one bapI BAPI_GOODSMVT_CREATE can Creates a Goods Receipt,
but i can't know to use it to Creates a Goods Receipt with correspond to Inbound Delivery.
or other bapi exist for MIGO_GR?
Best Regard!Hi Vatcan,
Chek the Inbound Delivery 1st weather you refer the right PO in it
You can also chek in PO i
1 Me23n Go to confirmation tab here you can see the Inbound delivery quantity
2 Chek which reference document you recived the goods, (i.e You recived the goods with reference to PO or Inbound delivery)
2 Coz if you refer the inbound delivery then syestem will deafult show the inbound quanity
And yes the actual quanity will update in inbound delivery if you refer the inbound deivery while reciveing the goods -
How to populate PERNR while posting with BAPI_ACC_INVOICE_RECEIPT_POST
HI,
I am not able to pass Personal Number(PERNR) while posting with BAPI_ACC_INVOICE_RECEIPT_POST. Is there any enhancement which will help to solve this.
<< Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
Regards,
Sini
Edited by: Rob Burbank on Nov 2, 2011 12:04 PMHi,
I am faceing this problem in standard program which is sa AirPlus Invoice Record (LARS).
NEME:RPR_AIRP_LRS_TO_FI.
Please help on this..
Regards,
Srini -
BAPI for Non PO Invoice posting?
Hi Experts,
I am posting invoices using BAPI_INCOMINGINVOICE_CREATE. These invoices have POs associated with the Item Details. This is working fine for me.
I want to post invoices that DO NOT have a PO. Can someone please point me to a BAPI that is similar to BAPI_INCOMINGINVOICE_CREATE in functionality but does not require a PO?
Thanks,
- Vik.I too was looking for a BAPI for non PO invoice posting. I found that the above counsel did not work for me. Instead of creating a buyside invoice, it just created a journal entry. What DID work for me was BAPI_ACC_INVOICE_RECEIPT_POST.
Below, I am pasteing the subroutines that I created for its calling. In it, for my purposes, only the invoice amount is parameter driven. My needs allowed all other BAPI parameters to stay the same.
I hope that this helps someone.
Donald Nigro
FORM create_buyside_invoice USING value(invoice_amt) TYPE p.
DATA:
gd_documentheader LIKE bapiache03,
it_accountpayable LIKE bapiacap03 OCCURS 0 WITH HEADER LINE,
it_accountgl LIKE bapiacgl03 OCCURS 0 WITH HEADER LINE,
it_accounttax LIKE bapiactx01 OCCURS 0 WITH HEADER LINE,
it_currencyamount LIKE bapiaccr01 OCCURS 0 WITH HEADER LINE,
it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA:
wa_obj_key(20) TYPE c.
fill header
gd_documentheader-username = sy-uname.
gd_documentheader-header_txt = 'E-Payables Invoice'.
gd_documentheader-comp_code = 'EAUS'.
gd_documentheader-doc_date = sy-datum.
gd_documentheader-pstng_date = sy-datum.
gd_documentheader-doc_type = 'KR'.
CONCATENATE 'BOA' sy-datum sy-uzeit(4)
INTO gd_documentheader-ref_doc_no.
fill AP (line 1)
it_accountpayable-itemno_acc = 1.
IF sy-sysid(3) = 'DEV'.
it_accountpayable-vendor_no = '0600013370'.
ELSE.
it_accountpayable-vendor_no = '0600009022'.
ENDIF.
APPEND it_accountpayable.
fill GL (line 2)
it_accountgl-itemno_acc = 2.
it_accountgl-gl_account = '0001112227'.
it_accountgl-comp_code = 'EAUS'.
it_accountgl-pstng_date = sy-datum.
it_accountgl-fisc_year = sy-datum(4).
it_accountgl-fis_period = sy-datum+4(2).
it_accountgl-bus_area = '0100'.
APPEND it_accountgl.
fill currency ammounts for lines 1 & 2
it_currencyamount-currency = 'USD'.
it_currencyamount-itemno_acc = 1.
it_currencyamount-amt_doccur = invoice_amt * -100.
APPEND it_currencyamount.
it_currencyamount-itemno_acc = 2.
it_currencyamount-amt_doccur = invoice_amt * 100..
APPEND it_currencyamount.
CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_CHECK'
EXPORTING
documentheader = gd_documentheader
TABLES
accountpayable = it_accountpayable
accountgl = it_accountgl
accounttax = it_accounttax
currencyamount = it_currencyamount
return = it_return.
PERFORM invoice_error_check TABLES it_return.
CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'
EXPORTING
documentheader = gd_documentheader
IMPORTING
obj_key = wa_obj_key
TABLES
accountpayable = it_accountpayable
accountgl = it_accountgl
accounttax = it_accounttax
currencyamount = it_currencyamount
return = it_return.
PERFORM invoice_error_check TABLES it_return.
COMMIT WORK.
WRITE: / 'ePayables Bank of America'.
WRITE: / ' Invoice Document Number:',
wa_obj_key(10).
ENDFORM.
Form invoice_error_check
FORM invoice_error_check TABLES it_return STRUCTURE bapiret2.
DATA:
bapi_success(5) TYPE c VALUE 'false'.
LOOP AT it_return.
IF it_return-type = 'S' AND bapi_success = 'false'.
bapi_success = 'true'.
ENDIF.
ENDLOOP.
IF bapi_success = 'false'.
WRITE: / 'Unable to post a buyside invoice with',
'BAPI_ACC_INVOICE_RECEIPT_POST'.
LOOP AT it_return.
WRITE: / 'Message Type: ', it_return-type,
/ 'Message Class: ', it_return-id,
/ 'Message Number: ', it_return-number,
/ 'Message: ', (80) it_return-message.
ENDLOOP.
ROLLBACK WORK.
STOP.
ENDIF.
ENDFORM. -
:Due On" date field missing while posting with Spl GL indicator for vendor
Hello,
I am facing a problen while posting a n entry with spl GL indicator in fb01, the issue is Due On date field is missing in the screen.
I am posting an spl GL transaction for a vendor thro FB01 and after entering the posting key 39, vendor code and spl Gl indicator in line item and in next screen, the "Due ON" date field is not appearing.
Both vendor recon account and spl GL alternative account use same field status group and checked the field status group , the due date, payments terms are made optional.
The strange thing is, when I use the same vendor with Spl GL indicator "A" , the Due ON field is missing in next screen, and when I use spl indicator " B" , for same vendor, Due On date field is appearing.
Is there any specfic field status setting for DUE ON date field for Spl GL indicator wise? or please help me how to bring due on date field in the screen when posting spl GL transaction?
Please help me on this.
Regards
SuryaHello Surya,
To make field baseline date for payment (BSEG-ZFBDT) ready for input for
posting the down payment, the following Customizing setting is
necessary:
Financial Accounting -> Accounts Receivable and Accounts Payable ->
Business Transactions -> Outgoing Payments -> Automatic Outgoing Payment
-> Payment Method/Bank Selection -> Configure payment program -> All
company codes -> double-click on corresponding company code -> under
Customer -> 'Sp. G/L transactions to be paid' the letter A should be
entered.
The field "Due On (BSEG-ZFBDT)" cannot be controlled with field status.
It is contolled by field attribute of screen painter (Tcd: SE51). If
you look at element attribute for "Due On" field, a flag for required
entry is activated. In this case, field status has no control over
the field.
As of release 3.1G, field BSEG-ZFBDT is hardcoded in most FI screens
to be mandatory and cannot be influenced by any field status
changes. This situation is only valid when posting with special G/L
indicator (ie PK 29/39).
SAP development team has determined that this is a critical field. The
reason behind this is that this special GL screen and the data entered
here are very important to many other programs. This data affects
liabilities and receivables where due date is necessary almost
everytime. Thus, we changed this field in this screen in order to
prevent problems in many other areas. The reason is explained further in
note 95079.
545944 FAQ, down payment, tax code, baseline date
above Field is controlled through SE51 only.
Tcode : SE51
Program (screen) SAPMF05A
Screen number 304
Eliment list press display.
special attributes.
BSEG-ZFBDT - Required.
Other options are below.
The attribute "Input" can have the following values:
o Not possible
The input/output field cannot be supplied with an input - that
the screen element can only be used for outputs.
o Possible
The input/output field can be supplied with an input at runtime
the remainder of the transaction, an input is not required.
o Recommended (Optional Field)
The input/output field should be supplied with an input at runt
The system, of course, does not check immediately whether there
been an input. During the remainder of the transaction, however
input is necessary.
To mark this kind of target field, the input template starts wi
special character that is represented in the Screen Painter by
question mark ('?'). The question mark will be suppressed only
the field is in a table control or a step loop.
You use the "target field", for example, if inputs cover severa
screens and only at a later stage are subject to a common check
o Required Field
The input/output field must be supplied with an input at runtime.
The system checks this property immediately, and very definitely
when the event is processed (PROCESS AFTER INPUT).
So that such a required field is marked accordingly, its input
template must begin with a special character that is represented in
the Screen Painter by a question mark ('?'). The question mark is
suppressed only if the field is in a table control or a step loop.
I hope above information will resolve your issue.
Kind Regards,
Fernando Evangelista -
BAPI for vendor credit memo posting by FB65
Hi guys,
I need a BAPI to post vendor credit note by FB65.
I am trying BAPI_ACC_DOCUMENT_POST, but I cannot find the fields to fill with the information we input at FB65 Payment tab, such as: Inv. Ref (document, year and item ).
Could anybody help me?
Cheers,
Karla.HI ,
Please Find below the relevant code to Fill the Fields while calling the BAPI for FB65
step1.
First of all fill the wa_bapiheader.
*header data
wa_bapiheader-username = sy-uname.
wa_bapiheader-comp_code = wa_final-bukrs.
wa_bapiheader-doc_date = sy-datum.
wa_bapiheader-pstng_date = sy-datum.
wa_bapiheader-doc_type = c_blart.
wa_bapiheader-ref_doc_no = 'GROWPAY'. "Can be the refrence text
w_waers = wa_final-waers.
Step2.
Fill this internal table. i_currencyamount and i_accountgl.
i_final will be the Internal table conating all the Relevant data for Posting the Document.
Loop at i_final into wa_final.
ADD 1 TO w_acc_lno.
wa_accountgl-itemno_acc = w_acc_lno.
wa_accountgl-gl_account = wa_final-saknr. "G/L Account
wa_accountgl-plant = wa_final-werks. " Plant
wa_accountgl-costcenter = wa_final-kostl. " Cost Center
wa_accountgl-cond_type = wa_final-knumv. "From EKKO for the Purchase Order
wa_accountgl-po_number = wa_final-ebeln. " Purchase Order no
wa_accountgl-po_item = wa_final-ebelp. " Line item in PO
APPEND wa_accountgl TO i_accountgl.
CLEAR : wa_accountgl.
wa_currencyamount-itemno_acc = w_acc_lno.
wa_currencyamount-currency = wa_final-waers.
wa_currencyamount-amt_doccur = wa_final-kbetr.
w_sum = w_sum + wa_final-kbetr.
APPEND wa_currencyamount TO i_currencyamount. " G/L line item
CLEAR : wa_currencyamount.
*item data
wa_accountpayable-itemno_acc = 1.
wa_accountpayable-vendor_no = wa_final-lifnr.
APPEND wa_accountpayable TO i_accountpayable.
*Amount for the vendor line item.
CLEAR : wa_currencyamount.
wa_currencyamount-itemno_acc = 1.
wa_currencyamount-currency = w_waers.
wa_currencyamount-amt_doccur = 0 - w_sum.
INSERT wa_currencyamount INTO i_currencyamount INDEX 1.
Step 3.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = wa_bapiheader
TABLES
accountgl = i_accountgl
currencyamount = i_currencyamount
accountpayable = i_accountpayable
return = i_result_out.
i_result_out will conatin the messages returned by the BAPI.
based on i_resuklt_out that is if the posting is Successful....call commit
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Wait = X.
Endloop.
I hope the above code may solve your problem....Thanks
Regards ,
Sonu Krishna.
Edited by: Sonu Krishna PV on Aug 6, 2009 11:03 AM -
Create a BAPI for T-Code FBV0(Post Parking Document)
Hello Experts,
I need to create a BAPI for the T-code FBV0(Post Parking Document). Please help me with a sample code.
Thanks,
SumaHello There.
I would like to suggest my opinion,
To know the Function module for a particular Transaction,
1. Table TSTC gives the Program name for a particular transaction.
There are includes which contain (say) "Global data" and "Function modules".
2. To get BAPI function modules, Transaction BAPI is the most powerfull solution for any module.
One more thing, to be kept in mind while creating a BAPI is to create a function module and make it RFC enabled.
BAPIs are nothing but RFC enabled function modules.
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
Error while posting with Tax code
Dear All,
I am getting the following error while i am trying to post with a tax code. Can someone tell me what could be the issue?
Customization for RIL j_1iindcus missing in table
Message no. 8I303
Diagnosis
The customization details have not been maintained for this company
Procedure
Please use the localization IMG or Global settings
to maintain the company settings
Regards
SureshDear Suresh,
If you are using versions below 4.7 execute T_Code <b>J1IT</b>, go to <b> India Localization Menu->Global Settings->Company Settings</b> and add an entry for your Company Code and save.
If you are on higher versions use the following path:
<b>SPRO --> Logistics - General --> Tax on Goods Movement --> India --> Basic Settings --> Maintain Company Code Settings.</b>
This should solve the issue.
Kindly let me know if it was useful.
Regards,
Mary Sofia -
Control GR Qty while posting with ref. to Inbound delivery
Hi,
We have an inbound delivery process where Inbound delivery is made against the PO and subsequently GR is made against the inbound delivery.
While posting GR via MB0A with ref. to inbound delivery, the qty can be modified at GR Stage. We want to ensure that GR Qty is always equal to Inbound Deliery Quantity.
Is there any customisation available?? Or it can only be controlled using User Exit only.
Kindly suggest.
Regards
C.A. ShankarHi Shankar,
For this you have to go for seperate Doc. type for Inbound based GR.
In the document type you can control the field as display maode in Qty field. this will not possible to change.
SAM -
Error while posting with Segment
Hi,
I am trying to post an entry using t- code f-02.. and i am assigning a profit center to the line item. I have also assigned a segment to my profit center....
But while posting the document i am getting the following error..
<i><b>You do not have any authorization for segment ED and function 01
Message no. FAGL_POST_SERVICE022
Diagnosis
You do not have authorization to perform function 01 for segment AA. The record type is 0.
Procedure
Contact your system administrator. Add the missing authorizations for object F_FAGL_SEG.</b></i>
Please let me know what needs to be done to rectify the above error.
Thanks and regards,
AnkurBrother! after getting error, call transacxtion SU53, you will get the list that you have missed autorization
for this,contact your basis team memeber for authorization problem.
thanks -
Avoiding DUMMY value for profit center while posting COPA document
Hi All,
I have a requirement where I post a document using BAPI_COPAACTUALS_POSTCOSTDATA using a Z Program.
Everything works fine , but if we do not mention the profit center explicitly, it takes the value as "DUMMY". Same happens with KE21N.
I want to find a user exit where I can change this dummy value to blank again. I do not want posts with DUMMY profit center values.
Can you please suggest where can add my custom code. I think this should happen just before the document is posted.
Kindly suggest where should I add my code.
Regards,
BarkhaHi Gangadhar,
Thanks for the input.
But for now our requirement is still the same.
So what can be the other way round for this?
Anyone, any more inputs pls. -
BORGR 649 error message while posting with 105 mov type
Hi Gurus,
I faced a problem when I try to post with 105 mov type, when material doc is related to Inbound delivery.
Explained better:
I did a purchase order with inbound delivery confirmation.
I carried out Good Receipt (related to Inb delievery) with mov type 103 (blocked stock from PO)
When I try to post stock with 105 mov type, the following error appear:
"Movement type 105 not allowed as it is not assigned to item category"
Msg ID: BORGR
Msg no: 649
I already checked delivery item category configuration, movement types involved and transactions allowed for each mov types.
Take care that the error mentioned doesn't occur if posting is related directly to purchase order, instead of inbound delivery..
Thanks in advance
Regards
AleHi Sandra_PF
in the inbound delivery the mov type is not 105, but 101 (correct, it's the default value for Inb delivery)
With transaction MIGO I do 2 different operations (in 2 different moments):
1°) Good Receipt referred to Inbound delivery (103 mov type - Blocked stock from PO)
2°) Stock posting with 105 mov type, to transfer stock from Blocked to Unrestricted
Here the system notice me that is not possible, because the mov type 105 is not assigned to the delivery inboud category.
Please note that we did the same thing in another system with the same configuration, without any problems..
Cheers,
Ale -
CRM - Bapi for creating relationship between BPs with sales area data
Hi
I am looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
Example - I would like to create relationship type CRMH03.
Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
Does anybody know such a bapi?
Regards
RadekHey Radek,
I am actually looking for the same functionality. Were you able to find a solution although no one replied to your question in this thread? If so, it would be very helpful for me to know. Maybe you have to combine more BAPIs in order to add the organization information to the relationship. But I have no idea how.
Best Regards
Mirko -
BAPI for Service PR creation along with sub services (with parameters)
Hi Experts,
I am trying to post PR for services throgh BAPI : BAPI_REQUISITION_CREATE but after passing the parameters in following structures :
Values of these structures are reflecting in generated PR :
REQUISITION_ITEMS
REQUISITION_ACCOUNT_ASSIGNMENT
REQUISITION_ITEM_TEXT
But values are not reflecting for these below structures : ( sub services )
REQUISITION_SERVICES
REQUISITION_SRV_ACCASS_VALUES
Please help in this regard.
Thanks .Dear Keshu,
Thanks for the help first of all . This gave me some idea but still unable to post the service lines , I want to know whether it can work with internal number range of PRs because the document is for external number range , required some suggestion from your end ! Thanks -
Document Split for Currency Exchange while posting Incoming payment
Hi Experts,
Scenario:
> Post incoming Customer payments using F-28
> posting entered today (14 Jan 2009), but posting date is 30 Dec 2008)
> Tested in Clients 001 and 005 (same setup in terms of GLs, Customers, Vendors, etc)
I was able to post the incoming payment in Client 005. However, in Client 001, I got error message:
*Ex.rate diff.accts are incomplete for account 0000140000 (Trade Debtors/Customers) currency SGD
Message no. F5063
Diagnosis
The accounts for posting exchange rate differences could not be determined. For the specified G/L account and the specified currency key, the accounts are only specified incompletely. Either the accounts for the implemented exchange rate difference, the accounts for the valuation differences or the balance sheet adjustment account are missing.
System Response
The system cannot generate the exchange rate difference posting.
Procedure
By pressing ENTER, you achieve that the document is reset to a status without automatic posting. In another window, you can complete default settings for exchange rate differences and post the document afterwards.
Proceed*
When I clicked Proceed, the system took me to OBA1, with "Document Split for Currency Exchange" option highlighted in blue.
Does this mean that I need to create a new GL account to post Document Split for Currency Exchange?
Note: Setup for OBA1 both 001 and 005 are the same. But I only encountered the error in 001.
Hope someone can help me.
Thanks...problem solved: add relevant Open Item GLs in OBA1 (Account Determination for OI Exchange Rate Differences)
Maybe you are looking for
-
I have 2 acounts how can i merge them?
One account was downloads from my 3g i phone the other is the account from my current 4g phone how can i merge old 3g account with new 4g account?
-
Document Posting restriction using posting key,document type combination
Hi We have a authorization restriction issue using posting key&document type&Accoutn type combination. Requirement is User A should be able to post to vendors only for particular posting key&document type.He should be able to post to with any other
-
Problem Storing native data types in ViewState
The ViewState["m_UserAnswers"] won't seem to keep a value. It is always returning null. I set the value as you can see in the button OnClick method then i read it back in on the page load. I don't know what I am missing. Its not the only ViewStat
-
Syncing contacts between E71 and Outlook
Hi there I have a brand new E71, and a thing of joy it is. One small thing about PC Suite syncing though: there are numbers in the phone that just don't make it into my Outlook contacts. I have PC Suite version 7.0.8.2 and Outlook 2003, on a Windows
-
SWDD abends when dragging a step type into existing template
Hello, The following steps cause an abend. Has anyone seen this and found a fix? - Start transaction SWWD - drag a new step type into an existing workflow template - at the cursor a plus sign displays - upon releasing the mouse button the program ab