Idoc Modification in outbound WBBDLD04
Dear all,
I need to modify the outbound IDOC WBBDLD04 ( one user field has to be added and need to map to ztable ).
Is it Possible ? if yes Pls explain How?
Shanmugam
Hi Shanmugham,
You have to extend the IDOC. Use Transaction WE30. Also, go thro' these links for more info:-
http://help.sap.com/saphelp_470/helpdata/EN/dc/6b7d6243d711d1893e0000e8323c4f/content.htm
http://sap.ittoolbox.com/documents/document.asp?i=2358
I hope this provides you a solution.
Regards.
Praveen
Similar Messages
-
Need IDOC inbound and outbound programs
hi,
i am new to xi.
i want IDOCs , inbound and outbound / function module programs for PURCHASE ORDER
and GOODS RECEIPT.
ex: BD10 for material master (matmas01).
thanks and regards
v ijenderfor purchase order.
ORDERS / ORDERS04
ORDCHG / ORDERS04
ORDRSP / ORDERS04
Programs
RBDMIDOC Creating IDoc Type from Change Pointers
RSEOUT00 Process all selected IDocs (EDI)
RBDAPP01 - Inbound Processing of IDocs Ready for Transfer
RSARFCEX - Execute Calls Not Yet Executed
RBDMOIND - Status Conversion with Successful tRFC Execution
RBDMANIN - Start error handling for non-posted IDocs
RBDSTATE - Send Audit Confirmations
FOr testing you can use WE19.
and also check the below link
http://www.erpgenie.com/sapedi/message_types_masterdata.htm
regards
kummari -
Idoc sales order outbound issue
Hi,
i am new to IDOC's.I am generating IDOC for sales outbound process(standard).Few of the partners are created..now i need to get all the zpartner profiles for the sales order.
For this i am using EXIT_SAPLVEDC_002 user exit.I am trying to debug through program SD70AV1A,but output(debugger) is not getting stoped.
Please help me by giving valuable answers or sample codes.
Thanks in advance.thanks gordan,
but when i check the INCLUDE LVEDCF0F.
686 line LOOP AT xvbpa WHERE vbeln = xvbak-vbeln
AND posnr = '000000'.
SELECT SINGLE * FROM edpvw WHERE parvw = xvbpa-parvw.
IF sy-subrc = 0.
here for standard partner like AG WE e.tc idoc gets generatedwith segments but for customized segment it does not.
So i am looking for writing some code within EXIT_SAPLVEDC_002.
here problem is i xvbpa is clear.
so can u suggest how can i write logic for this.
sample code will be helpful.
thanks -
Please let me know How to handle IDOC inbound and Outbound preferably with example. I am new to it.
hi,
your question is very broad,
start reading continue from there...
<a href="http://help.sap.com/saphelp_46c/helpdata/en/19/3cf334c20ccc52e10000009b38f83b/frameset.htm">Doc Interface: EDI Application Scenarios (BC-SRV-EDI)</a>
<a href="http://help.sap.com/saphelp_46c/helpdata/en/dc/6b8a4943d711d1893e0000e8323c4f/frameset.htm">IDoc Interface / Electronic Data Interchange (BC-SRV-EDI)</a>
An example:
inter company invoiceing:
the SD invoice has an output type (INVOICE01) that sends an Idoc that creates the mm invoice (invoice verification)
for more data see the links above
good luck -
IDOC no. for outbound JIT calls
Hi,
I need to extract idoc number for all outbound jit calls that I can view in Outbound JIT call monitor.Can anyone please tell me that which table is used to store the generated idoc no. for a particular call/component group in a call.
Thanks,
GauriHello,
There is one transaction code BDM2 which is the link between the INBOUND IDOC and the OUTBOUND IDOC
I never used this transaction, but try
OR as an alternative
There is a Function module SREL_GET_NEXT_NEIGHBOR
Goto the Transaction code SE37 and give this FM
OBJECT-OBJKEY = <IDoc number, 16-digits>
OBJECT-OBJTYPE = 'IDOC'
MAX_HOPS = '99'
and execute
it will give the Outbound idocs for the inbound idocs
I hope this will solve your requirement.
regards,
santosh -
Hi,
I am trying to configure an outbound IDOC for GI/ GR. I was told to use WMMBID02 for this, but it uses FM L_IDOC_INPUT_WMMBXY.
Has anyone tried to use IDOC WMMBID02 for outbound? I want to use this for a particular GI with Material Document as a parameter.
Thanks.
KennyHi Ferry,
Thanks for the reply.
I cant seem to make this test program work. I just put the Mat Doc Num and the Year then ticked direct processing. It then shows "Check your entries".
Please help.
Thanks.
Kenny -
Problem with IDoc for an outbound delivery
Dear All,
I am facing a problem with the IDoc defined for an outbound delivery.
Scenario:
Implementation of a small enhancement for an IDoc (DESADV, DELVRY01) created for an outbound delivery (in VL02N).
What I did:
I implemented the EXIT_SAPLV56K_002 exit in the V56K0001 enhancement, activated in SMOD, assigned V56K0001 component in CMOD and acivated it. Then I put a breakpoint on the ZXTRKU02 include. For me everything in SMOD and CMOD looks OK.
I have also created a partner profile, port, outbound message config. (message DESADV, basic type DELVRY01, application V2, output message type LAVA, process code DELV. function module used for this process code is IDOC_OUTPUT_DELVRY).
What I can do:
I can issue an IDoc message, it looks ok and contains the standard data.
Problem:
It seems that the enhancement does not work. Finally I put there only one line of code to avoid a program bug and just to check . The system does not stop at the breakpoint (set on the ZXTRKU02 include in the EXIT_SAPLV56K_002 exit).
Am I using the proper exit? I appreciate any suggestions.
Thanks,
Grzegorz SkorusHello Grzegorz
Not an expert on this, but noone is responding so I thought let me try and help you. You seem to be doing the right things as mentioned in OSS note 1498409.
Firstly since this can be called form Shipment Idoc also, you may need to make a differentiation by the interface parameter 'MESSAGE_TYPE' or segment name. See the attached OSS note, though it belongs to older releases, it may help you.
Also help says 'The callup of this function module is programmed for each enhancement of the internal table for the IDoc (in other words, when you add an extra segment'. So may be you need to add an extra segment/field to make it work.
Futher the user exits are replaced by BADIs. May be you should use exit_badi_v56k.
Hope this helps and others will pitch in.
1498409 - Valuation Type unavailable when creating deliveries using IDOC
631913 - Exit after formatting delivery IDoc type DELVRY -
Creation of Inbound Idoc for the Outbound Idoc in same client
Hi,
My requirement:
Whenver an PO is created an Outbound IDOC is generated in system ABC with client 100.I want to pass this IDOC data to create an Inbound Idoc for Sales Order(SO) in the same client.
It would be helpful if anyone can answer on how to Transfer the Outbound Idoc after it crosses the port.
I found there is a field for function module in WE21,can this be used to get the requirement done.
Please suggest.
Regards,
AmarExample of a program that create and post an inbound idoc....maybe that will help you:
report zzinbound_idoc.
data: g_idoc_control_record like edi_dc40 occurs 0 with header line.
data: g_edidd like edi_dd40 occurs 0 with header line.
data: g_e1bpache09 like e1bpache09.
parameter: mode type c default 'A'.
refresh: g_idoc_control_record, g_edidd.
clear: g_idoc_control_record, g_edidd.
*-Build Control Record -*
g_idoc_control_record-mestyp = 'ACC_DOCUMENT'. "Message type
g_idoc_control_record-idoctyp = 'ACC_DOCUMENT03'. "IDOC type
g_idoc_control_record-direct = '2'. "Direction
* Receiver
case sy-sysid.
when 'DE2'.
g_idoc_control_record-rcvpor = 'SAPDE2'. "Port
g_idoc_control_record-rcvprn = 'IDOCLEGACY'. "Partner number
endcase.
g_idoc_control_record-rcvprt = 'LS'. "Partner type
g_idoc_control_record-rcvpfc = ''. "Partner function
* Sender
g_idoc_control_record-sndpor = 'A000000002'. "tRFC Port
case sy-sysid.
when 'DE2'.
g_idoc_control_record-sndprn = 'IDOCLEGACY'. "Partner number
endcase.
g_idoc_control_record-sndprt = 'LS'. "Partner type
g_idoc_control_record-sndpfc = ''. "Partner function
g_idoc_control_record-refmes = 'Customer clearing'.
append g_idoc_control_record.
*-Build Idoc Segments -*
*---E1KOMG
clear g_edidd.
clear g_e1bpache09.
g_edidd-segnam = 'E1BPACHE09'.
g_edidd-segnum = 1.
move g_e1bpache09 to g_edidd-sdata.
append g_edidd.
*-Create idoc -*
*-Syncronous
if mode = 'S'.
call function 'IDOC_INBOUND_SINGLE'
exporting
pi_idoc_control_rec_40 = g_idoc_control_record
* PI_DO_COMMIT = 'X'
* IMPORTING
* PE_IDOC_NUMBER =
* PE_ERROR_PRIOR_TO_APPLICATION =
tables
pt_idoc_data_records_40 = g_edidd
exceptions
idoc_not_saved = 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.
*-Asynchronus
else.
call function 'IDOC_INBOUND_ASYNCHRONOUS'
in background task as separate unit
tables
idoc_control_rec_40 = g_idoc_control_record
idoc_data_rec_40 = g_edidd.
commit work.
endif.
write: / 'Well done!'. -
Trying to send Idoc using Standard Outbound Processin option
Hi friends
i created a IDoc using the Link
SAP Menu->Tools->Bussiness Communiation-> IDoc Basis -> Test -> Test Tool
I selected an Idoc of Type MATMAS
and clicked Standard Outbound Processing , i gave the receiver port , Partner Type(LS) and Partner No. this port is basicall connecting to XI system , and my intention is to send an MATMAS Idoc to XI .
But once i click Standard Outbound Processing , it throws a dialog saying <b>" Idoc 00000000001900024 was saved but cannot or should not be sent"</b>
what might be the reason . kindly reply if you know how else do i send a MATMAS IDoc fro R/3 to XIHi,
have a look at this weblog first:
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
it shows how to post an idoc to XI
you need:
1. WE20 (for matmas) in your R3
2. rfc dest to XI from your r3 (SM59)
3. TCODE IDX1 in your XI with parnter number
also have a look at dosuments section
on the XI FAQ page (below)
for many idoc weblogs
https://websmp207.sap-ag.de/~sapdownload/011000358700001410142005E/Configure.pdf
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Hi.
I'm setting up a communication with (JMS adapter -> XI -> IDoc adapter).
No w to the problem. When we send the message with the IDoc adapter we get the following error.
Message has error status on outbd. side
We can see this message when I put my cursor over the red flag in the outbound status column in SXMB_MONI.
I do not think there's anything wrong with the adapter because we are using it to send an other IDoc and that IDoc gets processed correctly to the target system.
What can cause the error on the that I get above?
BR
KalleHi,
go to details of that transaction and check the error that caused idoc in outbound status failure...
an error tab can be seen in the outbound binding pipeline entry of that transaction and check the error caiused that
Rajesh -
XI generates own IDOC numbers in outbound IDOC
Hello, The scenario we have is R/3 --> XI --> 3'rd party (via IDOC rcvr adapter) AND then SYSTAT back from the 3'rd party to R/3 via XI.
Example: R/3 sends an IDOC with IDOC number 100. XI (by default) submits this IDOC to the 3'rd party system with IDOC number 200 (it's own internally generated number).
Accordingly, the 3'rd party responds back with a status IDOC, SYSTAT, containing IDOC 200 in the E1STATS ==>DOCNUM field.
This is now a problem since if XI submits the SYSTAT as received from the 3'rd party, it has 200 in the DOCNUM field and this fails in R/3 since there is no original IDOC with number 200.
This can be solved if XI is able to pass the original number 100 through to the 3'rd party system (since then when the 3'rd party responds it will send a SYSTAT with IDOCNUM as 100 back, which will setup correctly in R/3).
I have gone through the other pertinent posts and none of them have this specific problem / offer a solution. I'm hoping I have missed something as this seems to be a pretty basic requirement.
Thank you for the time.
Some additional details...
- 3'rd party is non SAP.
- In the IDOC rcvr adapter we have flags 'Apply Control Record Values from Payload', 'Take Sender from Payload' and 'Take Receiver from Payload' fields checked.
- We have not checked any flags in the Rcvr Agreement.
- We are not using BPM and do not have a way to correlate the inbound 200 with the original 100 that went out.Bhishma,
Just clarrification for you...when you said..
"R/3 sends an IDOC with IDOC number 100. XI (by default) submits this IDOC to the 3'rd party system with IDOC number 200 (it's own internally generated number)."
Here Idoc number 100 is outbound idoc from R/2 where as Idoc number 200 is inbound idoc...n they are totally different idocs..not same
I think there is work around...while mapping data from XI --> 3rd party assign / store outbound idoc in one of the unused field of inbound idoc...and while mapping back use this field to map it back...I think this will work.
Let us know the result.
Nilesh -
IDoc type for Outbound Delivery
Hi All,
Can someone please tell me the IDoc type and message type to be used for creating the outbound delivery for an incoming IDoc? Also, I would like to know the function module.
Regards,
RaghavHi,
Message type is DESADV
Basic type is DELVRY01 to 03 (can check the latest version or supported version)
Function module : BORES_IDOC_INPUT_DESADV1 or IDOC_INPUT_DESADV1
This is used for creating outbound deliveries, shipping noticfication etc.
Regards
vk -
IDOC Packaging on outbound side
Can we do IDOC packaging on Outboud side of IDOC Adapter ?
hi,
no, IDOC packaging is not possible on the outbound side
you can use collect patter to collect idocs and send them
in one call like I desribed in one weblog:
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
but this is not IDOC packaging (event driven)
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
FTP_R3_TO_SERVER and IDoc order confirmation outbound
Hi,
In my requirement, I am downloading a XML file to a FTP site when outbound order confirmation IDoc is triggered. I have coded this download in user exit (003) in IDOC_OUTPUT_ORDRSP(with all required FMs for FTP like HTTP_scramble,FTP connect, etc) .
When I execute RSNAST00 program, the XML file gets downloaded in to FTP site with out any issues. But when I save the order (having send immediately option for IDoc/output type), nothing is getting downloaded in FTP site - IDoc is fine.
I am not sure where it is going wrong while using send immediately option. I suspected the RFC destination. I used the code if sy-batch is initial use SAPFTP RFC destination else use SAPFTPA destination. This works perfectly when I execute RSNAST00 in foreground or in background. I tried making the RFC destination to point SAPFTPA always in suspicion that even though the order save happens in foreground, the IDoc send process might be happening in application layer which may need SAPFTPA RFC destination. But that also doesn't work in immediate processing option.
Pl let me know your suggestions.
Thanks,
KrishI didn't realize that a script is running to delete the files in that directory. Once I stop that script I could able to see the files in the FTP directory...Thanks, Krish
-
Sending And Receiving IDOC (Inbound or Outbound) from Oracle To R/3
Hi everyone,
I am still new in XI development and i'm still confused even I have collect many information from SDN. Sometimes, when you got a lot information, instead of helping it's confused you _
My specification like this :
- There is XI between Oracle System and R/3
- In my functional design, i have given information about message type and basic type from IDOC
- I have given information about what BAPI that must be used to process IDOC
Anyone know how me to handle inbound and outbound for this specification (step by step) from setting XI,IDOC and Processing Code ? Thank you
Best Regards,
SatriaHi everyone,
I am still new in XI development and i'm still confused even I have collect many information from SDN. Sometimes, when you got a lot information, instead of helping it's confused you _
My specification like this :
- There is XI between Oracle System and R/3
- In my functional design, i have given information about message type and basic type from IDOC
- I have given information about what BAPI that must be used to process IDOC
Anyone know how me to handle inbound and outbound for this specification (step by step) from setting XI,IDOC and Processing Code ? Thank you
Best Regards,
Satria
Maybe you are looking for
-
PS CS3 Wont open certain PSD anymore
I have been using some PSD files I got from a friend a couple months ago. Tonight was the first time I have not been able to open them in CS3. I get the message saying that the files couldn't be opened because of a program error. I tried resetting my
-
Hi people, I have a B2B scenario in which I send to the internet packets from 3 to 10MB using the soap adapter. The scenario is RFC (async) -> XI - BPM -> SOAP (sync). The soap adapter sends these messages at a max rate of 30 kB/s. Creating a java or
-
Printers for Mac OS X 10.6.7
I need a 4-in-one printer. Which one is compatible with snow leopard?
-
To get sum of balance_due
hi all i have this query with me SELECT rac.customer_number, rac.customer_name, su.LOCATION contract, SUBSTR (sa.NAME, 1, 2) bu, ra.purchase_order_date sub_date, ra.invoice_currency_code ccy,
-
What is this beach ball that keeps circling on mu screen
A couple of items: One my password won't allow me into my computer. I can only gain access by going thru guest then change user then the screen revolves to my admin screen. HELP the other item: what is this colorful beach ball that keeps runni