FM of BAPI for the transactions VV12 , VV22 and VV32
Hi All,
My requirement is to update the condition records for different output types using the transactions VV12,VV22 and VV32.
Is there any FM or BAPI to do that. I have searched but could not get any.
Hi Naga Bhusan,
Welcome to SDN.
try below userexsits
VCOM0001 - Fill Output Communication Areas - Application V6
VCOM0002 - Fill Output Communication Areas - Application E1
VCOM0003 - Fill Output Communication Areas - Application M1
VCOM0004 - Fill Output Communication Areas - Application V7
VN000001 - Customer exits in output determination
Thanks and Regards,
Syfulla
Similar Messages
-
Bapi for the transaction FBRA, FB08, FB01 anf FD02
hi,
can any one please help me with BAPI for the following transaction?
FBRA - reset cleared items
FB08 - reversal of the documents
FB01 - post documents
FD02 - change customer.
regards kritiHi
Copy the below program in se38 and execute the program and along with the transaction code you need to specify the program name to obtain the program name all you have to do is execute the t-code and go to system--> status and copy the program name from the screen and paste it in the above program.
tables : tstc,
tadir,
modsapt,
modact,
trdir,
tfdir,
enlfdir,
sxs_attrt ,
tstct.
data :
jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode,
p_pgmna like tstc-pgmna .
data wa_tadir type tadir.
start-of-selection.
if not p_tcode is initial.
select single * from tstc where tcode eq p_tcode.
elseif not p_pgmna is initial.
tstc-pgmna = p_pgmna.
endif.
if sy-subrc eq 0.
select single * from tadir
where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir
where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir
where pname = tstc-pgmna.
select single * from enlfdir
where funcname = tfdir-funcname.
select single * from tadir
where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object in ('SMOD', 'SXSD')
and devclass = v_devclass.
select single * from tstct
where sprsl eq sy-langu
and tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(105) sy-uline.
format color col_heading intensified on.
* sorting the internal table
sort jtab by object.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type c.
clear : wf_smod, wf_badi , wf_object2.
* get the total smod.
loop at jtab into wa_tadir.
at first.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Enhancement/ Business Add-in',
41 sy-vline ,
42 'Description',
105 sy-vline.
write:/(105) sy-uline.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
format color col_group intensified on.
write:/1 sy-vline,
2 wf_object2,
105 sy-vline.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
select single modtext into wf_txt
from modsapt
where sprsl = sy-langu
and name = wa_tadir-obj_name.
format color col_normal intensified off.
when 'SXSD'.
* for badis
wf_badi = wf_badi + 1 .
select single text into wf_txt
from sxs_attrt
where sprsl = sy-langu
and exit_name = wa_tadir-obj_name.
format color col_normal intensified on.
endcase.
write:/1 sy-vline,
2 wa_tadir-obj_name hotspot on,
41 sy-vline ,
42 wf_txt,
105 sy-vline.
at end of object.
write : /(105) sy-uline.
endat.
endloop.
write:/(105) sy-uline.
skip.
format color col_total intensified on.
write:/ 'No.of Exits:' , wf_smod.
write:/ 'No.of BADis:' , wf_badi.
else.
format color col_negative intensified on.
write:/(105) 'No userexits or BADis exist'.
endif.
else.
format color col_negative intensified on.
write:/(105) 'Transaction does not exist'.
endif.
at line-selection.
data : wf_object type tadir-object.
clear wf_object.
get cursor field field1.
check field1(8) eq 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
when 'SXSD'.
set parameter id 'EXN' field sy-lisel+1(20).
call transaction 'SE18' and skip first screen.
endcase.
Regards
Pavan -
BAPI for the transaction VCH1 and VCH2 (Batch Search strategy)
Hi Experts,
I need to create a new condition record or change a condition records using the transactions VCH1 and VCH2 respectively.
But BDC recording should not be used at any cost (acc to Client).
So next go for me is to search for a BAPI or any Function modules..
Can anyone please help me in this regard.....
Has anyone worked with this transactions before...
waiting for the replys
RajivHi Rajiv,
I have a similar requirement as yours. Could you please let me know if you found any function modules or bapi's to create batch search strategy.
Thanks in advance.
Manohar Dubbaka. -
BADI for the transaction s ME51n and ME52n
Hi friends,
Can i get the code and particular BADI ME51n where the conditions are
In the purchase requisition the field (EBAN- PREIS) valuation price is configured as required, and the value is adopted from the material master record field (MBEW-VERPR) moving price. This moving price may differ on the same material based on the assigned plant. For example:
Material Plant Moving Price
1234 1000 9.10
TA10 5.00
TA12 7.00
The plant field in the Purchase Requisition is mandatory except for document type RV. When this document type is assigned SAP doesnt know which moving price to apply and so the user is prompted to manually enter a value.
To ensure an appropriate value is entered SAP should apply the value from the material master record plant 1000 where the plant field in the RV Purchase Requisition field is blank.
Essentially the same scenario applies to the Purchasing Group. As with the plant, the Purcahsing Group should be copied from the plant 1000 material master record.
SAP should apply the value from the material master record plant 1000 where the plant in the RV Purchase Requisition (EBAN-WERKS) is blank:
EBAN- PREIS = MBEW-VERPR
EBAN-EKGRP = MARC-EKGRP
Charitahi charitha
i can help u out in getting the values to the fields mentioned irrespective of document type which u can do i think and i'm here with the piece of code as follows :
Go to se19 to implement badi and give the name say zxyz and give the definition name as me_process_req_cust and implement the method called process_item
and write the following code.
data : wa_item type mereq-item,
v_ekgrp type marc-ekgrp,
v_preis type mbew-verpr.
select single ekgrp
from marc
into (v_ekgrp)
where werks = '1000' and matnr = '100-100'.
select single verpr
from mbew
into (v_preis)
where matnr = '100-100'
and bwkey = '000'.
call method im_item->get_data
receiving
re_data = wa_item.
wa_item-ekgrp = v_ekgrp.
wa_item-preis = v_preis.
wa_item-waers = 'INR'.
if im_count = 1.
call method im_item->set_data
exporting
im_data = wa_item.
endif.
hope this code will help in passing the data to the tcode me51n and if any issues let me know.
reward point if helpful
sandhya -
BAPI replacement for the transaction VT02
Hi All,
We are doing upgrade from 4.6C to ECC 6.0 version where we need to replace existing BDC with BAPI or a function module.
In a program we are using BDC for the transaction VT02 to update the fields End date (VTTK-DATEN) and End time (VTTK-UATEN) for the given shipments. Please suggest a BAPI or Function module to replace the existing BDC for VT02 transaction.
The BAPI 'BAPI_SHIPMENT_CHANGE' is not released officially in ECC 6.0 version. Can we use it in ECC 6.0 version? If yes, please let me know how to call this BAPI with only these three fields(Shipment number-TKNUM, Shipment end date-DATEN and Shipment end time-UATEN).
Thanks in advance.
Regards,
Siva.hi,
try this...
SD_SHIPMENT_HEADERS_CHANGE_DIA
Prabhudas -
BAPI(s) for the Transaction Codes - FB60 & F-47
Hi,
I would like to know the BAPIs which can be used for the transactions FB60 & F-47. I have used the method BDC for data transferring, but I have heard that BAPIs are faster than BDCs. So I thought of testing BAPIs instead of BDCs. Please give me a clue.
Thanks,
Yohan.BAPI for FB60
Reward points.. -
BAPI for FRFT_B Transaction
Hi there,
I would like to know the BAPIs that can be used for the transactions FRFT_B ("Fast Entry with Repetitive Codes - Bank to Bank Transfer").
Does anybody know a BAPI for this transaction?
Thank you,
Janetehi,
To know the BAPI's for a particular transaction generally we follow the following steps.
1. Find out the package of the transaction.
Start FRFT_B go to system --> status.
Double click on transaction
Note Package name for that particular transaction.
Open this package in SE80
Open business engineering-->Business object types
Find the BO which sounds the most appropriate
But there are no Business Objects for FRFT_B transaction.
There is another method to find BAPIs
Start FRFT_B go to system-->status
Double click transaction FRFT_B
Double click on package
Read the application component. (this is FI-BL-PT Payment Transactions)
Then open the transaction BAPI
Financial Accounting-> Bank Accounting->Payment Request-> Start Payment
By this you can find the BAPI for a transaction.
Hope this would be helpful for you.
Regards,
Supriya.
Edited by: Supriya.ch on Jan 30, 2012 2:34 PM -
I have used following step to create project/WBS:
1.BAPI_PS_INITIALIZATION
2.BAPI_BUS2001_CREATE
3.BAPI_BUS2054_CREATE_MULTI
4.BAPI_BUS2001_SET_STATUS (To set the status at project level)
OR
BAPI_BUS2054_SET_STATUS (To set the status at WBS element level)
5.BAPI_PS_PRECOMMIT
but in PS our have custom field at WBS element level, these BAPI will create a project but won't update custom field.
how to resolve the problem?
thksHi !
Please have a look to the transaction BAPI .
The Bapis of the project-system described there do have completely other nemas the you've listed... i.e.
BAPI_PROJECTDEF_CREATE or BAPI_PROJECTDEF_UPDATE ....
There's a very good docu for the BAPIs in the transaction BAPI .
Regards
Rainer
Some points would be nive if that helped. -
What is exact BAPI for FB01 transaction......
Hi,
Currently i got requirement to upload transactional data into FB01 using BAPI. I used BAPI_acc_gl_posting_post but it applicable only for GLs, but i want to upload Vendors, Customers, assets, Materials.. Please tell me apropriate BAPI for the requirement. Its urgent.
Thanks in advance...........
Regards,
Chinna.Thanks Atish....
I have written code using BAPI_ACC_DOCUMENT_POST. But it is not posting and it is not generating Object Key...
Please go thru the code and tell the solutions....
Thanks in Advance......
REPORT zk_fi_fb01 .
Data: v_objkey(20) type c.
Data: Docheader type BAPIACHE09.
Data: ACCOUNTGL LIKE BAPIACGL09 occurs 0 with header line,
ACCOUNTRECEIVABLE like BAPIACAR09,
ACCOUNTPAYABLE like BAPIACAP09 occurs 0 with header line,
CURRENCYAMOUNT like BAPIACCR09 occurs 0 with header line,
RETURN like BAPIRET2 occurs 0.
Data: obj_typ like BAPIACHE09-OBJ_TYPE,
OBJ_KEY like BAPIACHE09-OBJ_KEY,
OBJ_SYS like BAPIACHE09-OBJ_SYS.
Data: gv_belnr type belnr_d.
Data:file_Na type String.
Data: lsys like TBDLS-LOGSYS.
*START OF SELECTION
START-OF-SELECTION.
*CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '19'
object = 'RF_BELEG' "'FIAA-BELNR'
QUANTITY = '1'
SUBOBJECT = '7777'
TOYEAR = '2007'
IGNORE_BUFFER = ' '
IMPORTING
NUMBER = gv_belnr
QUANTITY =
RETURNCODE =
*CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
OWN_LOGICAL_SYSTEM = lsys
EXCEPTIONS
OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1
OTHERS = 2
*IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
*concatenate gv_belnr '7777' '2007' into v_objkey.
*Filling Document Header Details
*Docheader-OBJ_TYPE = 'BEBD'.
*Docheader-OBJ_key = V_objkey.
*Docheader-OBJ_SYS = lsys.
*docheader-BUS_ACT = 'RFBU'.
Docheader-USERNAME = sy-uname.
Docheader-COMP_CODE = '7777'.
Docheader-DOC_DATE = '20070725'.
Docheader-PSTNG_DATE = '20070725'.
Docheader-FISC_YEAR = '2007'.
*DOCHEADER-OBJ_KEY_R = 'X'.
Docheader-DOC_TYPE = 'KR'.
*Item data for ACCOUNTGL
ACCOUNTGL-ITEMNO_ACC = '0000000001'.
ACCOUNTGL-GL_ACCOUNT = '0000000102'. "99900
ACCOUNTGL-DOC_TYPE = 'KR'.
ACCOUNTGL-COMP_CODE = '7777'.
ACCOUNTGL-FISC_YEAR = '2007'.
ACCOUNTGL-PSTNG_DATE = '20070725'.
ACCOUNTGL-DE_CRE_IND = 'S'.
append ACCOUNTGL.
ACCOUNTGL-ITEMNO_ACC = '0000000002'.
ACCOUNTGL-GL_ACCOUNT = '0000400002'. "99900
ACCOUNTGL-DOC_TYPE = 'KR'.
ACCOUNTGL-COMP_CODE = '7777'.
ACCOUNTGL-FISC_YEAR = '2007'.
ACCOUNTGL-PSTNG_DATE = '20070725'.
ACCOUNTGL-DE_CRE_IND = 'H'.
append ACCOUNTGL.
*Account payable
ACCOUNTPAYABLE-ITEMNO_ACC = '0000000001'.
ACCOUNTPAYABLE-GL_ACCOUNT = '0000000102'.
ACCOUNTPAYABLE-COMP_CODE = '7777'.
append ACCOUNTPAYABLE.
ACCOUNTPAYABLE-ITEMNO_ACC = '0000000002'.
ACCOUNTPAYABLE-GL_ACCOUNT = '0000400002'.
ACCOUNTPAYABLE-COMP_CODE = '7777'.
append ACCOUNTPAYABLE.
*Currency Amount
CURRENCYAMOUNT-ITEMNO_ACC = '0000000001'.
CURRENCYAMOUNT-CURRENCY_ISO = 'INR'.
MOVE 1000 TO CURRENCYAMOUNT-AMT_DOCCUR.
Append CURRENCYAMOUNT.
CURRENCYAMOUNT-ITEMNO_ACC = '0000000002'.
CURRENCYAMOUNT-CURRENCY_ISO = 'INR'.
MOVE '1000-' to CURRENCYAMOUNT-AMT_DOCCUR.
Append CURRENCYAMOUNT.
clear CURRENCYAMOUNT.
clear ACCOUNTGL.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = Docheader
CUSTOMERCPD =
CONTRACTHEADER =
IMPORTING
OBJ_TYPE = obj_typ
OBJ_KEY = obj_key
OBJ_SYS = obj_sys
tables
ACCOUNTGL = ACCOUNTGL
ACCOUNTRECEIVABLE =
ACCOUNTPAYABLE = ACCOUNTPAYABLE
ACCOUNTTAX =
currencyamount = CURRENCYAMOUNT
CRITERIA =
VALUEFIELD =
EXTENSION1 =
return = return.
if sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = ' '.
endif.
if sy-subrc = 0.
WRITE: / OBJ_KEY,
OBJ_TYP,
OBJ_SYS.
endif. -
Hi
What is the BAPI for the Tcode XK03
Regards
sabaHi All
Thanks .
In Xk03 transaction the screen field vendor has input help. If I choose vendor by material tab in input help and enter material id then i get vendor id automatically ...
I need BAPI for that..
In short I need BAPI that takes input material id and returns vendor details
Regards
Saba -
Hi!
Are there any bapis for the following transactions?
EA21
EL29
EA00
EA05
EA19
EA15
EA20
Thanks!
CristianHi Cristian,
I would recommend looking at the BAPI Explorer, transaction code BAPI and looking at the available BAPIs for IS-U.
Best Regards,
Trevor -
Error while running a BDC for the Transaction F-02
Hi,
I'm getting an error <b><i>"Parking not possible during Batch Input"</i></b> while running a BDC for the transaction F-02.
When i click on the error message it displays the message [b<i>]"In Customizing, you can control whether an error message is issued."</b></i>
How to solve this issue?.
Waiting for ur replies.........
Regards
N.SenthilHi,
When you are doing the recording in SHDB, and in the same screen where the TCODE to be recorded is given, there are options that you can choose called "Recording Parameters"...Select the checkbox which says "Not a Batch Input Session", this will set the sy-binpt variable to " "(in a recording by default it is "X")...and you will not get this error...
Also make sure while writing the BDC program to make use of the "bdc options" parameter which has this property to switch of sy-binpt...
Refer below theard for sample bdc code for f-02.
https://forums.sdn.sap.com/click.jspa?searchID=5126766&messageID=1538409
Regards -
Running BDC program in background for the transaction VL02N
Hi All,
I have coded a BDC program (call transaction method) for the transaction code VL02N. I can able to run the program manually & successfully. But if I execute the program in background(SM36), it is going to dump giving CNTL_ERROR.
Note: I am not using any of the GUI_UPLOAD, GUI_DOWNLOAD funciton modules in the program. But I am using the FTP command funtion modules like( FTP_COMMAND, FTP_CONNECT, FTP_DISCONNECT and FTP_SERVER_TO_R/3).
<removed_by_moderator>
Thanks in advance.
Ramesh.
Edited by: Julius Bussche on Jul 8, 2008 5:55 PMVL02N is an enjoy transaction. You cant run it in background. Please try VL02.
Thanks
Romit -
Err in PO creation-Sales document item is not defined for the transaction
Hi,
I am getting the following error while creating PO
"Sales document item 30000183 000100 is not defined for the transaction
Message no. V1 198
Diagnosis
You have tried to carry out a business transaction for this sales and distribution document item which, for this item, is not allowed.
This may be due to the fact that this item is not part of a make-to-order production with cost management in the sales order."
I have used an item category which is copy of TAB and the sales order line item is attached to WBS element.
can any one guide me what needs to be done.
thanksIf you want the sales order creation to initiate a PO creation automatically, check if the "Create PO Automatically" button is ticked on for the item category in Transaction flow tab in tcode VOV7
This will solve your problem, provided your configuration for PO on the MM side is fine.
Reward if this helps. -
Finding output type and form for the transaction
hi all,
i have a problem finding output type and form for the transaction j1iv .actually i need to find the standard output type and form name for the transaction j1iv. how can we do it.Hi Abinash,
Go through the following steps.
1 . Go to the transaction <b>NACE.</b>
2. You will be able to see the <b>Application and description</b> tab over
there. Select the Application for which you need the output type.
3. After selecting the Application..on the top you can see the tab--
output types...click in that..here you will be able to see all the <b>output
types for that application.</b>
4. Now select a output type ..and on the left side u will be able to see
the tab for processing routines...double click on it...
5. Here you will be able to see the standard SAP program...the form
routine...the form..attached to it..
Please Reward..if helpful..
Regards,
Himanshu.
Maybe you are looking for
-
Integrating WebSphere Portal Server with Sun Java System Access Manager
Hi All, Is it possible to Integrate WebSphere Portal Server with Sun java System Access Manager?. If so plz send me any doc or web site link for the same. Thanks in Advance Rgds, Lessly J
-
When will the online guide and the TV media guide start listing what games are on the MLB Extra Innings channels. I want to DVR some games but the guides don't tell you what games are on. Also will they have the channel like Direct Tv has that shows
-
InputText and secret="true": do not display stars
Hi, I use ADF ea15. I have two af:inputText. One is secret, the other not. I use component binding for both (CoreInputText objects) because I need to disable these fields on some conditions. When I select an entry in a SelectOneListbox on the same pa
-
Toshiba Satellite L875d-s7230 Running Slow
I have a Toshiba Satellite L875d-s7230 that is running very slow. I completely recovered it back to the Factory out of Box state and its still extemely slow. I have checked the memory using Memtest and checked the Hard Drive and there are no hardwa
-
High, I have some problems with sending conditions to the other systems. I have to send the condition which is relevant for only one customer. I have tabel with SO/DC/Customer (KUNNR) only. When I send the condition out via VK11 --> conrition info --