Substitution in bseg-fdwbt
I have create a substitution of the content of field bseg-fdwbt, but it doesn´t catch negative values in spite of the field has symbol field, can anybody help me please?.
regards
thanks in advance
hi,
what for a substitution? - with trx OBBH?
field is not changeable, i think...
A.
Message was edited by: Andreas Mann
Similar Messages
-
Hi experts,
i have to change some fields on Account Document before commited, i was trying to use a Substitution ( obbh ), by document position.
I can change all fields' values except KOART field. I know this is a critical field, but is there a way to change its value ?. After i change it i get an INSERT ERROR and Account document's not created.
Is there a way to change that field, or if there are some validations, what are they ?, what conditions i need, maybe change others fields first...
Regards,Hi,
The KUNNR does not get updated for 2nd and subsequent line items of an accounting document no.
The reason being, in an accounting doc, since the 1st line is a debit entry it always belong to the customer code. Hence fo any acc. doc, the KUNNR will be available for 1st line item. Whereas the subsequent line items are credit items and will get recorded against a G/L account and not against a customer code.
This is designed as per std SAP. Also FYI, since BSEG is a cluster table and any changes to an acc. doc gets recorded in this table, its not advisable to change this std SAP table. It will lead to data in consistency in your system and lead to accounting errors during reporting.
Regards,
JLN -
Steps to create substitution rule for field BSEG-RECID
MIRO generates FI document. FI document has BSEG-RECID field. I need to apply substitution for BSEG-RECID depending on the value of the RSEG-GEBER field in MIRO. The substitution must be activated only if account to be booked is PL account in FI and derived MM document based on ZNPP PO type.
Field values are as follows:
RSEG-GEBER BSEG-RECID
No value No value
N N
D D
A A
Could anyone please let me know the steps to create the above substitution rule for the FI document
Thank YouHi,
You can do it as below:
Prerequisite : Select the document type for which you want check, here you have to select the BKPF-BLART = " " (Give the document type for the MIRO)
Substitution: Use the User exit with the logic as you said.
If you want you can use the user exit in both PREREQ & SUBSTITUTION. It will be applicable in your case
VVR -
Cost center substitution not working
Hello,
I have made a CO cost center substitution in OKC9, callup point 1, prerequisites: sales office=1010, sales group=n01, substitution COBL-KOSTL with "na001".
The sustitution is active , I have run program RGUGBR00 but still not working. When I try to make a delivery I get the message that the account needs CO allocation.
I have also try using FI substitution for BSEG-KOSTL, but I can't get the same prerequisites (sales office and sales group).
Please, suggest a soution.
LaviniaHi
ABAP code needs to be written in the exit... With in the code you need to read the fields coming in from SD... Ask your abaper if it is possible to use some field symbols and read the data from memory directly
I dont know the technicalities much, but it should be possible to read the fields
br, Ajay M -
Substitution Rule for Payment Term
Hi Expert,
I have to have Substitution for payment term the following criteria:
Company Code = '1000' AND Document Type = 'L1' AND Posting key = '14', then ... substitution bseg-zterm with certain payment term.
Problem: there is no substitution for bseg-zterm.
I read the post at http://sap.ittoolbox.com/groups/technical-functional/sap-acct/substitution-rule-for-payment-term-489202
and found that I need to apply a SAP note 42615 in order to enable the BSEG-ZTERM field in Substitution Rule for Payment Term, and after that run Program RGUGBR00 to regenerate the substitution.
But, problem again, our SAP is ECC 6.0, and the said SAP note is not applicable.
Kindly advise is there any other way that I can enable the bseg-zterm field at substituion.
Thanks,
sbmelHi
1. Go to SE16N and enter Table GB01
2. Enter &SAP_EDIT in the command prompt i..e the space where you type your T code and press enter
3. BCL TAB = BSEG and Field = ZTERM... Execute
4. Remove the X for the field BEXCLUDE.. SAVE....
5. Select this entry and menu Table > Transport > Include in tr request
6. Run RGUGBR00
Br, Ajay M -
Change BSEG contents in RGGBR000
Hello,
I'm using a Z* copy of RGGBR000, and in a customized FORM i'm changing the value of BSEG-ZUONR ( Assignment number ) but the change has no efects. The field maintains the old value.
Does anybody knows if it's possible to change BSEG contents in an exit FORM ? And what's necessary to do to that change to have efects ?
Thanks
Paulo SousaPaulo,
you misunderstand the concept: BEXCLUDE has to be empty for fields which you want to change. If you want to change ZUONR, than it has to be empty for ZUONR. It is irrelevant what is in BUKRS.
pls. follow the steps:
1. create a substitution for BSEG-ZUONR (tcode: GGB1) with subst. exit, call the exit from the subst.
2. activate it for the company code (tcode: OBBH)
3. test, test, test ...
ec -
Hi All,
While Posting an invoice, I am entering some value in the PAYMENT REFERENCE field (BSEG-KIDNO). And when I am paying this invoice through Payment run (F110), i expect the value in the Payment reference of the paid invoice to be copied to the Payment Reference field of the payment document. But the Payment reference field is empty in the payment document.
Please suggest how can I copy the Payment Reference value from the invoice to payment document, while processing the APP (F110).
Thanks
RonI am not sure whether standard functionality can populate payment reference field value.
you can build a FI user exit for transaction F110. However I dont see payment reference field is Open for substitution on BSEG table. I see XREF1,2, 3, SGTXT & ZUONR fields are open. Open means user exit will substitute values in those field through user exit code.
RGGBS000 is standard user exit program. copy to ZRGGBS000 if no user exits are already created. then ask ABAP guy will create this program and user exit logic. Provide user exit logic to him/her.
thanks -
Automatic display of businees area
hi all,
i have got two business area 123 and 1234. the issue is when i am trying to post the document in f-02 the business should be filled automatically with business are1234. where shoudl i define or where should i configure the steps. please let me know.
i am using 6.0 version
regards
santhoshDear,
Define line item level substitution for BSEG-GSBER using transaction GGB1 and assign this substitution to company code in transaction GGB4.
Regards,
Chintan Joshi. -
Creating a block key default for documents created by MIRO?
Hi All,
Could anyone tell me how to create a block key default for documents created by MIRO?
Thanks
GandalfHi,
I cannot find substitution field BSEG-ZLSPR in GGB1.
My prerequisite is to check if SYST-TCODE = MIRO and unplanned delivery cost <> 0.
How to define unplanned delivery cost field in the prerequisite. I cannot find the field name.
You can see this field when you create MIRO, tab details.
The purpose for my substitution is to block all unplanned delivery cost invoices.
When I click on substitution the choices I got is only as below :
BSEG ABPER Settl.Period
BSEG AUGGJ Clrg Fiscal Yr
BSEG DOCLN Line Item
BSEG FIPOS Commitment Item
BSEG FISTL Funds Center
BSEG FKBER Functional Area
BSEG FKBER_LONG Functional Area
BSEG GEBER Fund
BSEG GMVKZ Execution
BSEG GRANT_NBR Grant
BSEG HKTID Account ID
BSEG HZUON Sp.G/L assgt
BSEG INTRENO RE code
BSEG KSTAR Cost Element
BSEG MEASURE Funded Program
BSEG PARGB Trdg Part.BA
BSEG PPA_EX_IND Excluding/Includin
BSEG PPRCT Partner PC
BSEG PRCTR Profit Center
BSEG PRODPER Prod.Month
BSEG PRZNR Business Proc.
BSEG PSEGMENT Partner Segment
BSEG SAMNR Collect.inv.
BSEG SCTAX FI-CA Tax Portion
BSEG SEGMENT Segment
BSEG SRTYPE Addit.Receivab.
BSEG UZAWE Pmt meth.supl.
BSEG XREF1 Reference Key 1
BSEG XREF2 Reference Key 2
BSEG XREF3 Reference Key 3
BSEG ZUONR Assignment
Can anyone help me ? -
Substitute Customer number on PCA doc
Hi All,
We have a requirement to populate Customer# on the Profit Center document which is not happening through standard program (for rebate processing). We are using 4.7 and PCA module.
We are using a FI substitution calling user exit. What we intend to do is substitute customer# on Accounting doc (Assignment field of BSEG) and also substitute Customer# on GLPCA-KUNNR field (Customer field) of PCA document.
We have written the user exit and it is working fine up to substitution on BSEG field on Accounting doc. However the customer# is NOT getting populated on PCA document.
Anyone has any ideas on how to accomplish this?
thanxwe developed a z program to populate customer # in GLPCA table.
thanx -
Can we join the transparent and pooled tables?
hi friends,
i have a doubt that is when we want to get the data from transparent and pooled tables it is not possible to join the tables.
so should we go with nested select statements or is there any way to get the data? with better performance
if i go with nested select statements it takes a lot time thats y i need a better way
for example i want the data from BKPF and BSEG based on BELNR
please send me how can we get it
regards
jagadishhi rob
thanks for response
see the below code once
SELECT * FROM bkpf
WHERE gjahr = p_gjahr
AND ( monat BETWEEN lv_1st_mth AND gw_prev_monat ).
*- Selection with cost center
IF gw_kostl NE SPACE.
s_kostl = s_kostl+3(10).
SELECT * FROM bseg
WHERE bukrs = bkpf-bukrs
AND belnr = bkpf-belnr
AND gjahr = bkpf-gjahr
AND kokrs = p_kokrs
AND kostl IN s_kostl
AND buzei = '001'
AND lstar <> ' '.
MOVE bseg-lstar TO itab2-lstar .
MOVE bkpf-bukrs TO itab2-bukrs.
MOVE bkpf-belnr TO itab2-belnr.
MOVE bkpf-gjahr TO itab2-gjahr.
MOVE bkpf-monat TO itab2-monat.
MOVE bkpf-budat TO itab2-budat.
MOVE bseg-kokrs TO itab2-kokrs.
MOVE bseg-buzei TO itab2-buzei.
MOVE bseg-wrbtr TO itab2-wrbtr.
*Changed----
IF bseg-shkzg = 'H'.
lv_wrbtrcd = 0 - bseg-wrbtr.
itab2-wrbtr = lv_wrbtrcd.
ELSEIF bseg-shkzg = 'S'.
MOVE bseg-wrbtr TO itab2-wrbtr.
ENDIF.
MOVE bseg-fdwbt TO itab2-fdwbt.
MOVE bseg-sgtxt TO itab2-sgtxt.
MOVE bseg-kostl TO itab2-kostl.
APPEND itab2.
ENDSELECT.
ELSE.
s_kostl = p_estat+0(4).
SELECT * FROM bseg
WHERE bukrs = bkpf-bukrs
AND belnr = bkpf-belnr
AND gjahr = bkpf-gjahr
AND kokrs = p_kokrs
AND kostl IN s_kostl
AND buzei = '001'
AND lstar <> ' '.
IF bseg-kostl+0(4) = s_kostl.
MOVE bseg-lstar TO itab2-lstar.
MOVE bkpf-bukrs TO itab2-bukrs.
MOVE bkpf-belnr TO itab2-belnr.
MOVE bkpf-gjahr TO itab2-gjahr.
MOVE bkpf-monat TO itab2-monat.
MOVE bkpf-budat TO itab2-budat.
MOVE bseg-kokrs TO itab2-kokrs.
MOVE bseg-buzei TO itab2-buzei.
MOVE bseg-wrbtr TO itab2-wrbtr.
*Changed----
IF bseg-shkzg = 'H'.
lv_wrbtrcd = 0 - bseg-wrbtr.
itab2-wrbtr = lv_wrbtrcd.
ELSEIF bseg-shkzg = 'S'.
MOVE bseg-wrbtr TO itab2-wrbtr.
ENDIF.
MOVE bseg-fdwbt TO itab2-fdwbt.
MOVE bseg-sgtxt TO itab2-sgtxt.
MOVE bseg-kostl TO itab2-kostl.
APPEND itab2.
ENDIF.
ENDSELECT.
ENDIF.
ENDSELECT.
regards
jagadish -
FB60 - to default value for Business place and section code (PBO)
Hi
The requirement is as follows:
We need fields Business place and section code of the FB60 transactions defaulted for respective company code.
Is there any user exit or BADI for FB60 for PBO event,
Among the 13 user exits, I worked the User Exit and found the enhancement as suitable F180A001.But the transaction doesnt reach the breakpoint.
For the BADI i have tried the BADI BADI_FDCB_SUBBAS01 but that also doesnt work.
Please suggest any resolution for the same.
Regards,
KalpeshHi Rob,
Thanks for your reply.
We have tried for OBBH transaction ,but in substitution field BSEG-BUPLA and BSEG-SECCO doesnt found .
There is one maintainance view VWTYGB01 where all substitution fields are maintained.We found the BUPLA and SECCO as excluded ,Hence i tried to make it unchecked and save that table.
But SAP throws a warning message that Change is not allowed.Hence i am not been able to make further change.
Can you suggests any more on this.
Regrads,
Kalpesh -
Substitution to give a discount to vendor on MIRO - BSEG-ZBD1P
Hi people.
We are having a issue trying to add a discount on field bseg-zbd1p.
We have added a substitution rule that executes on MIRO, for a certain material we want to give a discount to vendor, but it is not working.
We try to change the field bseg-zbd1p and bseg-zterm, but when we change the first field, nothing happens(It's not changed) and changing ZTERM does not change the field zbd1p, Even having customized the condition term to give 25% discount.Not solved.
But now, we are using that payment codition on PO -
Adding BSEG-ZTERM as substitution field in OBBH
Hello,
I have seen in note 842318 how to make a standard field usable in substitution transaction (OBBH).
Do you know if changing the setting for BSEG-ZTERM can lead to inconcistencies? Have you done that already ?
Best Regards, ManuelHi
What field you want exatly.
you can use assignment(BSEG-ZUONR) field for updating the substution purpuse
Regards,
Kishore K -
How to repeat std loop or call again the structure of BSEG at substitution
Hi Experts,
I did a substitution for updating some values in the fields of Account docs while posting in MIRO, VF01 etc .
The thing I did is, If i get the value say like Profit center in line item substitution, Im updating the same to next line item values thru Export Import parameters .
So the issue here is, If i get the value in 1st line item, so that I can update the same in next consecutive lines of each item if it has null values but if the 1st line item doesn't have the value say its null, then my loop will go to next line item to get and search the value of the profit center field, if its found then I can able to update the values in my next line items and not the missing line of 1st item because the standard programming loop in MIRO and VF01 are structure type BSEG table. So Im missing my updates of 1st line item if its null.
Pls advise me, how to call the standard loop once again and post my transaction without null values.
Hope its clear.
thanks & regards
sankar.Hi Thomas/ All...
Please post me some Substitution - Complete document exit process example...
I've tried but no results and the user exit available which is not working for my requirement.
Pls advise.
thanks & regards'
sankar
Any replies...
Edited by: sankar babu on Oct 8, 2008 9:49 AM
Edited by: sankar babu on Oct 8, 2008 6:54 PM
Maybe you are looking for
-
hi, I like to connect two items with a growing line or with a line that change its color from one side to the other. How can it be done? Thanks and greetings Eva
-
My summary report did not transfer the caption titles from the survey
In the summary report tab none of the data is labeled with the survey question.
-
Serial Activation Error "Serial Number is not Valid for this Product"
I have Photshop CS5 Extended edition but when i try to activate the key it comes with the error "Serial Number is not valid for this product". The product has been activated two times before but the installation doesnt come with the error "Serial Num
-
I cannot view images imported from nikon d4
i cannot view images imported from nikon d4. I have just upgraded to the most current version of aperture and when I import images from my qxd card it looks like it is importing but no images show up.
-
last year april i recevied a refurbished iphone 3gs due to my old was faulty just before the warranty expired.. i just want to know if u get 12months warranty if u recieve a refurbished phone cause now my home button is becoming faulty and i want to