Creating sn IDOC for a new Material
Hi,
I need to create a material in a system and send that material through ALE to some other system. All the ALE configurations are in place, I am able to create the material. Please let me know how to Create an IDOC with message type J3AMAT which has this material in it.
Thanks & Regards,
Siva.
If all your ALE settings are in place, then use transaction code BD10. give the material number and execute , system will generate IDoc
a®
Similar Messages
-
Urgent: Creating ALE IDOC for SALES ORDER
hi
please tell me <b>step by step procedure to create ALE IDOC for SALES ORDER?</b>
reward for sure
regards
ravishHi,
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
Regards -
Creating outbound IDOC for EDI
HI All,
I have to create an IDOC for EDI. Can anyone tell be the function module to create an IDOC for EDI. I know MASTER_IDOC_DESTRIBUTE, but it is only used for ALE.
Can anyone help me in this.
Thanks.
ShwetaDudes:
It sounds to me like all of you guys need some training and some understanding of the basics.
MASTER_IDOC_DESTRIBUTE is called by the standard IDoc interface after an IDoc has been built and is ready to be kicked out the door. It provides all the services needed to write the idoc to the database and send it out through the partner profile and file or tRFC port. It's used both for ALE and EDI IDocs.
I cover the processing flow extensively in my new book from SAP Press "Architecting EDI with SAP IDocs". The book is available from:
http://www.sappress.com/product.cfm?account=&product=H3003
I also cover these topics in my IT Toolbox blog at:
http://it.toolbox.com/blogs/ehadzipetros
And my SDN blog at:
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID1280983950DB11991735787968519403End?blog=/pub/u/252038725
Good luck. ejh, -
How to create a jobsteps for a new user to run a report on portal
Hello Experts,
Is there any program that automatically creates a jobsteps for the new users for
a role??
My company BW roles are mapped with R/3. so whenever a new user is created in a R/3 role
it comes and maps with BW Role and creates that users automatically in BW.
Now the problem is if any new users are created in r/3 and mapped with BW. the report
fails to run for the new users unless and until they really login in to the system.
For ex: I have 5 new users which are created in R/3 and properly mapped with BW. But
report fails to runs for the new users.
ERROR: Jobs step fails for the User X
Is there any programe that automatically creates a jobsteps for the new users??
Please advice.
Thanks in advance,
HarishHello Kedar,
Do you manually add a new users to the role??
How the reports run for new users in your company??
Thanks,
Harish -
How to create a portlet for a new web page?
I create a web page "A" in the remote server and have another page "B" which have a button in it. And when push the button in page "B", I want to use PRC to add a new portlet object linking to page "A" to portal. How should I do this?
I know it's possible to add a new portlet template using IRemoteSession.GetPortletTemplateManager().CreatePortletTemplate(intparentFolderID, intwebServiceID), but how should I get the webServiceID while it haven't been created for the page "A". Must I create the web service in the portal server by hand? Is there any programmatic method to create a new web service by PRC? Or if there are some other methods to create a portlet for a new page without creating webservice, that would be a prefer.Hi Prateek,
I Did the Things Which is Presented By Michal in This Blog.
But When I Executed RZ70 With My Gateway Service as "sapgw01" And the Gateway Host As "Server Host Name".
I Got the Error When I Click on "<b>start Data Collection"</b> After Execution of the Program As Follows
<b>"Used RFC destination :SLD_NUC"</b>
<b>"RFC call failed : Error opening an RFC connection"</b>
<b>"Batch job not scheduled"</b>
All Other Are Success Like Data Collection ......
Please let me Know What to Do Now...
Regards
Khanna -
I've never used garage band. How do I create a ringtone for my new Iphone4s?
I've never used garage band. How do I create a ringtone for my new Iphone4s?
Onefineday wrote:
How do I create a ringtone for my new Iphone4s?
this explains how:
http://www.bulletsandbones.com/GB/GBFAQ.html#makeringtone
(Let the page FULLY load. The link to your answer is at the top of your screen) -
BAPI to create Purchase Requisition for selective BOM Material
Dear Experts,
I need ur help, Actually I am developing a module Pool prg to create Purchase Requisition for selective Bom Material .
Actually, standard T.Code (ME21N) create PR for a multiple BOM Materia lwhich are used to create a prepared material. But my requirement is PR should be generate for selective BOM material .
Multiple BOM Material is used to prepared a complete Material .
I have checked a particular BOM Material, for this matrial Purchase Requisition should be genrate.
Please suggest me the related code and Bapi which helps me .
Thanks & Regards,
SwapnikaHi
you can Use BAPI BAPI_REQUISITION_CREATE
Hope Its help You.
Regards
Ajit -
According to material num,for every new material num one line space.
Hi,
please give suggestion how to get vertical lines without breaking as shown below.
I want according to material number(AT1),for every new material number one line space have to be there.
I used 'skip' so the verical line is breaking for every new material.
Material Number | Material Description
_____________ |______________________________________________
| AT1 | Catalyst - 18165-RNA-A013-Y2
| AT2 | Catalyst - 18165-RNA-A013-Y2
| AT3 | Catalyst - 18165-RNA-A013-Y2 (COPY)
| AT4 | Catalyst - 18165-RNA-A013-Y2
| AT5 | Catalyst - 18165-RNA-A013-Y2
| CGW0001 SUBSTRATE 148 X 84 X 67 - 400/6/S/0.699L
| CGW0001 SUBSTRATE 148 X 84 X 67 - 400/6/S/0.699L
| CGW0001 SUBSTRATE 148 X 84 X 67 - 400/6/S/0.699L
CGW0001 SUBSTRATE 148 X 84 X 67 - 400/6/S/0.699L
| CGW0001 SUBSTRATE 148 X 84 X 67 - 400/6/S/0.699L
| CGW0001 SUBSTRATE 148 X 84 X 67 - 400/6/S/0.699L
| CGW0001 SUBSTRATE 148 X 84 X 67 - 400/6/S/0.699L
I need line continous but for every new material to material gap.
Thanks,
sree.Hi,
write code like this.
write : /1 sy-vline,120 sy-vline.
give the line size for ex 120
reward if usefull -
I have created two tables for my new report under one transport request.
Unwanted table transported
I have created two tables for my new report under one transport request.
But I only need one table and the second table I was supposed to delete.
However by mistake, with out deleting the second tableu2026 the transport request is released and moved to quality system.
how to handle this issue.
I am not sure any additional changes for this program.
Could you please suggest me an idea.
Thanks in adv>
sam kumar wrote:
> Unwanted table transported
> I have created two tables for my new report under one transport request.
> But I only need one table and the second table I was supposed to delete.
> However by mistake, with out deleting the second tableu2026 the transport request is released and moved to quality system.
>
> how to handle this issue.
>
> I am not sure any additional changes for this program.
> Could you please suggest me an idea.
>
> Thanks in adv
Does one custom table more or less really matter? If you really want delete it, delete the table in DEV which will put it into a new transport and get that transport moved to TEST. -
How to create Purchase order for non valuated material with fright charges
Dear Guru,
When i have creating purchase order for non valuated material then GR non valuated tab should be in display mode.And how to load fright charges.
Regards,
Abhijithi,
while creating the PO, u have the option FREE indicator in the right corner of the line item.(u can have separate Valuation type for the same, for valuation purpose)
even u can create the UNBW material type.
check the material type customization in oms2
hope will get the clarity -
Help needed for creating 1 invoice for 2 different material types.
Dear, Gurus
I really need help here I have spent 3 days cracking my head trying to solve the problem. Problem is client was creating invoice with reference to order and while invoice was being made it would cause an invoice split. The materials involved are Trading Good and Service Material. They would like only 1 invoice. Note nothing was different except material group and item cat. of the material. payment terms billing dates partners everything is same.
Current item config for Trading Good material is ZMPI-project item cat.
Copying requirements 023 Item ord.ref. w/o AZ Billing quantity A
Data VBRK/VBRP 000 Pos./neg. quantity +
Pricing type K
PricingExchRate type
Price source
Current item config for service Material is TAD-Service
Copying requirements 002 Item/order-related Billing quantity A
Data VBRK/VBRP 001 Inv.split (sample) Pos./neg. quantity +
Pricing type G
PricingExchRate type
Price source
I was told to change Data VBRK/VBRP to 003 One Invoice which I did in both of these item cat. and yes they worked perfectly but at time of creating the invoice for service material the qty that showed was 11. Note: In sales order it is 1 qty. So I went back into the config of item cat TAD and changed copying requirement to 023 instead of 002 but nothing changed. Seems a qty of 10 is referencing something else which I have no idea what or where it is picking this up from. Just to see or test things I went into the sales order and tried changing the service material qty then a weird popup appears and says service order 12344456 has been blocked. (Seriously I have no idea why this would happen or should be existing at all.) Even if for some reason it is being referenced the service order that is existing is qty 1.
I really really do need help and if someone can help me that would be god sent.
Regards, AliYou did not mention what value is maintained in the field billing quantity in the copy control->Item settings. Check for the service item, what value is assigned. Put value A and re-test.
Note that whenever you change any settings in configuration side, you need to create a new documents to test the results of the settings. You should not use the existing documents.
When you say the document is blocked, then check the status of the sales order to find the reason for blocking (like credit block, approval etc)..
Regards, -
Release Strategy for a new material type in PR
Dear Friends,
One of our client require new Release Strategy for a particulat material type PR. Can u pl provide me the steps to configure a new release strategy for PR for a particular Material type.
Regards,
AskHi,
Create a Char for your material types in CT04(MARA-Table,Field-MTART) and assign the same to your Class in CT02.
Then follow all the cusmozation path for your PR release startegy .
For Config part refer the below wiki link it may help you.
http://wiki.sdn.sap.com/wiki/display/ERPSCM/RELEASE+PROCEDURE
http://wiki.sdn.sap.com/wiki/display/ERPLO/ReleaseprocedureforPurchaseRequisitioninMM?focusedCommentId=195723808#comment-195723808 -
Why the Amount in local currency is always 0 for the new material in MB51
Dear all,
Every I have a new material number and when I create GR from Purchase Order for the first time, why the "Amount in local currency" always is 0 in MB51 or display material document (MIGO), althugh Price unit is not 0 in Purchase order .
Would you like help me, please
thanks
imronHello ,
Logically speaking ,if there is stock , then u should have the cost/price.
If u create a new material , & then the first stock is acquired via procurement , then u need not maintain the MAP/SP.
BUT , if u create a new material & need to upload some existing stock , u need to maintain the MAP/SP so that the system knows the valuation of the stock.
While doing a GR through PO , the system picks the valuation form PO ( & also updates the material master MAP) , but for initial entry there is no reference & hence system takes the MAP from material master
Hope this helps
Regards
Anis -
Creating an IDOC for purchase order
Hello gurus,
I want to generate an IDOC for purchase order.
The Logical System, RFC connection, ports definition is already defined.
In my system i have 800 client as source/sender and 100 client as target/reciever.
On Outbound side-> In Partner profile
I defined-
1. Partner No.- devclnt100
2.Type- US (User)
3. Agent - SAPUSER
In Outbound parameters-
I created message type as Orders.
One thing to note that my partner system is LS i.e. Logical System
Then in Outbound Options-
I mentioned Reciver Port - 800Port
Output Mode- I selected "Transfer Idocs immediately"
& "Do not start subsystem"
In Idoc type-
I gave following information-
Basic Type - Orders05
In Message Control tab i mentioned-
Application - EF
Message Type - NEU
Process Code - ME10
In NACE Transaction Code-
I selected EF Purchase Order as my condition for output control
In that- In output types-
I selecte NEU and double clicked. I checked whether Access to Conditions check box is checked and multiple issuing is checked.
In Dialog structure-Processing routines I checked that -
For Output type - NEU
Application - EF
Processing routines are defined-
medium-Distribution ALE
Program -RSNASTED
Form Routine - ALE_PROCESSING
I think these are the very basic settings that need to be done for creation of Idoc.
Now when i create a PO and then SAVE it an IDOC must be generated.
But when i go to transaction Code WE02. It shows me message "No Idocs genereated".
What is the problem? Where am i going wrong?Hi Yayati,
Here are all the settings that you need to do. I am not sure which all settings are present so kindly confirm.
Sending side Client800:
1. WE20 - under LS - Outbound parameters - message type = Orders , basic type = Orders05
2. BD64 - message type - sender = client800, receiver = client100, message type = Orders
3. NACE - App = EF - Output Types - Processing Routines - Add medium = A (Distribution (ALE)) , Program = RSNASTED, Routine = ALE_PROCESSING.
4. NACE - App = EF - Output Types - Partner Functions - Add medium = Distribution (ALE), Funct = VN.
5. Name - App = EF - Condition Records - Output type = NEU , Choose ur combination (Mine is DocType/Purc Grp)
Pur.Doc Type = NB (Execute) , Add row Medium = A ,Function = VN and other details u choose.
Receiving side Client100:
1. WE20 - under LS - Inbound parameters - message type : Orders ; Process Code : ORDE
2. BD64 - message type - sender = client800, receiver = client100, message type = Orders
For the PO which you have created, go to the PO in ME23N, click on messages .
There should be a line : Output = NEU, Medium = Distribution (ALE)... etc.
If its present then the configuration was correct.
If it has a yellow triangle means it was not processed.
Regards,
Jovito.
Edited by: dsouzajovito on Dec 30, 2010 10:24 AM -
How to create outbound IDOC for Accounting document type RV
Hello All,
We have a requirement to create a downpayment request for a customer. We have copied the FAZ billing type and created a ZFAZ. For this the accounting document type generated is RV. This RV is a statistical document and does not contain any debits and credit entries. It is just to inform the customer to pay. We have to generate an IDOC for the same. I have configured FIDCC1 standard FI message type for this in ALE. But it does not seem to work.
Does anyone have any inputs on this ? May be RV does not use the message type FIDCC1 ? Anything in relation to RV or downpaymnts, please let me know..
Appreciate your responses.
Thanks
SH.Hello Alpesh,
I tried adding breakpoints to the following userexits and many other places where they occur..but while creating billing doc FAZ nor while generating accounting document RV they were triggered.
I have created a distribution model and created the partner profile with outbound for basic type INVOIC02 for message type INVOIC . What do you say?
Just a note that this is an outbound process and i cannot use process codes.
- EXIT_SAPLVEDF_001 User_Exit controll data IDoc_Output_Invoic
- EXIT_SAPLVEDF_002 User_Exit customer enhancement of segments outbound invoice
Thanks
Smitha
Edited by: Smitha H on Jul 25, 2008 7:56 AM
Maybe you are looking for
-
Error Message: Photos found in iPhoto Library that were not imported
BACKGROUND: I recently migrated my iPhoto'07 library of around 12,000 photos over to iPhoto'08. I reorganized all my albums as events. After that, I've been adding some old photos to my new iPhoto'08 library. Currently I have around 15,000 pictures i
-
ValidationTextField in IE6 IE7 problem, 1st keystroke ignored
hi, i have a very interesting problem with "ValidationTextField" in IE6 and IE7. the validation on textfiels starts at 2nd keystroke, the first keystroke in the field is ignored, if iset the values by javascript like $('theMovieTitle1').value = $('th
-
2LIS_04_P_COMP Extractor and BWART field.
I have added BWART field to the 2LIS_04_P_COMP extract structure.I have added BWART field from MCCOMP structure bcoz MCCOMP is already used by the 2LIS_04_P_COMP for other fields.I did this using RSA6 and appended the extract structure. But when I go
-
Standard not allow to edit value of activity type (Time event confirm CO19)
All expert, I have requirement to customize program same as CO19 for confirmation time event by using BAPI_PRODORDCONF_CREATE_TE and now pogram can post record type B10 for start and B40 for finish processing. By the way I just have a little requirem
-
Labelwriter 400 sharing on Snow Leopard
We are moving from a 10.2 client that was sharing printers to a 10.6 server. On the 10.2 client it was easy to share a Labelwriter 400: add the printer, turn on sharing, access it from other machines. On the 10.6 server something is missing. We can i