Need help in IDOC generation !
I have to create an idoc when credit memo is generated...
please tell me the steps to do this...
I have the idoc outbound function module and the process code corresponding to it !
Ale is configured .
Hi,
I guess there is some confusion in the question.
Lets see how it works in both the cases.
1. Outbound IDOC:- This is usefull to send the IDOC out of the SAP.
Re: EDI IDOC's
2. Inbound IDOC:- Generaly your system process the incoming PO and create the Sales Order out of it. It means SAP process the Inbound IDOC to create the Sales Order. Now your Credit Memo it a Sales Order Type (CR).
Steps are as follows.
- Partner Profile (WE20): Create a Partner Profile with a Partner Type LS (Logical System). In the inbound parameters add ORDERS as a Message Type. Double click on that. Give Process Code as ORDE. Select the Processing Mode as Trigger Immediately.
So if you want to send the Sales Order out of SAP (Outbound IDOC) follow step 1 else if you wan to create a CR Memo (Inbound IDOC) follow step2.
Hope this will solve your question. Let me know if you still required any more information.
Thanks,
Mandar
Similar Messages
-
Plz , need help on IDOC mapping
Hi friends
I need help on mapping IDOC (invoic02) to a customer fields to be sent to a printhouse .
The idoc contains several Item lines , from 1 and up after for instance
The fields E1EDP01-MENGE and E1EDP26-BETRG could be repeated many times , the customer wants eah line item (quantity , price and subtotal ) in separate lines.
What is the best approach to do the mapping , and how can I loop in the idoc segments in order to get each line separetly.
Many thanks in advance.Hi
Thanks again , plz bear with me as i am new to this kind of assignment.
This is a part of my requirement, so i suppose that I have to create a Data type as node for the customer fields corresponding to the node in IDOC and just map the source node to the target node , and it will repeat it self as many times as there is line items in the sales order.
Customer fields Idoc fields.
segment E1EDP01
DETAIL_ANTAL E1EDP01-MENGE - LOOP
segment E1EDP26
DETAIL_STK_PRIS E1EDP26-BETRG - QUALIFIER = 001- LOOP
DETAIL_SUBTOTAL E1EDP26-BETRG - QUALIFIER = 003 LOOP
If I change the context of the source, will it not affect the source node at all.
best regrads. -
Hi All ! need help in idoc !
Can a idoc be posted succes fully with out writting the inbound code....
What i mean is can we get the gree signal in the we02....only by writting the outbound and ale configuaration (Dist model) ?HI,
We should write the function module than only we can the data.
Example function module .
Inbound IDoc Posting Function Module
In the receiving system, create a function module Z_IDOC_INPUT_ZRZSO_MT using SE37. Below, I have described the logic for the same.
Add Include MBDCONWF. This include contains predefined ALE constants.
Loop at EDIDC table
Check if the message type is ZRZORDER. Otherwise raise WRONG_FUNCTION_CALLED exception
Loop at EDIDD table
Append data from the segments to appropriate internal tables
For example: append data from ZRZSEG1 segment to the internal table of type ZCUSTOMERS
Update the DDic tables from internal tables
Depending on the result of the update, fill the IDoc status record (type BDIDOCSTAT) and append it to the corresponding table.
Status 53 => Success
Status 51 => Error
You can [3] download the sample ABAP code for the above function module here.
Inbound Settings
Define Logical Systems Transaction SALE (Please refer to Outbound Settings discussed in [4] previous part)
Assign Client to Logical System Transaction SALE (Please refer to Outbound Settings discussed in [5] previous part)
Maintain RFC Destinations Transaction SM59 (Please refer to Outbound Settings discussed in [6] previous part)
Define Ports Transaction WE21 (Please refer to Outbound Settings discussed in [7] previous part)
Generate/Create Partner Profile Transactions BD82/WE20 (Please refer to Outbound Settings discussed in [8] previous part)
Assign Function Module to Logical message Transaction WE57
Create a new entry
Specify name of the Function Module as Z_IDOC_INPUT_ZRZSO_MT
Also, specify Type as F, Basic IDoc type as ZRZORDER, Message type as ZRZSO_MT and Direction as 2 (Inbound)
Save the entry
Define Input method for Inbound Function Module Transaction BD51
Create a new entry
Provide Function Module name as Z_IDOC_INPUT_ZRZSO_MT
Specify the Input method as 2
Save the entry
Create a Process Code Transaction WE42
Create a new Process Code ZPCRZ
Select Processing with ALE Service
Choose Processing type as Processing by function module
Save the entry
On the next screen, select your function module from the list
Save the changes
Now you will be taken to the next screen
Double-click on Logical message
In the Assignment to logical message, specify the message type ZRZSO_MT
Save the changes
Send and receive data
On the sender system, execute the IDoc Generation Program. Check the status of IDoc using transaction WE02.
Check the status of the IDoc in the receiver system using transaction WE02. You can also check the contents of DDic tables to make sure that the records have been created in the receiver system.
Regards,
S.Nehru. -
Need help in Idoc--very urgent.
Hi guys,
i am working on an object where i need to post the data from legacy system to F-27 transaction using Idoc.i hv found two idocs input_idoc_fidcc1 and input_idoc_fidcc2 for posting the data..
Can anyone help in finding the right idoc for triggering the f-27 transaction with the reason...
coz both are perfoming almost the same functionalities...
its very urgent guys..
kindly help me full marks wud be given...
regards
SahilHi,
The function module is related to post the idoc type FIDCPP01
and posts the complete FI document. and as coming to second function module along with Tax you can post item wise with holding tax dataalso. So you choose the required function module based on the data you need to post. If you need not post with holding tax details dont fo for second function modules.
Reward if find useful -
Need help on IDOC to file interface.
Hi Folks,
I am working on IDOC to file Interface. We are pushing 15 Idocs from SAP R/3 system to SAP PI. Idocs in R/3 system are in correct order. When it comes nto PI system IDOC order is diffrent.
For Example : I am sending 6 idocs 1000, 1001,1002,1003,1004,1005 from R/3 system. WHen these idocs coming into PI its order is changing so in PI system IDOCS order is 1000, 1004,1001,1005,1002. But, I want IDOCS are should be same as R/3 system.
For handling this issue, what are the necessary steps I need to follow in PI?
Thanks,
EnivassHi Enivas,
Check this link regarding serialing IDOC: http://help.sap.com/saphelp_nw04/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
http://www.saptechnical .com/Tutorials/ALE/Serialization/page1.htm
Thanks, -
Need help for IDOC inbound function module !
Hi guys please help me to create a IDOC inbound function module.
What are the parameters and tables.
How to write the code.
What it does.
Please send me one inbound func module code if possuble
ThanksHi,
You need to create an inbound function module. Then define the process code in transaction we42 and attach the function module to this process code.
In the function module you create you need to define tables of types EDIDC (Control record (IDoc)), EDIDD (Data record (IDoc)) and BDIDOCSTAT (ALE IDoc status (subset of all IDoc status fields)).
Regards,
Soumya. -
Need help with Report Generation Toolkit: Excel Set Cell Format.vi
Hi people,
I've been searching and found this old thread of someone asking what is the input parameter "Number format". And I dont know what should I put in there. I've tried so many possibilities, but nothing works so far, such as:
0,0
0,?
0,#
#,0
?,0
and also with @, doesnt works. Where would I find help about this parameter?
I'm using Excel2003, german version, thus local decimal separator is a comma.
I also found this help from NI, but seems doesnt help me either. Do I miss something important?
thanks,
Yan.Hi,
I've used your suggestion and some numbers in excel doesnt need to get "right click, change to numbers" anymore (green indicators on the left-top side in some cells are gone). But, I think its still not a number, because I cant use a simple formula, such as in cell A10 I type "= A1/2" (cell A10 equals cell A1 divided with 2) . I got error which says its not a number.
Well, but other thing is found, any format-string I put in the input of Excel Set Cell Format.vi, such as #,########, will be shown the same as "customize #,########" if I right click in a cell in excel and click "Zellen formatieren" (formatting cell). But however, the numbers are still depends on the input of the format I put in the Append Table to Report.vi.
regards,
Yan. -
Need help with IDOC CREMAS_03 mapping
i was not able to figure out what values to assign to the following mandatory fields.
BEGIN
EDI_DC40(node not mandatory)
SEGMENT
TABNAM
DIRECT
IDOCTYP
MESTYP
SNDPOR
SNDPRT
SNDPRN
RCVPOR
RCVPRN
i am trying to map the following structure to the CREMAS_03
Vendor_MT
VendorNumber
LastName
SearchTerm
Currency
Address
Street
City
Zip
Country
i appreciate ur time and helpyou dont need to map EDI_DC40, In the message mapping right click on the EDI_DC40 segment and click on disable field.
In the IDoc receiver communication channel, you should uncheck <b>Apply control record values from payload</b>
regards
SKM -
Hi,
i Have a doubt on ACK of IDOC.actually the scenario is file to IDOC.in this scenario we are posting PO's to SAP R/3 from a legacy system.after posting into SAP system we want to get an acknowledement back to the legacy system.for that ack which idoc type we'll use in the scenario IDOC to File?Hi Narayna
Find the solution.
This Feature is Available under SP 18 and we are on SP16
http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
Check this document on handling IDOC acknowledgements. This might give you some pointers.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
nk
http://help.sap.com/saphelp_nw04/helpdata/en/44/932e8896b610bbe10000000a422035/content.htm
<b>Pls reward if useful</b> -
Hi Guys,
I need to create a Vendor Master using LSMW via IDOC Process..What are all the points needs to consider..
Thanks
PrabhuIn LSMW object attributes... give like this..
Message Type CREMAS Vendor master data distri
Basic Type CREMAS04 Vendor master data distri
Enhancement
after that continue normal LSMW procedure. -
Need help on IDoc for Picking, Packing and PGI against the Sale order
Hi All,
I am new to this IDoc stuffs. Below is the scenario for which I would like to know the details of the IDoc...
Business Case:
1. Storage location is a HU Managed but not WM managed.
2. This storage locations is managed by a third party
3. Outbound delivery document against the SO will be created by our personnels in SAP for this storage location.
4. Picking, Packing and PGI needs to happen/post via Idoc. (By packing here, i refer to assign the HUs that are already created for the materials and is available in the storage location and not repacking)
Is there any standard IDoc that can be used here to Pick, Pack and post PGI. We would like to have picking and packing in a first idoc and PGI on the second idoc.
Thanks,
PrashantHi Typewriter,
Thanks for your reply on this post..
The business process is as below (it was changed recently to have the creation of OBD, pick HUS and then post GI via single IDOC)
1. We have a storage loc in our enterprise structure that is HU managed but not WM managed.
2. This storage loc is being maintained by a third party.
3. SO will be created to be shipped out of this plant/sloc.
3. The stocks at this storage loc will be Special stock "E" against the sales order. And the stocks will be Packed in HUs.
4. The third party is informed to deliver the stocks (HUs - that do have the special stock number which internally refers to the the SO number and the line item number) directly to ship to party address in SO.
5. The 3rd party will physically ship the HUs to customer and send in the details that they have shipped goods against the sales order.
6. The details sent by the 3rd party will be received in SAP to create OBD for the sales order, Pick, Pack and post GI. This can happen via a single IDOC..
I am now planning to create a custom IDOC type referring to the standard IDOC type DELVRY03 and message type DESADV and to use a custom BAPI/FM.
Do you think I am using the right ones?
Thanks,
Prashant Kumar -
Hi All,
My requirement is likes this.
I have to create a segment which will have 200 Chars field and it needs to be add to the standard IDOC type /AFS/Invoic02. And already it has to extend types. This segment should call for particular sold to's. When i tried to add new extended type to the standard type the previous extended type is taking by the program. so how to get to extended type for an IDOC type.
Regards,
NaiduHi,
I have added the new segment to an old extended one. when i am texting it the segment is not displaying in the second level it is diaplaying in first level.
I have created new segment in we30 and added in we31.
In we31 i have cancled the release and added the segment and released. After this do i need to do any activation.
regards,naidu -
Hi,
I am working on idoc to file scenario.
if idoc has some modification has done then what are the procedure do i follow.
Is it necessery to import idoc again and do th mapping.
Give me suggestions.
Thanks,
Seenu.Hi,
Idoc Metadata is required in the PI System. Once the Scenario runs there should be a reference structure in PI to know what the IDoc Structure is.
IDX2 step is not mandatory, Idoc Metadata will get automatically created in the PI server once you run the scenario. If still the Metadata is not present then add through IDX2. Provide IDX1 port configurations are correct.
Also, in your case it's better to reimport Idoc to PI system as the structure is changed in the SAP R/3 system for Idoc.
In PI 7.1, u can make the changes in the Mapping itself to the structure, the Mapping wn't be affected. In PI 7.0, if u do any changes in the structure , Mapping will be affected. Need to re do the Mapping.
Thanks,
Sreejith -
Need help with report generation toolkit
I'm having a really hard time finding a solution for my problem. I'm measuring a distance and a diameter simultaneously. The outcoming values have a depency and are stored in a 2-D array. I want to export this array to an excel table and x-y-chart (distance is x and diameter y). So far I can export the data to a table, however the charts produced are useless. Can somebody please help me? I'm almost crying since I'm trying to find a solution for 3 days now.
Additionally, after one measurement is done, the user should have the possibility to do the next measurement, and the data has to be stored in the same excel file, in another worksheet. How can I do this?
Attachments:
Hauptprogramm_0.5.vi 129 KBHi!
If you want a nice graph in Excel based on your data you have input there, I would recommend creating a macro that builds your graph. Read more about macro, Excel and LabVIEW here. I don't have the Report Generation toolkit, but I think you can send macros with it too.
Regards,
Even
Certified LabVIEW Associate Developer
Automated Test Developer
Topro AS
Norway -
Need help for Report Generation
I am using Designer 6i.
I want to ask that :
Is there any facility that can preserve the report layout when I want to generate the report, because every time I generate the report I can't preserve the last layout.
Thank for helping me !
nullHi,
In the transaction OAOR, you should be able to insert your company Logo.
GOTO - OAOR (Business Document Navigator)
Give Class Name - PICTURES Class Type - OT..... then Execute
It will show you the list, then select ENJOYSAP_LOGO.
On that list, you will find one control with a "create" tab.
Click std. doc types.
Select SCREEN and double-click.
It will push FILE selection screen.
Select your company logo (.gif) and press OK.
It will ask for a description- for instance: "company logo".
It will let you know your doc has been stored successfully.
You can find your logo under ENJOYSAP_LOGO->Screen->company logo.
Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.
FORM TOP-OF-PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = HEADING[]
I_LOGO = 'ENJOYSAP_LOGO'
I_END_OF_LIST_GRID ='GT_LIST_TOP_OF_PAGE'.
ENDFORM. "TOP-OF-PAGE
Here 'ENJOYSAP_LOGO' will replace by ur created logo.
n pls reply me.
Refer this link
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_enhanced.htm
http://www.sap-img.com/abap/alv-logo.htm
http://www.sap-img.com/fu002.htm
reward if it helps..
Regards,
Omkar.
Maybe you are looking for
-
HT3986 i can not install windows 7 with boot camp on my macbook pro 17-inch eairly 2011
I have been trying to install windows 7 on my MacBook pro 17inch 2011, once i get to the step "burn a copy to a cd or DVD" the system runs and burns the information to the DVD but when the next step appears after I create the partition the program do
-
At certain times of the day (usually only late at night), my internet becomes unusable. The websites take so long to load that they just time out (or I give up). It happens periodically in the early evening as well (I just tried to watch a two-minute
-
I have hp laptop dv9009us one day all the USB ports and webcam camera stopped working
I have hp laptop dv9009us one day all the USB ports and webcam camera stopped working, I had windows XP and tried all solutions posted on online forums didn’t work, I upgraded to windows 7 and still not working, please note that the USB is detected i
-
Disable dialog box in smartforms
DATA: wa_ctrlop TYPE ssfctrlop, wa_outopt TYPE ssfcompop. This is the code i'm using to generate SF. i want to generate PDF using this SF. so i don't want to display the dialogbox for "print". This is urgent. wa_ctrlop-getotf = 'X'. wa_ctrl
-
I have an eMac which shows the date and time as random figures, suggesting that the internal battery is dead. Where can I buy a replacement? My local Apple reseller does not stock them. evan239