Check condition in J1IIN Transaction
Dear All,
I am creating Excise Invoice through J1IIN transaction against a Billing Document. Sometimes user unknowingly change the Posting Date in J1IIN. So I want that Posting Date in J1IIN must be equal to the Billing Date of Reference Billing Document.
So please tell if something is possible at Customization Level or not. If it is not possible then tell can it be done with ABAP (Some Userexit or like that) or not.
Please reply asap.
Regards,
Vishal
Hi Ankur,
Can you please confirm whether I need to write this Check condition in FM 'J_1I7_USEREXIT_EXCISE_BEF_SAVE'?
As it is most important transaction, so I need to take great care in this matter.
Regards,
Vishal
Similar Messages
-
BADI/User Exit for Checking Conditions in TRM Transactions
Hi All,
I have to check some conditions before saving the transaction FTR_CREATE. So that based on that condition it will be known that whether that transaction will save or not. I found some BADIs, but those are particularly working for Money market and derivatives. For my Req, I need a BADI which will check conditions for both Money market and Securities.
Exact req is, Based on Portfolio and PaymentAmount i have to restrict the transaction. Those will found in 2 tables VTBFHA and VTBFHAPO. But many BADIs doesnt contain VTBFHAPO.
If any one working on TRM can u help me out ?>
priya tavanam wrote:
> Hi Frds,
>
> I am using the FTR_TR_GENERIC Badi. In that one method is : EVT_TRANSACTION_SAVE_CHECK. In that one parameter is PI_PROXY_TRANSACTION. I want to get the attributes of Method A_TAB_CASHFLOW . That is : A_TAB_CASHFLOW~BZBETR.
-->whats ur code to read those values , it should be
lt_cashflow[] = PI_PROXY_TRANSACTION->a_A_TAB_CASHFLOW [ ] ' .
But i am unable to access this value in BADI. how access this. Can any one help me on this. -
To check Condition Supplements entries in tcode ME31K/ME32K
Dear Friends,
My requirement is to put a check on condition type selection and entries of condition supplements for transaction code ME31K/ME32K.
First Requirement:
For a Contract PO, we have 2 condition types 'P000' and 'ZP00'. Currently it is allowing me to select both the condition types. Whereas my requirement is that it should provide me selection for either of 2.
Second Requirement:
Once I select any one condition type from above, it will allow me to add condition supplements to it. Here also, it should not allow me to enter one condition more than once.
For eg. It allows me to enter condition type FRB1 twice, which sholudn't be the case.
Do we have any USER EXIT or BADI or IMPLICIT ENHANCEMENT for doing the same.Hi Ashish Kansara,
You can use customer exit "MM06E005". In that use the Function exit "EXIT_SAPMM06E_012", there is an internal table as "TKOMV" which will contain the condition tab. Keep your conditions as required.
Note : This exit will get triggered in ME21N/ME22N etc. So keep proper conditions.
Thanks & Regards,
Rock. -
Error while saving Excise Invoice in J1IIN Transaction.
Hi All,
While saving Excise Invoice in J1IIN Transaction, am getting the following errors.
1.Balance in Transaction Currency.
2.System failure during locking G/L account 7000 by 61110.
Pls provide me the solution.
Regards,
Sasi.Hi SASIKANTH,
Go thru the below issues, hope would be helpful.
1. Balance in Transaction Currency
Balance in transaction currency
Re: Balance in Transaction Currency
2.System failure during locking G/L account 7000 by 61110
System failure during locking GLaccount (the Company Code) by (GLaccount no
System failure during locking GL 401000
System failure during locking GLaccount 1000 by 43000130
Thanks,
Swamy H P -
Conversion error in J1iin transaction
Hi experts,
We have activated the TAX2 field means AT2 field in J1IIN transaction.
Now we are getting dump as conversion error . Tax2 field is getting negative value for that its giving conversion error.
That's mean the domain value of the tax2 field is not accepting the negative value .
Please suggest me how can i have to rectify this problem
Regards
MadhuHi Madhu,
Please try Using the Conversion Fm Have a few below
EXTERNAL_S_CURRENCY_CONVERSION
K_PRICE_CURRENCY_CONVERSION
COPA_CURRENCY_CONVERSION
KPFP_CURRENCY_CONVERSION
RKD_CURRENCY_CONVERSION
CURRENCY_CONVERSION_0603
CONVERT_CURRENCY_BY_RATE
CONVERT_COUNTRY_CURRENCY
CONVERT_AMOUNT_TO_CURRENCY
CONVERT_TO_FOREIGN_CURRENCY
CONVERT_TO_LOCAL_CURRENCY
Hope that will Help you.
Thanks
Kalyan -
Check condition on sub total line of ALV list
Hi All ,
Is it possible to check condition on the value of subtotal line in ALV list ,
I,e If the value of subtotal line is say greator than 100 I need to change the color of that line or change the text on the subtotal line .
I know how to change the subtotal text but i want to change with respect to value of the subtotal ,
Any input if this can be achieved will be great .
Thanks in adv .
Vinay
Edited by: vinay kolla on Jul 29, 2009 4:43 AMHi,
I donu2019t think there is any direct way to check the subtotal value in LIST display, try the following logic.
1. Use the event BEFORE_LINE_OUTPUT to check the subtotal value and accordingly change the text or colour of the line.
2. To use events in ALV, first get the events into a table through the FM REUSE_ALV_EVENTS_GET as shown
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = z_i_events.
SORT z_i_events BY name.
CLEAR z_wa_events.
READ TABLE z_i_events WITH KEY name = slis_ev_before_line_output
INTO z_wa_events BINARY SEARCH.
IF sy-subrc = 0.
MOVE 'BEFORE_LINE_OUTPUTu2019 TO z_wa_events-form.
MODIFY z_i_events FROM z_wa_events INDEX sy-tabix.
ENDIF.
3. Create a form with the name BEFORE_LINE_OUTPUT and do the coding to check the subtotals there.
Form BEFORE_LINE_OUTPUT USING RS_LINEINFO TYPE SLIS_LINEINFO.
*The structure RS_LINEINFO will have u2018Xu2019 in the field rs_lineinfo-subtot for subtotals.
If RS_LINEINFO-SUBTOT = u2018Xu2019.
*Here try to find the totals by looping at your final internal table till rs_lineinfo-tabindex.
*Then based on this u can give the colour to the line.
*I think there is no other way to check the subtotal value.
Endif.
Endform.
Edited by: venkatesh PH on Jul 29, 2009 5:31 AM -
Impact of EU check box in OY01 transaction
Hi,
Can any one explain me the impact of EU check box in OY01 transaction code, as per my knowledge if we selectthe EU check box the country for which we selected the check box it will fall upder the EU tax countries and the same by default will appear while creating Sales Order, but after doing this transaction where we cansee the impact of this chage to this specific country.
pls. suggest me on this and correct me if my assumption is wrong.
Regards,
LakshmiHi,
Not really. The check box will allow certain information to be entered in the company code and customer / vendor master for EU countries. By default it is coded with the country, ie. if you want to put this check on for any other country additional functionalities will not be activated.
As an example, if you go into Company code global parameters in Financial accounting, in the detail screen you will see a button for Additional data. Click on that, you will see additional fields which will only be visible for countries which have the EU check on.
Most of the impact due to this check box is related to EU reporting and usually master based and not transaction based.
Cheers. -
How to update Ztable from Excel file and how to check conditions ,
HI this uday,
pls help me how can i update Ztable from Excel file and how to check conditions .
regards
uday
Moderator message: please (re)search yourself before asking.
Edited by: Thomas Zloch on Jul 13, 2010 12:00 PMHi
Use Fm : ALSM_EXCEL_TO_INTERNAL_TABLE.
L_INTERN : internal table with your fields .
make sure that the fields in the Excel should be formatted (as numeric , characher ) depending upon the data types .
LOOP AT L_INTERN INTO WA_LINTERN .
MOVE WA_LINTERN-COL TO L_INDEX.
ASSIGN COMPONENT L_INDEX OF STRUCTURE WA_INREC TO <FS> .
IF SY-SUBRC = 0.
MOVE WA_LINTERN-VALUE TO <FS>.
ENDIF.
AT END OF ROW . "#EC *
APPEND WA_INREC TO IT_DATA. "
CLEAR WA_INREC.
ENDAT.
ENDLOOP.
Regards
Swapnil -
Checking conditions in SELECT statement
Hi All,
I am relative new to ABAP and I would like to ask a question about checking conditions in SELECT statement in the "WHERE" part.
There are two checkboxes at the selection screen and each should disable one of conditions (marked with two stars) in the SELECT mentioned below.
My question is, whether there exists an option how to solve this problem without using solution like:
IF checkobx1.
SELECT (without one condition)
ELSEIF checkbox2.
SELECT(without other condition).
ELSE.
SELECT (with both conditions)
SELECT qprueflos qherkunft qaufnr qsa_aufnr qmatnr qwerkvorg
qpastrterm qpaendterm
qverid qobjnr vobjnr AS objnr_fa vauart
FROM qals AS q INNER JOIN vkaufk AS v
ON qaufnr = vaufnr
INTO CORRESPONDING FIELDS OF TABLE gt_qals
WHERE q~prueflos IN s_pruefl
AND q~stat35 EQ space
AND q~werk EQ loswk
AND q~herkunft IN s_herk
AND q~offennlzmk EQ 0
AND q~offen_lzmk EQ 0
AND q~pastrterm IN s_startt
AND q~paendterm LE s_endt
AND v~auart IN s_auart. "('ZCPA', 'ZCPK', 'ZCBA').Hi,
With this, I think u can directly read into WHERE clause
IF checkbox1.
v_where = '& BETWEEN ''&'' AND ''&'' '.
REPLACE '&' WITH key_field INTO v_where.
REPLACE '&' WITH field_LOW INTO v_where.
REPLACE '&' WITH field_HIGH INTO v_where.
CONDENSE v_where.
ELSEIF checkbox2.
v_where = '& BETWEEN ''&'' AND ''&'' '.
REPLACE '&' WITH key_field INTO v_where.
REPLACE '&' WITH field_LOW INTO v_where.
REPLACE '&' WITH field_HIGH INTO v_where.
CONDENSE v_where.
ENDIF.
select * into corresponding fields of table ITAB
from (table_name)
where (v_where).
In this key_field is your fieldname in the where clause and field_low, field_high are range of values.
If i write static query it looks like this
RANGES: MATNR1 FOR MARA-MATNR.
MATNR1-LOW = MATNR_LOW.
MATNR1-HIGH = MATNR_HIGH.
MATNR1-SIGN = 'I'.
MATNR1-OPTION = 'BT'.
APPEND MATNR1.
select * into corresponding fields of table itab
from mara where matnr BETWEEN 'M100' AND 'M200'.
Hope it helps u
thanks\
Mahesh
Edited by: Mahesh Reddy on Jan 30, 2009 11:23 AM -
How can I put check conditions when using Function 'LDB_PROCESS'
Hy experts,
I am using LDB_PROCESS and I don't know how to use check conditions in the callback forms.
for example:
FORM CALLBACK_QALS USING NAME TYPE LDBN-LDBNODE
WA TYPE QALS
EVT TYPE C
CHECK TYPE C.
CASE EVT.
WHEN 'G'.
MOVE-CORRESPONDING wa to ITAB_QALS.
APPEND ITAB_QALS.
ENDCASE.
endform. " CALLBACK_QALS
Have anyone an example of how I can use check conditions in this type of form???
thx in advanceHi
U should indicate in which node (the GET) you need to check the condition, you form should have the following interface:
FORM <formname> USING <nodename> LIKE LDBCB-LDBNODE
<workarea> (LIKE ...)
<mode>
<selected>.
So the code should be:
CHECK <WORKAREA>-FIELD = ............
Max -
Read table and checking condition in PAI
Hi,
I have a requirement where I need to check and compare with (Custom table) Bankn with Partner Bank`s bankn.
I have wrote a code in PAI like this.
MODULE CHECK_BANKN INPUT.
Data: l_bankn like (Custom table)-bankn.
select bankn from (Custom Table) into l_bankn
where recno = g_recno.
IF NOT g_head-bankn IS INITIAL.
Read table i_bvtyp with key bankn = i_bvtyp-bankn .
IF l_bankn <> i_bvtyp-bankn.--------->" Comparison of (custom table) Bankn with internal table I_BVTYP-BANKN
MESSAGE w022 WITH text-w06.
ENDIF.
ENDIF.
ENDMODULE.
My Read Table statement is seems to be wrong and my checking condition is also wrong.
So, how to resolve this?
regards,
KiranHi Kiran,
If you observe your read statement, you are comparing the field with it's own table field.
Read table i_bvtyp with key bankn = i_bvtyp-bankn .
Untill unless you read I_BVTYP, i_bvtyp-bankn will be initial and you cannot find the matching record with Null-Value.
So, I think you need compare with l_bankn.
Read table i_bvtyp with key bankn = i_bankn .
Then you can directly raise a message using SY-SUBRC value.
Read table i_bvtyp with key bankn = i_bankn
if SY-SUBRC <> 0 .
<MESSAGE>
endif.
Regards,
Vijay -
Check Condition when to create Project
Dear expert!
Now, I'm getting some issue about Checking condition when to create project.
- When I create a project with coding mask '-XXXX-00-00-00-00-000' I want company code to have value 1000. If I enter another company code then the system will display message "you have to enter company code is 1000"
Really, I don't know how i have to do.
Help me, please!
Best regards, Huy!Dear, Search the forum, this type of queries are raised many times before....Search it you will find it....
Also, before posting any questions please search the forum, if you dont find it then you create a new thread. -
In OKC7, step 001, there is a check: BSID Account and Cost Center Validation. but when I doule click it, it doesn't show a user exit,
how can I view the content of "BSID Account and Cost Center Validation",
normally we can see check condition looks like: G/L = '42000020'
but this CO validation rule is strange, anyone can explain, thankscancel
-
Hi All,
I'm having difficulty establishing a VPN when I specify a health check condition in a network policy.
The vpn establishes ok without the policy however the client presents an error 812 (authentication error) when the health check condition is specified.
The only other condition is a windows group. the VPN is a PPTP tunnel for testing purposes. the client is a win 7 machine.
any help appreciatedHi,
VPN error 812: The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your
connection profile. Please contact the Administrator of the RAS server and notify them of this error.
You may try to specify the authentication protocol on the server – which matches the settings on the client side. Detailed information about VPN error 812 you may reference the link below:
Troubleshooting common VPN related errors
http://blogs.technet.com/b/rrasblog/archive/2009/08/12/troubleshooting-common-vpn-related-errors.aspx
If the problem still exits, according to your description, my understanding is that VPN(PPTP) prompts error 812 once a health check condition policy is specified. There might be a problem about the health check condition policy, check the setting of the
policy, delete/renew another one.
Best Regards,
Eve Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Error in checking condition of listener on nodes
Output
node01:oracle:/appl/oracle$ srvctl status nodeapps -n node01
VIP is running on node: node01
GSD is running on node: node01
PRKO-2016 : Error in checking condition of listener on node: node01
ONS daemon is running on node: node01
node01:oracle:/appl/oracle$
node01:oracle:/appl/oracle$
node01:oracle:/appl/oracle$ srvctl status nodeapps -n node02
VIP is running on node: node02
GSD is running on node: node02
PRKO-2016 : Error in checking condition of listener on node: node02
ONS daemon is running on node: node02
but,
node01/appl/product/102/bin$ /appl/product/102/bin/crs_stat -t
Name Type Target State Host
ora....S1.inst application ONLINE ONLINE node01
ora....S2.inst application ONLINE ONLINE node02
ora....TABS.db application ONLINE ONLINE node02
ora....S1.lsnr application ONLINE ONLINE node01
ora....b01.gsd application ONLINE ONLINE node01
ora....b01.ons application ONLINE ONLINE node01
ora....b01.vip application ONLINE ONLINE node01
ora....S2.lsnr application ONLINE ONLINE node02
ora....b02.gsd application ONLINE ONLINE node02
ora....b02.ons application ONLINE ONLINE node02
ora....b02.vip application ONLINE ONLINE node02
CRS_stat shows all applications online and fine.. then why the 1st command shows :
PRKO-2016 : Error in checking condition of listener on node: node01
Please advise
Kai
Edited by: KaiS on Oct 13, 2008 11:34 PMYes..I already reviewed this note and made sure that the GSD are running from the output of crs_stat -t
crs_stat -t
Name Type Target State Host
ora....S1.inst application ONLINE ONLINE db01
ora....S2.inst application ONLINE ONLINE db02
ora....TABS.db application ONLINE ONLINE db01
ora....S1.lsnr application ONLINE ONLINE db01
ora....b01.gsd application ONLINE ONLINE db01
ora....b01.ons application ONLINE ONLINE db01
ora....b01.vip application ONLINE ONLINE db01
ora....S2.lsnr application ONLINE ONLINE db02
ora....b02.gsd application ONLINE ONLINE db02
ora....b02.ons application ONLINE ONLINE db02
ora....b02.vip application ONLINE ONLINE db02
any clue ?
Kai
Maybe you are looking for
-
Raw File from Bridge, Lightroom, CS5 not show on Window 8.1 OS
I recently bought a new computer with Window-8.1 OS. Then I loaded CS5, Bridge & Lightroom on. However, non of the program reads raw file. Please advise what to do. Thank you. James
-
Hi Experts, I've created Loyalty Campaign/Porgram and R R and released all. Using Loaylty IC Agent role I'm not able to see the Loyalty Campaigns. Can any one pls let me know how to display all the loyalty campaigns which are released as part of Loya
-
ACS could collect windows security event log but could not collect SQL audit log by default. but if we configure SQL 2008 to write its log to windows security event log, ACS could collect these logs and produce reports, right? Do we need any customiz
-
When I open iPhoto I have a lot of pictures that are missing, deleted by accident. Now when in iPhoto, i receive the following message, "The volume for "Christmas 2005-12.JPG" cannot be found." I can cancel but the next photo comes up missing and I
-
Focus points not showing for Nex 7 images in Aperture.
Whilst it's good that Aperture now supports my Nex 7, I've noticed that focus points don't show and the option in the metadata tab isn't even there with my Nex photos. It's still available for other cameras though. Anyone else with the same problem