Modification in Tcode f.19
Hi Experts,
I am doing modification on f.19 ( just to add vendor name ).
Note: I have copied the entire program and doing it in zprogram with out disturbing the original
Please advice.
Thanks
Karthik
1..
* narrow table, because it may be a lot of items
DATA: BEGIN OF list_item OCCURS 100,
bukrs LIKE bseg-bukrs,
hkont LIKE bsis-hkont,
ebeln LIKE bseg-ebeln,
* Log 001
ernam LIKE ekko-ernam,
* Log 001
ebelp LIKE bseg-ebelp,
ktosl LIKE t030u-ktosl, "used for posting
* hier kommen die Belege
waers LIKE ekko-waers, "bestellwaerhugn
blart LIKE bkpf-blart,
belnr LIKE bseg-belnr,
* Log 001
usnam LIKE bkpf-usnam,
* Log 001
buzei LIKE bseg-buzei,
wrbtr(12) TYPE p,
dmbtr(12) TYPE p,
mwsts(12) TYPE p,
mwskz LIKE bseg-mwskz,
gjahr LIKE bkpf-gjahr,
vbund LIKE lfa1-vbund,
lifnr LIKE bseg-lifnr,
* Log 001
name1 LIKE lfa1-name1,
* Log 001
akont LIKE lfb1-akont,
budat LIKE bkpf-budat,
gsber LIKE bseg-gsber.
* variabler teil
* INCLUDE STRUCTURE RFSBEW_INCL.
INCLUDE STRUCTURE sl_incl.
DATA:
hwaer LIKE tcurd-hwaer,
dmbe2(12) TYPE p,
hwae2 LIKE x001-hwae2,
dmbe3(12) TYPE p,
hwae3 LIKE x001-hwae3,
selkey LIKE sy-tabix,
END OF list_item.
2..
END-OF-SELECTION.
* perform log_time using text-004.
IF p_aqtax = 'X'.
PERFORM aqtax00.
ENDIF.
PERFORM gr_ir_main.
* Log 001
PERFORM fetch_reqd.
* Log 001
PERFORM posting.
* perform log_time using text-005.
PERFORM schedman_start_stop USING 'STOP'.
PERFORM liste.
* perform log_time using 'LISTE'.
SET PF-STATUS ' '.
3..
*& Form FETCH_REQD
* text
* --> p1 text
* <-- p2 text
FORM fetch_reqd .
SORT list_item BY ebeln.
LOOP AT list_item.
ON CHANGE OF list_item-ebeln.
SELECT SINGLE * FROM ekko WHERE ebeln = list_item-ebeln.
IF sy-subrc EQ 0.
list_item-ernam = ekko-ernam.
ENDIF.
SELECT SINGLE * FROM lfa1 WHERE lifnr = list_item-lifnr.
IF sy-subrc EQ 0.
list_item-name1 = lfa1-name1.
ENDIF.
ENDON.
list_item-ernam = ekko-ernam.
list_item-name1 = lfa1-name1.
SELECT SINGLE * FROM bkpf WHERE bukrs = list_item-bukrs
AND belnr = list_item-belnr
AND gjahr = list_item-gjahr.
IF sy-subrc EQ 0.
list_item-usnam = bkpf-usnam.
ENDIF.
MODIFY list_item.
ENDLOOP.
ENDFORM. " FETCH_REQD
Similar Messages
-
Modification in TCode S_ALR_87012082 !!
Hiii All,
We need to add a one more field on selection screen in standard program i.e. Business Place(BUPLA) .
Program Name - RFKSLD00.
What should we do for the same, Please suggest feasiblity...!!
Regards,
Nitin GargHi Nitin
I have seen some threads with the same query.I tried to add the same selection but it is not added.I will suggest you go a for a custom one.
Regards,
Madhu. -
Deletion of Purchase requisition thru tcode MEMASSRQ
Hi experts,
In table MASSFLDLST I have done the following modification thru tcode sm30
Create : -
object type = BUS2105
Table name = EBAN
field name = LOEKZ
The field LOEKZ is now appearing in the tcode MEMASSRQ. But when we execute it, the square box for selecting mass PRs is not appearing.
Please clarify.
Regards,
( Rajneesh Gulati )Hello Pankaj,
In status tab deletion indicator is not shown. In fact it is not shown on the Line item as well.
For closing PRs as suggested by you, I have configured field EBAKZ in table MassfldLST. But still it is not showing in the tcode MEMASSRQ.
Please suggest.
Regards,
( Rajneesh Gulati ) -
Hi,
I have these doubts in MM and FI integration
a) the relation between valuation class, movement type and transaction key in automatic postings of MM in FI
b) What are CNS and valuation string, Accout modif in tcode OMWN and how these are related to FI ?
RadhaHi,
MM-FI integration details infirmation available this below links
kindly refer i think its helpful to you
Hi
see the below link for FI - MM configs.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
http://www.erpgenie.com/publications/mmwm.htm
Hope this helps you
Prem -
Possibilty of Version Management for Tasklist
I know we can track the Task list modification using TCode IA21 ( Tasklist change Document report).
Can we have Task list version management in SAP EAM just like MIC?
ThanksHello
Just for information, if you are on ECC6 EHP4 you can activate LOG_EAM_CI_3 in SWF5 to have the action log (like on order) and see the modification on task list
serge -
Mandatory/Optional field configuration for PD infotypes
Hi,
I need to make the country, city & postal code fields on infotype 1028 (address) as optional.
These fields show up with Module Pool: MP102800 and Screen # 2300.
However, I cannot find the way to go in to change this configuration.
Does anyone know the screen modifications path/tcode for PD objects?
Any leads would help.
Thanks.
Shivani.Hi Shivani,
Trying to maintain a PD object using detail maintenance (transaction code PP01). You will get an error message saying u201Cu2026 cannot be maintained via u2026u201D.
It is probable that the checkbox u201Cno maintenanceu201D has been ticked on table T77CD. Uncheck the tick. This table is specific to each infotype and each object type within the infotype.
As an example, you may wish to modify qualifications in PP01. Double click on IT 1000 and then look at the entry for Q.
Also look at table T777I. This holds details such as the no maintenance flag at the infotype level. So if IT 1000 is in this table with "no maintenance" ticked then this will apply to all objects on IT 1000.
Reply back if this is the ans you are looking for and tell if it works
Regards
Pallavi -
Movement 352 with BAPI_GOODSMVT_CREATE
Hi,
How to do 352 for material document number.
I cannot use ''BAPI_GOODSMVT_CANCEL', since the reason for cancellation is mandatory.
So, I tried 'BAPI_GOODSMVT_CREATE' with - XSTOB = '2' in the GOODSMVT_ITEM table and commenting move_type.
ls_header-pstng_date = sy-datum.
ls_header-doc_date = sy-datum.
ls_header-REF_DOC_NO = ls_ztmm002-mblnr.
ls_code-gm_code = '06'.
ls_item-plant = ls_ztmm002-reswk.
ls_item-stge_loc = ls_ztmm002-reslo.
ls_item-move_reas = 0001.
ls_item-move_type = '351'.
ls_item-mvt_ind = ' '.
ls_item-stck_type = ' '.
ls_item-entry_qnt = ls_ztmm002-twqty.
ls_item-entry_uom = ls_mseg_bapi-meins.
ls_item-po_number = ls_ztmm002-ebeln.
ls_item-po_item = ls_mseg_bapi-ebelp.
ls_item-xstob = '2'.
ls_item-matdoc_tr_cancel = ls_ztmm002-mblnr.
ls_item-matitem_tr_cancel = 0001.
ls_item-matyear_tr_cancel = ls_ztmm002-mjahr.
APPEND ls_item TO lt_item.
call function 'BAPI_GOODSMVT_CREATE'
exporting goodsmvt_header = ls_header
goodsmvt_code = ls_code
TESTRUN = 'X'
importing materialdocument = lv_matdoc
matdocumentyear = lv_matyr
tables goodsmvt_item = lt_item
return = lt_return.
But, it gives out the error - 'Check table T156N: entry ST does not exist'. I went to table - T156N and found
Function Code - ST, BWART = 351 & BWART_NEXT = 352 & XSTOR = '2'... do exist! .
Any information.
Thanks In Advance.
Regards,
SunojHi
Have you seen Note 407265 - Transfer parameter with BAPI BAPI_GOODSMVT_CANCEL? In the other hand, see Note 491921 - OMJJ Customizing change for Movement type and check if there are any modification in tcode OMJJ for this movements.
I hope this helps you
Regards
Eduardo -
Another modif tcode clearing open item from MM without use F-51
all Guru ,
Please help. Is there any way for another new modif tcode clearing open item from MM without use F-51. So i can use copy transparent from main table MM, for item like plant, vendor, material,price, oty, plus add new field for calculation method in order to post this result formula through FI posting without F-51 but also can clear open item dan clearing line item ? or only can clear open item ? ...it's oke. For line item can be done maybe can be run with F-03 ir F13E
I am trying to observe table BSIK (open item) and relation with BSAK(clear item)...is it right way ?
Case :
i want to clear open item for GL account inv.of.promises from transaction MM, with jurnal :
inv.of prom (Db)
Inventory (Cr)
Then this inv.of prom must be calculated again with raise price. And then this cummulate in the of month.
After that we want to clear with posting FI by searching any open item for that GL with jurnal :
Other receiv.(Db)
Accrued exp (Db)
Inv.of.prom (Cr)Hi PK,
1. Should we maintain OIM for all Excise G/Ls (BED, ECess, SHECess)?
- Please DO NOT maintain OIM on BED, ECESS and HECESS, only to be maintained for Cenvat Clearing Account. Also note that clearing of Cenvat Clearing is not easy, as in standard SAP, the assignment field is not updated with the same information for the Dr. and cr. line items of Cenvat Clearing Account. You need to use an exit in Substitution for it to populate the P.O. no. and line item at the time of MIRO.
2. How to clear the BED Excise GLs which is with OIM in our system, it is thru F.13 only?
You can use F.13 only if the entries are matching not otherwise, else clear all of them manually if you have good control of your account balances.
3. Can we activate or deactivate OIM any point of time, I mean can it be activated in case the G/L balance amount is not ZERO?
OIM activation for a GL - Refer Note No.1356457.
OIM Deactivation : You can deactivate OIM after making the balance Zero on that Account and by changing the Message No. FH 190 to warning in OBA5.
4. What is the use of T Code J2IUN, I have gone thru the SDN links, but I am not able to execute the screen. What parameter should we select while executing J2IUN, when we use Pay cenvat from ser tax cr and Pay ser tax from cenvat cr.
J2IUN is to utllize Excise Duty. The liability of Excise duty is utilized from Excise balances of BED, PLA , Service tax etc.. as per business requirements.
Hope this helps you.
Regards,
SAPFICO -
Modification of the Work Order Program TCode IW31
I need to do a modification to the work order program. Tcode IW31
When creating a work order with reference to an old work order, we want to clear any PRT data that might be in any item of the operations tab of the old order.
My question is: Which method should I use to get this change done?
I looked at the badi = IWO1_ORDER_BADI --> the method REFERENCE_ORDER_CHK, but I do not think this is the right one.
Please help me...
Thanks.
Regards,
Francisco.
Message was edited by:
Francisco AlonzoTo check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.
Double click on method GET_INSTANCE, put a break point on case statement.
Execute your transaction and look for variable EXIT_NAME at your scenario then It will show the available badi's.
Reward if it is useful.
Thanks,
Srinivas -
How to know if iam in tcode creation or modif inside abap prog ?
hello ,
i want to know if there is any things that can help me to know if iam in tcode of creation (ME21N) o modification (ME22N/ME23N) for PO, without using sy-tcode inside a program of smartforms edition.
thanks ,
karim>
karim sefiani sefiani wrote:
> hello ,
>
> i want to know if there is any things that can help me to know if iam in tcode of creation (ME21N) o modification (ME22N/ME23N) for PO, without using sy-tcode inside a program of smartforms edition.
>
> thanks ,
> karim
Please check the value of the variable T180-TRTYP
T180-TRTYP = H - Create - ME21N
T180-TRTYP = V - Change - ME22N
generally 'A' in case of display transactions, however the table T180 shows the value 'V' in case of ME23N also, kindly check -
Tcode SPAU Objects in the Without Modification Assistant
Hey guys,
I´m working with tcode SPAU, i have some objects with red traffic light, i checked and i can see the active objects, do you know me what can i do for disapear de red light?Dear Edson,
if it is possible you can reset the object to the standard; in other hands you can manipulate it working using standard transaction (ex se38 for report). In this mode you can solve the custom modification and after this in SPAU transaction you can see it with correct traffic light.
Regards,
Gianluca -
I have been asked to modify tcode VA25. We want to add Material# and Job name (Name2 field) to the selection criteria. I have never even looked at SAP code let alone made a modification. I copied program SAPMV75A to a z-program (ZSAPMV75A) but now I don't know how to continue; there are so many includes and the documentation inside the code is in German. Can somebody let me know what Modules, Subroutines, Includes, etc... I need to be concerned about? Any help you can give me is much appreciated!
Thanks,
AaronHello,
Material Number you have already there on screen - i dont no why do u want that again in selection. I dont suggest to copy into Z and do changes. May be you simply add job name in selection and try to find userexit to filter data based on job name. So that would easily solve your problem. I try to find userexit none is avialable at this movement but i found one badi - BADI_CUST_HIER. try to put break in that badi and there try to filter list based on job name. This is more standard way of solving, Let me know if u want more clarification on my suggestion.
*********Poorna********** -
Modification in accounting view of mm01 tcode
Hi Experts,
My Requirement is when i am using mm01 tcode in that i used accounting view for creation, i gave all required fields in that view but value for field VALUATION CLASS ( BKLAS ) is assigned by default as i filled all required fields but i dont want that field to be filled when i create material document number but it is asking value for field bklas up on processing . how can i create material doc number without assigning VALUATION CLASS ( bklas ) field value in that view.
Thanks for all.Hi ,
ask your functional consultant to make that field as an optional field ,those settings can be found in MM config.
regards
Prabhu -
Modification of values of variant through program for tcode CJB1
hi,
How can we modify variant values for the variant created in TCODE CJB1 and also how to get the variant name saved for tcode CJB1 ? is there any FM available or any sample code for getting/changing the above senario.
many thanks in advance
bobbycheck these fm's
RS_ALL_VARIANTS_4_1_REPORT All Variants for a Report
RS_CHANGE_CREATED_VARIANT
RS_CREATE_VARIANT Creating a variant (not using a selection screen)
RS_GET_SCREENS_4_1_VARIANT All screens assigned to a variant
RS_RWSET_CREATE_VARIANT
RS_RWSET_SAVE_VARIANT
RS_VARIANT_ADD
RS_VARIANT_ADMIN_DATA
RS_VARIANT_ATTR_SAVE
RS_VARIANT_CATALOG Returns variant directory for a report in an internal table
RS_VARIANT_CAT_PRINT
RS_VARIANT_CHANGE Change Variant
RS_VARIANT_CHECK_TSTC Checks entries in report transaction maintenance
RS_VARIANT_CLIENTCOPY Function Module for Client Copy
RS_VARIANT_CONTENTS
RS_VARIANT_CONVERT_TO_DYNAMIC
RS_VARIANT_COPY Copy variant
RS_VARIANT_DELETE Delete Variant (In Current Client or All Clients)
RS_VARIANT_DEL_ALL_CLIENTS
RS_VARIANT_DISPLAY
RS_VARIANT_DISPLAY_FROM_SELSCR
RS_VARIANT_DISPLAY_SUBSCREENS
RS_VARIANT_EXISTS Checks whether variant exists
RS_VARIANT_FETCH -
Regarding modification in va01/vao2/va03 tcode
as per we can configure the screen of mm01,mm02,mm03 in spro by modifying the datascreen and assining the data screen to mm01/mm02/mm03.teis requirement i executed. but now i need to modify th screen of va01/va02/va03 with specific order type.in the screen i have to include some fields which i used to call from zee table and when ever the data modification is done these table should get updated.
it is not possible through any kind of exits and badi implementation.
even it may be possible through badi implementation.but i dont know the procedure and steps to follow how to implement this senario.ie. the screen related to one perticular order type like zso in va01/va02/va03
as i request the requirement is very urgent so suggest me as early as possible.
thanx with warm regards,,,,,
hareesh tadepalliHi
Modifications to almost all the STD t codes are generally done with BADi's
Try finding relevent BADI with below step by step process
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
Mark if helpful
Regs,
Tushar Mundlik
Maybe you are looking for
-
I recently purchased a new Iphone 5c and gave my 4s to my husband to use. However an old email address of mine keeps popping up that no longer exists and I don't know what the password was and I cannot restore the 4s to factory settings. Is there a
-
How can you remove your e-mail on your profile? (Apple Support)
How can you remove your e-mail on your profile? (Apple Support)
-
Where do we put Validations in Internet Sales Application
Where do we put validation on user input data in ISA. like in Actions,BO,BE.Please tell where exactly we do it. I need to compare Sold to Party with Ship to Party and Bill to Party.Any idea how i can do it.
-
Prime LMS 1.2 NMS Server is stop and GUI can not access
Anyone Knowles about Thio problem? I attach the screenshoot Dwi Sent from Cisco Technical Support iPad App
-
Updater has encountered a problem and needs to close
persistent error flag every day. How do i fix this?