EXIT ou BADI para automaticamente inserir código no FCI NFe-Item (J1BDYLIN-NFCI)
Oi pessoal
Peço desculpa pelo meu Português criado com Google translator.
Eu estou trabalhando no problema e já estendido a FCI, a tabela MBEW para armazenar o campo NFCI para cada material.
Já implementaram a BADI CL_NFE_PRINT para gravar o arquivo de código XML FCI (J1BDYLIN-NFCI) para serem transmitidos.
Para terminar o trabalho que eu tenho que encontrar uma saída ou mente para definir o campo de J1BDYLIN-NFCI durante a criação da NFe
para completar todo o processo.
Alguém pode me ajudar?
Obrigado Claudio
Resolvido por mim usando o novo BADI J_1BNF_ADD_DATA.
Similar Messages
-
BADI para finalização do processo Monitor de NFe de Entrada
Boa tarde,
Alguém saberia me informar se há alguma BADI processada quando é executada uma das opções :
* Executar etapa do processo --> Verificar atividades manuais do ERP
* Outras Funções --> Finalizar NFe Manualmente ou Definir etapa processo manualmente para OK.
No monitor de recebimento de NFe de entradas (NF-e Centro de trabalho fiscal).
Obrigado.
Andre VilelaOi Andre.
Não existe nenhuma badi nessas etapas do processo de automação. O que você gostaria de fazer nessas etapas?
Lembre-se que você pode utilizar o processo FLEXPR01 para fazer automação via ABADI.
* mais informações no help:
http://help.sap.com/saphelp_nfe10/helpdata/en/19/ae6ea862144baeb6cdec21230e6eb9/content.htm
Abraço
Eduardo Chagas -
User Exit or Badi for AS01 at save.
Hello!
I need a user exit or badi to validate fields from ANLA and ANLZ tables in AS01 trasaction. This validation is before save.
I have already check this user exit with no success:
AAPM0001
Integración contabilidad activos fijos/mantenimiento
AFAR0003
Método externo de cambio
AFAR0004
Determinar valores proporcionales en una baja
AINT0004
Modificar importe de contabilización para determinadas áreas
AINT0005
No utilizar dummy debido a verificación sintaxis ampliada
AISA0001
Asignar número de inventario
AIST0001
Intercambiar rango núm.actualiz.datos maestros
AIST0002
Campos de usuario en el maestro de activos fijos
AMSP0002
Determinar tipo de relación entre dos sociedades
TRAN0001
Salida de usuario al transferir inmovilizados
Thanks in advance!
Sabrina.Hi Sabrina,
i am not sure about it as you have not explained about your exact requirement for validation in AS01, but please see transaction GGB0 , if you are able to make your validation here, because i don't think it will be possible through any user exits. -
User Exits or BADI for Tcode ME51N
Hi All,
My requirement is i need to check available quantity at the time of Purchase req creation. If PR quantity is available in stock then it should not allow to create new PR.
Is there any user exit or Badi for this requirement. Kindly send me.
Regards,
ParasHi Paras,
Copy this program and execute. Will get all list of existin g Exits and Badis.
very useful program
Below code will give a list of BADIs for particular transaction.
*& Report ZNEGI16 *
REPORT ZNEGI16 .
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.
Reward points if this helps.
hema. -
Custom exit or badi for changing the user fields in operation of process order
Hi all
I want to find a exit or badi to set default value to the user fields in operation of process order when COR1.
I have tried exit 'PPCO0001', but this exit is call after commit work, so I can not change any thing
I also tried to use badi 'workorder_update', 'before_update', but all parameters in this BADI are importing, can't be changed, I've tried to change it and then program dump.
Do you have any solution for this question?
ThanksDo a Implicit Enhancement at the PBO of this subscreen.
-
Need a Exit or BADI For Changing Validation Class (PRUEFKL) during EL28
need to change the Validation Class Validation Class (PRUEFKL) or send it blank in order to remove all valdition during Meter read uplaod , Can any one suggest a BADI or user exit or anything where in i can change the Validtion class before validation take place at the time of meter read uplaod . As validtion class we do not pass in EL28 it usually get filled with 001 ans 002 .
Thanks in advance .
regards
rajeevThank for the response however my question was , can we change the Validation Class throght code any exit or BADI during el28 not by config as config will be done for every thing as this we need to do only for a paticlular program .
So in short i m looking for any enhancement point ( Exit /BADI ) which willl trigger during el28 and i will be able to send emply validation class in initial stage to avoide validation .
Regards
Rajeev
Edited by: rajeevkohli on Aug 3, 2011 2:25 PM -
Exit or Badi to prevent MIGO Goods Receipt on PO with Inbound Delivery
Hi,
I am hoping that someone can provide me with some direction on how to prevent the use of MIGO for GR when the PO being received is (or should be) linked to an inbound delivery.
For purchase orders with a confirmation control key an inbound delivery is to be created and the goods receipt needs to be done from the inbound delivery. This scenario also includes the case of stock transport orders whereby an inbound delivery is created form the outbound delivery. On the other hand for purchase orders without a confirmation control key no inbound delivery is created and the MIGO transaction is to be used to post the goods receipt.
Since both processes are possible, I would like to prevent people from posting the GR using MIGO if certain conditions pre-exist.
Can anyone suggest a means to accomplish this goal? Is there an exit or badi in MIGO that you would suggest using?
Thanks,
PaulHi,
The following user eixts and badis available for migo transaction:
Enhancement/ Business Add-in Description
Enhancement
MB_CF001
Customer Function Exit in the Case of Updating a Art. Doc.
MBCF0011
Read from RESB and RKPF for print list in MB26
MBCF0010
Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0009
Filling the storage location field
MBCF0007
Customer function exit: Updating a reservation
MBCF0006
Customer function for WBS element
MBCF0005
Article document item for goods receipt/issue slip
MBCF0002
Customer function exit: Segment text in article doc. item
Business Add-in
MB_RESERVATION_BADI
MB21/MB22: Check and Complete Dialog Data
MB_QUAN_CHECK_BADI
BAdI: Item Data at Time of Quantity Check
MB_PHYSINV_INTERNAL
Connection: Core Inventory and Retail AddOn
MB_MIGO_ITEM_BADI
BAdI in MIGO for Changing Item Data
MB_MIGO_BADI
BAdI in MIGO for External Detail Subscreens
MB_DOC_BADI_INTERNAL
BAdIs when Creating an Article Document (SAP Internal)
MB_DOCUMENT_UPDATE
BADI when updating article document: MSEG and MKPF
MB_DOCUMENT_BADI
BAdIs when Creating an Article Document
MB_CIN_MM07MFB7_QTY
Proposal of quantity from Excise invoice in GR
MB_CIN_MM07MFB7
BAdI for India Version exit in include MM07MFB7
MB_CIN_LMBMBU04
posting of gr
MB_CHECK_LINE_BADI
BAdI: Check Line Before Copying to the Blocking Tables
ARC_MM_MATBEL_WRITE
Check Add-On-Specific Data for MM_MATBEL
ARC_MM_MATBEL_CHECK
Check Add-On-Specific Criteria for MM_MATBEL
If it is helpful rewards points
Regards
Pratap.M -
User Exit or BADI on saving of Sales order cost estimate (CK51N)
Hi,
Can any one share with me what are the User Exit or BADI that gets triggered on saving of Sales order cost estimate (CK51N).
Regards,
BijayHi
Check the link
Need Enhancement Spot or BADI for transaction ck51n
Regards
Sanil -
F110 - Automatic Payment (User Exit, BTE, BADI)
I have requirement after generating payment document by F110 automatic payment. I need to send data to other system.
How to get all payment documents? Can I use a BTE, User Exit or BADI? Kindly help me.Hi ,
You can create a DMEE or genrate Idoc to another system .
If you want to send excel file then you can create a dmee file in transaction DMEE with same formt provided by bank/ another system .
many Thanks -
Dear all,
In MB51 report, sale order value is not showing values even though it actually has.
What could be the reason?
If the answer is User-exits or BADI, can u suggest me the correct user-exit or BADI.
I have already tried the following user-exits by placing BREAK-POINT in the includes. But no where the execution is breaking.
MBCF0002 Customer function exit: Segment text in material doc. ite
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc
Plz give some suggestions.
Regards,
PremHi ,
U need to change the layout of MB51 in order to get the SO no.
goto MB51---> give some inputs ---> in the o/p screen ->click on the variant button-> on the pop screen u, top of it u will get 2 options
1.Header
2.Position
click Position Button ---> here u will get all Fields avail. for this Report O/P , so u can add SO field and save the variant.
regards
Prabhu -
How to find the user exits and BADIS from SPRO
Hi all,
please let us know how to find the User exits or BADIS for an application from SPRO.
Regards,
MadhaviHi Varisetty,
Finding user exits and BAdis from SPRO can be cumbsersome. In most instances you know the standard SAP program and want to check (find) an exit called in the flow of the transaction. You can do this as follows:
For User Exit:
Put "/h" in the command box (to start debugging)
Execute your transaction
When you enter debugging - put a breakpoint at statement
CALL CUSTOMER-FUNCTION
the control will stop at all calls to User Exits
For BAdi (it's simpler)
Go to class CL_EXITHANDLER in SE24
Enter method GET_INSTANCE
Put a breakpoint in this method
Run your standard transaction - control will stop at all BAdis called within the flow since this method is used to check BAdi implementations before invoking them
Also, if you want to find enhancements by package - go to SE80, enter the package and check function groups starting with X - those contain function exits (conventional user exits). For BAdis in a package, there is normally a separate tree node (under the package) for Enhancements hence clearly identifiable.
Cheers,
Adi -
EXIT or BADI to change FAX number in P O Messages at creation
Hi all
Looking for a user-exit or BADI to use to change the fax number of the PO Messages entry during creation/changing. Using SAPscript.
I am on SAP R/3 Enterprise 4.7.
Regards
BonifaceHi boniface,
You can use User exit : EXIT_SAPMM06E_012, in that there is a I_LFA1 structure and
field TELFX, change customer fax number here.
regards
kallam -
Need exit or Badi for updating Warranty data in IE02 while Prod Order conf.
Hi All,
I need a user exit or Badi for updating the Warranty data in IE02(Equipment Master) while production order confirmation(CO15)?
I need to update the Begin guarantee date from Production order and warranty master type in IE02 while confirming the production order.
Thanks,
SudhaHi,
Are you saying first create notification,then service order
and then Sales order.
But the requirement is create notification then sales order and when you go in va02 and while modifying the sales order and create service order.
Thanks & regards,
chetan. -
User Exit or BADI for Material,BOM,Customer,Vendor
Dear All,
I have requirement where if User A changes a Material X .It should go for approval by workflow.
When the Material X is waiting for approval no other User should be able to change the material .It should give him a message
and restrict him from changing the Material.
Is there any User Exit or BADI to restrict him from changing the material. The exit or BADI should be called as soon as the Material is entered in MM02.
I need exit or BADI for BOM, Vendor and Customer also.
Thank you.Hi,
You can go to Transaction SE80 and check in Function Group MATF. There have been two User Exits which are called during MM02 Transaction execution (via Analysis Transaction SE30) - MATERIAL_FIELD_SELECTION_NEW and MATERIAL_FIELD_SELECTION_COMB.
BAdI called by FM MATERIAL_FIELD_SELECTION_NEW.
Thanks and Regards,
Prabhakar Dharmala -
User exit or BADI for Tcode ME51N
Hi All,
My requirement is i need to check available quantity at the time of Purchase req creation. If PR quantity is available in stock then it should not allow to create new PR.
Is there any user exit or Badi for this requirement. Kindly send me.
Regards,
ParasHai,
User Exit: MEREQ001
Function exit EXIT_SAPLMEREQ_001
EXIT_SAPLMEREQ_002
EXIT_SAPLMEREQ_003
EXIT_SAPLMEREQ_004
EXIT_SAPLMEREQ_005
EXIT_SAPLMEREQ_006
EXIT_SAPLMEREQ_007
EXIT_SAPLMEREQ_008
EXIT_SAPLMEREQ_009
EXIT_SAPLMEREQ_010
Screen exit SAPLMEGUI
Include tables CI_EBANDB
CI_EBANMEM
Maybe you are looking for
-
To Replace or not to Replace, That is the Question
I am upset with my MacBook because I have various issues with it. 1) When my MB first came out of the box, I noticed the lid and screen were curved. This is not right because all of the MB's at the Apple store were not warped, and they are being hand
-
Creating a "ribbon" style menu with Muse?
Is it possible to do a scrolling thumbnail "ribbon" in Muse? I'm trying to achieve the effect of having a small window that has several thumbnails in it that the user can scroll through to change the target. If not, how do we get that as a requested
-
Connecting to a Windows computer using Remote desktop connection
I have connected a Windows 7 computer to my network using an ethernet cable to my Time Machine which is configured as an extension to my Airport network. My Mac sees the computer as shared, and I can connect to it using the name and password so I can
-
i have a main site i'm building in one area i have 12 buttons for each item. I want to set it up so that when you click each button one image and a title and some text loads from an external source. When i click on the next button i want it to change
-
[Flash Pro CS5/.5] Debugger Launch Failed
When I press Shift+Ctrl+Enter, I get this message: Happens with: Adobe Flash Professional CS5 and CS5.5 (I have both, happens with both)Happens with fresh installs of either - I haven't set any weird settings Actionscript 3 (any functional AS3 script