User Exits for posting delivery related FI/CO docs in another system
My company is currently running two SAP systems. System A takes sales orders and creates delivery documents. System B is the corporate financial system.
When delivery and goods issues are created in System A, we want to generate the associated FI and CO documents in System B real-time.
What is the best approach to implement this scenario? Should we call the Post Accounting Docs BAPIs in system B using some user exits in System A? Or should we expose those BAPIs as web services and make web service calls?
Hi Simon,
I think the best way is to create an IDoc in system A when the document is created (via User exit or something), and send it to system B.
There are some IDocs to receive this information, but you have to code the send of the IDoc (Create the IDoc and call FM MASTER_IDOC_DISTRIBUTE).
The IDocs to do that are:
ACC_GL_POSTING
ACC_BILLING
ACC_INVOICE_RECEIPT
Regards
PabloX
Similar Messages
-
User exit for updating delivery block of Sales order before Delivery
Hi Folks,
Need to have an user exit for updating Delivery Block indicator for a Sales order Before creating its delivery
I have got an exit in Program SAPMV45A
MV50AFZ1
FORM USEREXIT_REFRESH_DOCUMENT.
that hits before processing the delivery block fro delivery (Correct me if i m wrong with this )
Now i want now how to change the Delivery Block indicator of Sales order in that exit
any FM available ?
Thanks n regards
Sonal...Hi ,
How did you solved this issue?
I am having similar scenario in which while pressing the save button delivery block should update if multiple schedule line exist.
Tried by two different approaches in various user exit without any success.
AFAIK we have two ways to achieve this functionality.
1) Count the no of rows in vbep. If greater than 1 then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
This is not correct. If there are two line items both with single schedule line . This case total no lines in vbep will 2 and above condition will true which is incorrect.
2) There is a indicator for multiple schedule line (VBAPD-EPMEH , xvbap-epmeh ) if it is check then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
If I write code in USEREXIT_SAVE_DOCUMENT_PREPARE.
Multiple schedule line indicator is not populate so can not use 2nd approach.
If I write code in USEREXIT_SAVE_DOCUMENT it of no use as vbak is updated before reaching this user exit.
If I write code in USEREXIT_MOVE_FIELD_TO_VBAK as this user exit is also called while pressing the enter key for this I have use
the condition of fcode but it also fails in some condition.
If fcode eq 'SICH'.
Read table xvbap with key epmeh = 'X'.
IF SY-SUBRC = 0.
VBAK-LIFSK = '03'.
Else.
VBAK-LIFSK = ' '.
Endif.
Endif.
Please help me to get the desired functionality working for all cases.
1) One line item with multiple schedule line
2) Two line item with multiple schedule line
3) One line item having one schedule line and second one having multiple
4)Two line item both with single schedule line. -
User exit for post good receipt for tcode VL32n(inbound delivery)
HI,
I need a user exit which should get triggered when the user hit the button "post good receipt" under tcode VL32N. I appreciate your help.
Thanks,
SanjayHi,
Here is the list
Enhancement
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
V53W0001 User exits for creating picking waves
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53C0001 Rough workload calculation in time per item
V50S0001 User Exits for Delivery Processing
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50R0002 Collective processing for delivery creation
V50R0001 Collective processing for delivery creation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50PSTAT Delivery: Item Status Calculation
V02V0004 User Exit for Staging Area Determination (Item)
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0002 User exit for storage location determination
V02V0001 Sales area determination for stock transport order
Business Add-in
DELIVERY_ADDR_SAP Address Change in Delivery Processing
DELIVERY_PUBLISH Announcement of delivery data during database update
Shib -
BADI or User Exit for Post Goods Issue Reverse (VL09)
Hi,
Could you please let me know any BADI/User Exit which will trigger while doing Post Goods Issue Reverse through VL09 transaction.
Thanks,
SandeepHello,
If you can be specific about your requirement, then response can be better.
Still, check with following Exit:
- V50R0001 Collective processing for delivery creation
- V50R0002 Collective processing for delivery creation
- VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
- VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
- V50S0001 User Exits for Delivery Processing
Thanks & Regards
JP -
USER-EXIT for post goods issue
Hi all,
after the delivery (VL01n)is created, i have to go for post goods issue.there is a push button named 'post goods issue' in VL02n.
when i will press this button,all my data for this delivery ,should be downloaded to a text file.
for this thing, i want to use a USER-EXIT.can u plz advice me the correct & specific user-exit for this requirement.it is very urgent. i have to it by today.
your help is highly appreaciated.
Regards
pabitraCheck the following
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (h
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of stock for POs for shipping due date list
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
Regards -
User Exit for VA01 - Delivery Block
Dear Friends
I wanted to do a User Exit for VA01 which should set the Delivery Block = Credit Memo as default for a particular user.
Can anyone give me the solution.
REg
S.K.RajHi Kamaraj,
First of all u have to find out the perticular exit for make the changes, after that take one field TBTKZ which is flag for decit /credit memo. Based on the condition that flag set as 'X'. If that flag set as 'X' then populate the data.
Here it ishow to find out the user exit.
execute the following report and enter the t-code VA01 it will display all the exits. then search them by seeing coments..
report zuserexit no standard page heading.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : 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 obligatory.
select single * from tstc where tcode eq p_tcode.
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 = 'SMOD'
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:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
Hope this helps you..
Regards,
Kumar. -
User Exit for Updating Delivery Plant at Item Level in Sales Order
Hello Experts
There is a requirement to determine the delivery plant for each item level and than update the items with newly determined plant. There is a user exit MV45AFZZ routine FORM USEREXIT_MOVE_FIELD_TO_VBAP. to update the item level entries in Sales Order in VA01 or VA02. Is this the right place to do this?, if yes , do i need to perform any other standard logic (like re determine Shipping points , schedule lines ) for newly determined plant? If not , can you please suggest any other place , BADI or user exit to change the delivery plant of sales order.
Thanks a lot....
-HarkamalBest place is MV45AFZZ-USEREXIT_SAVE_DOCUMENT_PREPARE. Populates the values just before saving the document. You can have your own deriving logic. Make sure that peice of code is trigger only for Sales Order create or change (VA01/VA02).
Are you kidding??? You do realize that this is AFTER all validations against configuration, ATP, pricing, etc. have been performed??!!! Never, ever change a critical value like plant in the SAVE user exits... -
User Exit for Requested Delivery Date in Sales Order
Hi
Which user exit can be used to change Requested Delivery Date in Sales Order.
Scenario: Sales Document Type: OR has Lead Time: 7 days. System always proposes delivery date after 7 days. We need to change this Lead Time based on plant.
Thanks in advance for your support.
Regards
UmaHello,
try with USEREXIT_MOVE_FIELD_TO_VBEP or USEREXIT_SAVE_DOCUMENT_PREPARE, of program MV45AFZZ.
Hope to be useful.
Best regards,
Andrea -
User exit for requested delivery date at SO header
Hi Experts,
Trying to find a user exit which can be used to calculate the default requested delivery date in the order header based on the current date and the lead-time in the route.
By default, In SO header, requested delivery date is system date.
On based some conditions, i need to add lead time in current date and finally this date should be populated instead of current date in requested delivery date field .
The RDD( requested delivery date ) determination should happen only for some order types and for some sales organization & Distribution Channel.
Thanks,
satendra pateriaHi Ravi,
Thanks for input.
I neee one more favour on enhancement for automatically batch determination.
In SO item level, when one item is given and press Enter automatically Batch getting popualted.
I need to check Batch Expiry date and if it got expired then need to display a error message.
As of now i got one user exit EXIT_SAPMM07M_010.
And Batch validation should be happened only for some order types and some Sale Org + Distribution
channel.
Thanks,
satendra -
User exit for create delivery order
hi! expert.
i have a scenario when user B create delivery order (VL01N) then get DO No. I want to send this DO No. to user A 's mail.
when i look for user exit with this [program|http://wiki.sdn.sap.com/wiki/display/ABAP/FindEXITandBADIfroagivenTransactionCode] . i don't know which one I should use. please suggest me.
V02V0001
V02V0002
V02V0003
V02V0004
V50PSTAT
V50Q0001
V50R0001
V50R0002
V50R0004
V50S0001
V53C0001
V53C0002
V53W0001
VMDE0001
VMDE0002
VMDE0003
VMDE0004
my SAP version is 4.6
best regards,
KiitisakHi,
Any userexit asks the access key for first time.(Not the case with customer exits). So no probelm. Get the access key from your BASIS team and implement the exit. I wonder that MV50AFZ1 is not implemented yet in your system. Is your SAP system new?
This is the most busy exit (Locked by some one at any time) in most of the systems:)
Thanks,
Vinod. -
RA Settlement User Exit for Posting rules
Hi,
For settlement of RA data the postings rules are defined in OK8G and the same are used while running settlement CJ88 or CJ8G.
My question is do we have a user exit which kicks in at the time of settlement and could let us change the rules for a certain set of Projects?
OR if we could have a substitution rule in place that could kick in at the time of settlement and would pick up the rule based on a critria?
The reason for the above question is because we are trying to settle the Projects based on two selection critira:
a) Based on RA key i.e. for RA key A use posting rule "123" and for projects with RA key B use posting rules "456".
b) Based on the Work in Progress ( POCI and POCS) values we need to further decide if we need to change the posting rule or use exiting one.
If RA key = A
use rule "123"
else if WIP position < 0
use rule "123"
else use rule "456"
EndAnkush,
These are the routines for validation / substitutions where in you can write your own code. Check it in SE38.
Regards
Sreekanth -
User Exit For Tagging Delivery To A Manual Shipment
Hi All,
We have a process in which we are creating a shipment manually and then we are trying to tag a delivery manually to that shipment. The requirement is that it should give an error for a particular type of delivery.
Please let me know if there are any exits for that.
Thanks,
SharadenduYou should try to control it while transaction VA02 then. I think the user exit should be MV45AFZZ, u plz check in the list of user exits - SPRO-IMG- Sales and Distribution- System Modifications- User Exits and you will have all specific user exits used during various SD processes there.
And then u might want to issue a hard error when some one changes or tries to change the Delivery date- can use a message number according to the application(for ex if its sales then Message class is V1). And then get that message number and code included in the particular user exit.
Else u can have a screen variant defined for a specific users profile which will not allow any changes to the particular field. creta evariant using SHDO- select ur specific needs- assign this screen variant to the tarnsaction code may be VA02.
Regards
Sai -
Need User Exits for Creation of Delivery and for Posting Goods Issue
Hi,
I need User Exits for
Creation of Delivery
Posting Goods Issue
I need to make some checks regarding customer license expiration and if checks fail, I need to stop Creation of Delivery and Posting Goods Issue.
Thanks in advance,
Will reward,
MindaugasIn the delivery you can use userexit USEREXIT_SAVE_DOCUMENT_PREPARE to make your checks and send an error message to the user in case they fail.
You can find this user exit (form routine) in include MV50AFZ1.
Hope that helps,
Michael -
BADI/User Exit for custom table update from Delivery
Hi
Our requirement is to update a custom table with the delivery number and other related details when the picking status is changed to "C". Kindly suggest BADI/User exit for this requirement .
Thanks in Advance for your immediate help .Hi Joseph,
See SAP Note 415716 - User exits in delivery processing. It says when you have the document number available, what is permitted, what not, ....
I hope this helps you
Regards
Eduardo -
User exits for delivery picking confirmation and transfer order creation
Hi
We have a scenario for which we need help.
This is to do with replenishment from plant to plant.
We have sales sets.
The sales sets needs to be replenished from one plant to another. We want the componenets of the sales sets to picked from the issuing plant. For this we need a transfer order. this needs tobe confirmed and then the goods issue should take place from the issuing plant. Its a two step process.
we are doing Sales sets in STO. The explosion takes place in STO. However when we create deliveries for this. Only the sales set header item without its components are flowing into the delivery.
The Tranfer order does not contain the components either.
However post the goods issue we can create a TO with reference to the TR. This is is not acceptable because we want the picking and confirmation to occur before PGI from the issuing plant.
Could anybody help: We want the TO to be created with the components even though in the delivery only the Sales set header appears. Can u suggest a user exit in which when we create the TR from the delivery the components of the set.
After confirmation of the TO then we want the picking status to be put as C.
SupreethHi,
Check the following users exits.
MWMRFSSG user exit for sorting TOs in RF system-guided transaction
MWMRFUP Customer defined general purpose pushbutton called from scr.
MWMRP001 Cust. Exit for Fixed Bin Replenish.: Delivery Item Selection
MWMRP002 Cust. Exit for Fixed Bin Replenishment: TR Quantity Distr.
MWMRP003 Customer Exit for Replenishment using RLLNACH1
MWMRP004 User Exit for Replenishment using RLLNACH4
MWMTO001 Enhancements for end of transfer order generation
MWMTO010 Exit: Calculation of Total Planned TO Processing Time
MWMTO011 Correction of Planned Processing Time for TO Item
MWMTO012 Correction of Sorting and Split Transfer Order
MWMTO013 Stock Removal for Sev. Storage Types as in Stringent FIFO
MWMTOAU3 Separate selection of posting changes for autom.TO creation
MWMTR001 Exits at the end of transfer rqmnt creation (IM,PP interf.)
MWMD0001 Transfer order print via RLVSDR40
MWMD0002 Transfer order print as multiple process with RLKOMM40
MWMIDI07 Enhancement for Output WMPIHU (Create Pick-HU) Inbound
MWMIDO11 Enhancement for message WMTORD: TO with several items
MWMIDO12 Enhancement for Output WMPIHU (Pick-HUs) Outbound
MWMIDO13 Extension for WMMBXY (subsequent tasks after goods movement)
MWMPP001 Enhancement WM/PP Interface (automatic TR generation)
Regards,
Murali
Maybe you are looking for
-
Perguntas comuns após a atualizar para o novo Firefox
ESTOU COMPLETAMENTE INSATISFEITO E INDIGNADO COM A NOVA VERSÃO DO MOZILLA FIREFOX 29. COM A NOVA ALTERAÇÃO PARA A VERSÃO 29, TODA PARTE DA BARRAS DE NAVEGAÇÃO BEM COMO A BARRA DE ABAS FORAM COMPLETAMENTE MODIFICADAS E COM ISTO, EU TIVE QUE DESINSTALA
-
OBXZ - Can it be defined at Company Code level
Dear All, The account maintained in OBXZ is at chart of accounts level i.e. for multiple company code Is it possible to maintain it seperately for say one company code with a different account numbers ? If yes how... Thanks in advance... MS
-
Error when installing apps: Cannot connect to iTunes store
I have a 3G and i've been able to download and install apps through the app store via iPhone. Recently, the iTunes store on my computer gives the error "We could not complete your iTunes store request. An Unknown error occured (5002)" anytime i searc
-
DVD player won't work on OSX 10.9.1
When I loaded OS X 10.9.1, I am now unable to play videos on my MacBook Pro. Is there any updates so I can get it to work?
-
8.1.6 shipping date
Hi, When Oracle 8.1.6 with JDBC20 support will be availabe? Will it include JAccelerator? Regards, Vladimir null