Bapi /FM to update BSEG-ZLSPR
Friends,
Is there any BAPI or FM to update the field ZLSPR in table BSEG?. I wanto update that field from my abap proogram. is BAPI_ACC_DOCUMENT_POST helpful?
Nash John
Hi Nash,
Please check this FM.
CHANGE_DOCUMENT
TR_LOAN_UPDATE_ZLSPR_IN_FI
Hope this will help.
Regards,
Ferry Lianto
Similar Messages
-
Hi friends,
I have to update ZUONR field in BSEG table based on belnr rfzei & saknr,
could u please tell me how can i do that??
Thanks
PrashantUse the bapi:BAPI_ACC_DOCUMENT_POST
To update BSEG table -
BSEG-ZLSPR updating in a session method (batch input session is canceld)
Hi Experts,
places an "E" in the " PMT Block" field (BSEG-ZLSPR) on each document using session method
transection error coming (FB09) line updateing please let me
I have seen SM35
FB09 .---incorrect
>>>>>>>>>> SAPMF05L 0102
RF05L-BELNR 2800151708
RF05L-BUKRS CBC1
RF05L-GJAHR 2010
RF05L-BUZEI 001
RF05L-XKDEB X
>>>>>>>>>>> SAPMF05L 0301
BSEG-ZLSPR E
BDC_OKCODE /11
Transaction was processed successfully
Field BDC_OKCODE changed: /BEND (previously: )
Batch input processing cancelled
Transaction error
Please let me knowWhen you recorded via SHDB, did you actually perform a change, depending on the item type in document, there can be some popup window that comes after the one where you changed the field, so i suggest perform a true SHDB update with the actual type of item.
Nevertheless, execute the DBC in a 'A' display all mode.
Regards,
Raymond -
User exit or FM or BAPI to update bseg-augbl field
hello,
i'm looking for a solution to update bseg-augbl field.
is there a user exit or fm to do it ?
please help.hi,
i think, there's no fm or bapi -
so try batchinput for transaction FB09.
P.S.
why do you want to change this field ? I think it's -<b>without exception</b>- a field that should be changed only by SAP-standard programs ?????
A. -
Hi,
Can anyone suggest FM or BAPI to mass update in BSEG-XREF1, BSEG-XREF2 and BSEG-XREF3 besides using BDC and FM FI_ITEMS_MASS_CHANG?
I tried to avoid using tcode FB02 and that is the reason i don't want to use BDC and FM FI_ITEMS_MASS_CHANG.
Thanks.
Juli.I guess only BDC via transaction FB02 is the only way..
-
Updating bseg and bsis table ...
Hello,
I want to update bseg and bsis table. I guess i will have to use BAPI_ACC_DOCUMENT_POST.
how do i go on using this BAPI ? any starter code snippet ...!!Functionality
Using this method you can create a posing in accounting for certain business transactions.
Possible ( Business Transactions):
Postings that generally only affect the general ledger. (RFBU)
Billing: For billing in Sales and Distribution, accounting is supplied with the relevant billing data. (SD00) Billing Document
Accounting can use the data of a logistics system that result from an Invoice Receipt. (RMRP)
Goods Movement are triggered by transactions in Sales and Distribution or by inventory postings. Within logistics, they lead to a change in the warehouse stocks of
<DS:GLOS.Inventory Management>Inventory Management. This results in a posting in accounting. This is why accounting is supplied with the relevant data from logistics. (RMWA)
Example
Billing document:
By selling goods in accordance with targets, revenue is generated. The revenue is posted in billing and forwarded
to accounting.
Invoice receipt:
Raw materials are purchased in accordance with targets. The invoice receipt is posted in a logistics system. The data from the raw materials is forwarded to accounting.
Goods Movment:
The use of raw materials leads to a change in stock in inventory managment. The posting of raw material consumption is forwarded to accounting.
G/L Account Posting:
Provision posting for an expected warranty service. This can refer to acquisitions or retirements belonging to stocks that are not in subledger accounting relevant to inventory management. This is particularly the case if such materials are not displayed as vendor/customer, materials, loans etc. or cannot be displayed in this way. This can also refer to write-ups or depreciation that contain higher aggregations of values than are maintained in a corresponding subledger that is relevant to inventory management.
The conversion of foreign currencies for receivables/payables due to large exchange rate changes that should not lead to an update of the accounts payable or accounts receivable accounting. A similar transaction can arise for the revaluation of raw materials if this revaluation takes place at a correspondingly aggreagated level.
Reclassification of inventory of P&L statement accounts that are only used for reconcilliation purposes in the general ledger (this rearranges values for balance sheet items).
Balance reclassifications of stocks to receivables with different return times.
Notes
If the parameter CurrencyAmount is filled with the currency fields, a complete document check including characteristics and value components of profitability analysis (CO-PA). Otherwise, the account assignment objects are checked.
Messages are returned in the parameter Return. In the parameter documentation you can find the return values and their meaning. -
Hi All,
I want to update a z.. field which was being added by someone..
Problem is I can not do it through BDC..there is some problem in doing so...it will bit more work I already tried it.
I am looking for a FM or BAPI through which I can update field. Field is "Basline date".
Is there any update module for BSEG entries.
Looking for your ideas...
Thanks,
MarkHi,
Refer Below code
*& Form SUB_READ_UPDATE_BSEG
text
FORM sub_read_update_bseg.
IF NOT it_final[] IS INITIAL.
LOOP AT it_final INTO wa_final.
UPDATE bseg SET zuonr = wa_final-ccnum
WHERE bukrs EQ wa_final-bukrs
AND belnr EQ wa_final-vbeln
AND rfzei EQ wa_final-rfzei
AND saknr NE ' '.
ENDLOOP.
*--Message data updated successfully
MESSAGE i888 WITH text-002.
LEAVE LIST-PROCESSING.
ELSE.
*--Message No data found
MESSAGE i888 WITH text-003.
LEAVE LIST-PROCESSING.
ENDIF.
ENDFORM. " SUB_READ_UPDATE_BSEG
Regards,
Prashant -
Extension for MIRO to update BSEG/BKPF
Hi Experts,
When MIRO transaction is saved, an user-exit should be triggered to update the 3 fields like ESRNR,ESRRE & ZLSPR(which is stored in structure RBKP_V).
I tried all the 7 user exits (LMR1M001,LMR1M002, LMR1M003, LMR1M004, LMR1M005, LMR1M006, RMVKON00 , MRMH0001, MRMH0002 ,MRMH0003, MRMN0001) and 1 badi (INVOICE_UPDATE) .But in all this the structure RBKP_V is an importing parameter except LMR1M006 .But this user-exit is not getting triggered because it is change XML data.
Now what I am looking is , to update the 3 fields in tables BKPF or BSEG. Because when a MIRO is saved , 2 document number is created (1 in Accounting document and the other in Invoice document ).
So is there any user-exit or BADI to update BSEG /BKPF in transaction MIRO.
Kindly help me
It is very urgent.
Thanks in advance
Points will be rewarded.Hi Vinod,
This can be done through FI Substitution, you may need to write an Exit in FI Substitution. Talk to your FI Consultants, and they should help you.
Regards
Srikanth M -
Need BAPI Name for updation of Subcontracting scheduling line agreement
Hi All,
Can anybody please tell me BAPI Name for updation of Subcontracting scheduling line agreement from EKET table?
Note: BAPI_PO_CHANGE is not useful for me.
Thanks and Regards,
Atul.Hi Muralidhara,
Can you please give some more details for this BAPI..
I tried using it , but getting an error "No instance of object type PurchSchedAgreement has been created. External reference:"
and "Enter G/L Account" (Infact I did specify G/L account in account assignment table)
with regards,
Kirti -
User Exit / BADI for F-02 during SAVE to update BSEG Line Items.
Hi Experts,
I need a User Exit / BADI for Transaction code F-02 which triggers during save to update BSEG-SGTXT with Vendor / Customer
name in the Tax Line Item.This is to update table BSEG .
Thanks in Advance,
NithyHi,
Do it with the BTE 00001120 (tcode FIBF).
I hope this helps you
Regards,
Eduardo
PD: I forgot, check this link. It will tell you how to do it
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
Edited by: Eduardo Hinojosa on Jul 15, 2009 6:38 PM -
Bapi/FM tp update DO storage location
hi all,
any bapi/FM to update SD DO storage location... thanks for the helpHello,
Solved the error. Just miss some parameters:
lwa_item_data-deliv_numb = lwa_lips-vbeln.
lwa_item_data-deliv_item = lwa_lips-posnr.
lwa_item_data-fact_unit_nom = lwa_lips-umvkz.
lwa_item_data-fact_unit_denom = lwa_lips-umvkn.
APPEND lwa_item_data TO lit_item_data.
lwa_item_control-deliv_numb = lwa_lips-vbeln.
lwa_item_control-deliv_item = lwa_lips-posnr.
APPEND lwa_item_control TO lit_item_control.
lwa_item_data_spl-deliv_numb = lwa_data-vbeln.
lwa_item_data_spl-deliv_item = lwa_data-posnr.
lwa_item_data_spl-stge_loc = 'H114'.
APPEND lwa_item_data_spl TO lit_item_data_spl.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
EXPORTING
header_data = lwa_header_data
header_control = lwa_header_control
delivery = p_vbeln
TABLES
item_data = lit_item_data
item_control = lit_item_control
return = lit_return
item_data_spl = lit_item_data_spl.
it's important to fill fact_unit_nom and fact_unit_denom.
Best regards,
Pedro Nunes -
BAPI/FM to update Characteristics value
Hi,
Is there any BAPI/FM to update Characteristics value entered in class overview in transaction IQ02.
Regards,
Mukesh KumarHi,
Use below BAPI..
CALL FUNCTION 'BAPI_CHARACT_CREATE'
EXPORTING
CHARACTDETAIL = HEAD_CHAR
* CHANGENUMBER =
* KEYDATE = SY-DATUM
TABLES
CHARACTDESCR = DESC
* CHARACTVALUESNUM = VALUN
* CHARACTVALUESCHAR = VALUC
** CHARACTVALUESCURR =
* CHARACTVALUESDESCR = CHDES
* CHARACTREFERENCES =
* CHARACTRESTRICTIONS =
RETURN = RETN.
Arivazhagan S -
Substitution : Payment block (bseg-zlspr)
Hi,
I would like to substitute the payment block when posting document header (tcode:FBR2). However, I cant find the BSEG-ZLSPR field to be substitute in the substitutable fields (tcode:ggb1 Financial Accounting > Document Header > Substitution > Step).
Is that means that if the BSEG-ZLSPR doesnt appear in the substitutable fields to be selected, I CANT perform any substitution to that field?
Appreciate advice. Thanks.Hi,
For your requirement those field are not available in header level in substitution so first we can get those field through this way
If you want Payment Block BSEG-ZLSPR in line item level .
Go to SM30 there Give Program name VWTYGB01 select maintain button.
There select the table BSEG and field names ZLSPR and remove the check box exculde flag for those fields.
May be this information is useful to you
If you have any doubt feel free to ask
Regards
Surya -
Field BSEG-ZLSPR in a posting key 50
Hello,
I have a doubt,
Is it possible to display the lock field (BSEG-ZLSPR) as a posting key 50? And after post are able to change?
Thanks.Hello again,
The problem I have is in a substitution i changed the posting key 50 to 31 (bseg-bschl = '31') and block the payment(BSEG-ZLSPR = 'Y '), but when i see the document I get the screen off the posting key 50 and the field payment block doesn't appear. I need that the field payment block appear to change it in the future.
Thanks. -
Update BSEG-ZUONR with VBRK-BSTKD
Hi experts,
This enhancement will kick in in real time when ever a billing document is generated and it involves posting into accounting.
Update BSEG-ZUONR with VBRK-BSTKD .
I need the substitution rule exit details.
Plz can u tell me that whether I can get BSEG-BELNR value into this substitution rule exit or I should go for something else.
<removed by moderator>
Thanks
Edited by: Thomas Zloch on May 3, 2011 3:17 PM - urgency reducedHi
In my opinion, it will be easier with an enhancement. See Note 301077 - User exits for the interface to accounting. Depending of what kind of item you want update, you can write this code:
xaccit-zuonr = vbrk-bstkd.
In the corresponding ZX* include.
I hope this helps you
Regards
Eduardo
Maybe you are looking for
-
Contact person replicating to crm from R/3
Hi All, When we add a contact person to a customer in ECC, it is not replicated to CRM. 2 BDOC type is created, BUPA_MAIN and BUPA_REL. In BUPA_MAIN bdoc, the guid number and partner number is filled, but in BUT000 table there is no entry. So, in BUP
-
Master Collection CS5.5
Application Manager Enterprise Edition will not recognize \\MasterCollection CS5.5\Adobe CS5_5\setup.exe as a valid installer when I attempt to create the build . Why?? This method works for all other pieces (Dreamweaver, FlashPro, Design, etc).
-
Hi All Could any body tell me wat all ABAP related concepts should a SD consultant know when working in support and implementation projects?
-
Dynamically generating cfc's written in CF
I am looking to dynamically generate ColdFusion components and other files based on an sql database. I want to be able to generate these files using ColdFusion. How can i generate these files without ColdFusion trying to process them? If i could just
-
Hi Expert, Please tell me how to resolve errors - ORA-01033: ORACLE, or closed, or initialized ,ORA-02063: Previous line from D1558A_IFRSQRY Thanks and Regards