Hey friends need some help !
I have to create an IDOC when the credit memo is created.
I have the outbound idoc generation code and also the ale configured .Shall I use a user exit for VF01 and paste the IDoc generation code there ?
Hi
For transaction data, like Orders, Billing documents, Delivery Documents, Shipments etc., issuing an output is controlled thru Output types. The control type is normally dependent on the processing mode and media like EDI Output, PRINT, FAX etc., and transfer immediately etc., setting.
I am not sure if you are using SAP Standard output type.
First of all you need to know the output types to be used for triggering the billing outputs.
Here are the settings I am using.
1. Output type : RD00
2. Application Key : V3 (billing)
3. Outbound process code :SD09.
4. IDOC Type: INVOIC01, Extension: ZINVOIC01,
5. Message Type: INVOIC.
Set all these at partner profile WE20. Make sure you have the customer, RFC port etc., created in advance to be used herewith inthe partner profile to define.
Further configuration in R/3 for SD output types, use transation V/31 to see the output types and other stuff. It may not be possible to explain how to configure the output types, processing routines.
Even, if the config is in place, As soon as the Billing document is generated and issued an ouput (for EDI processing), you will see the IDOC generated. To get the IDOC number, refer to PROCESS LOG in the transaction.
Regards
Jitesh
Similar Messages
-
Hey I need some HELP!! Please, it's important...
Hi everybody! First post in here...well today I accidentally installed iTunes 7.6 pressing "software upgrade". Since I'm using OSX 10.4.8 iTunes 7.6 doesn't open: it pops out kind of "need the OSX upgrade for 10.4.9 or 10.4.10 up!!"...I can't upgrade to 10.4.10 or 10.4.11 because of Pro Tools (7.1 version can give some trouble with these OSX versions).
WHAT SHOULD I DO??
Should I uninstall iTunes 7.6? Just by trashing it and then using an old version (which one would you suggest)?? I found (http://mac.oldapps.com/itunes.php) old iTunes version...but I actually can't remember which one I was using (it worked great with my 10.4.8).
Gotta say I'm a little bit scared...thanks in advance!
HedSearching in the forum, I found this...
"To downgrade - D/L what version you want at - http://www.oldapps.com/downloadiTunesmac.php
Go to HD>Library>Receipts - remove the iTunesX.pkg to the trash.
Drag your iTunes app to the trash. B/U your iTunes Library and .xml files. B/U your iTS purchases.
Repair permissions with Disk Utility - install iTunes - repair permissions again.
Open iTunes - if all is well you can empty the trash.
MJ"
But which version should I use with OSX 10.4.8??
Any help?
...Hed -
Hey ! Need some help on ALE IDOC !
My requirement is I have to create an IDOC using ALE .
But both the sender and receiver willl be the same client e.g
200 ....
Now I will use client 200 as both sender and receiver .
I have alredy gone through lots of ALE stuffs and screen shots
but every where they have used two different clients !
Can any body help me for ALE IDOC creation using only one single client !
thnks
JoyHi,
For ALE scenario's , we need a concept called 'Logical System ' , which is an unique name used to identify the system involved in ALE scenario .
Logical System will be assigned to the client .
i.e. the relation ship between logical system and Client is 1 to 1.
so it is not possible to use same client as Receiver and Sender.
Hope this helps you.
Kind Regards,
Ravi Sankar.Z -
Hi friends need some help in ALE IDOC !
For training purpose I am trying to create an IDOC using ALE
where I am using the same client as server as well as receiver......So I am using as receiver "NONE" . this is already present in the SM59 under logical systems..
But i cant create a port for that...as its saying its not compatible with the TRFC "
Can any one tell me what is the way to create the port ?Hi,
You are new to ALE and IDOCs so I am giving all step by step to do the ALE.
Outbound:
Step 1. Application document is created when transaction is saved.
2. Message control is invoked.
3. Messages are processed by system.
4. Messages are Edited (if desired).
5. Output (ALE / EDI) is checked
6. Validate against Message control record from Partner Profile
7. Application Document is saved.
8. Entry NAST table is created for every selected output program
along with Medium & Timing.
9. Check for Process Immediately .
If (yes)
Determine Processing Program from TNAPR Table.
ELSE
Execute RSNASTED Program.
10. Read Partner Profile to determine Process Code.
11. Process Code points to the Function Module & Invoked.
12. IDoc is generated.
13. Check for ALE Request.
if (Yes)
Perform Filters, Conversions, Version Changes etc.
Else.
IDoc is stored in DATABASE.
INBOUND:
Step 1. EDI Subsystem creates an IDoc file from EDI Messages
2. Subsystem calls Functional Module EDI_DATA_INCOMING from startRFC program.
3. Data in Control Record is validate against the Partner Profile.
4. IDoc is generated in Database and syntax check is carried out.
5. IDoc file is deleted once file read.
6. Event PROCESSSTATE REACHED is triggered in Idoc Object Workflow.
7. Check for Process Immediately.
If NO
Execute RBDAPP01 Program
Else
Read Process Code from Partner Profile
Process Code Points to Function Module
Application Document Posted.
further help:
check url
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/ale/configuration.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapdevelopment.co.uk/training
And also u can get lots of inof from the below link.
http://www.sapgenie.com/ale/why_ale.htm
Just follow the procedure
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
STEP 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
-System Name : ERP000
-Description : Sending System
-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
STEP 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
STEP 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)
STEP 5) Goto Tcode BD64
select the modelview
goto >edit>modelview-->distribute
press ok & Press enter
STEP 6) goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
STEP 7)goto Tcode : BD11 for Material Receiving
Material : 100-300
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
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
Thanks
Sarada -
Hi friends need some help in IDoc !
i have created the following function module for IDOC outbound.. What will be the value of the exporting parameters and tables When i will call it ?
FUNCTION Z_IDOC_OUTPUT_CREDIT .
""Local interface:
*" IMPORTING
*" VALUE(CONTROL_RECORD_IN) LIKE EDIDC STRUCTURE EDIDC
*" VALUE(OBJECT) LIKE NAST STRUCTURE NAST
*" EXPORTING
*" VALUE(OBJECT_TYPE) LIKE WFAS1-ASGTP
*" VALUE(CONTROL_RECORD_OUT) LIKE EDIDC STRUCTURE EDIDC
*" TABLES
*" INT_EDIDD STRUCTURE EDIDD
*" EXCEPTIONS
*" ERROR_MESSAGE_RECEIVED
*" E003
*INTERNAL TABLE FOR ITEM DATA
ranges: r_matkl for vbap-matkl.
r_matkl-sign = 'I'.
r_matkl-option = 'BT'.
r_matkl-low = '000000300'.
r_matkl-high = '000000399'.
append r_matkl.
data : flag type i value 0.
DATA: S_VBELN LIKE VBRP-AUBEL.
DATA: BEGIN OF I_ITEM OCCURS 0,
VBELN LIKE VBAP-VBELN,
POSNR LIKE VBAP-POSNR,
MATNR LIKE VBAP-MATNR,
VKAUS LIKE VBAP-VKAUS,
SPART LIKE VBAP-SPART,
NETWR LIKE VBAP-NETWR,
WAERK LIKE VBAP-WAERK,
KWMENG LIKE VBAP-KWMENG,
KONDM LIKE VBAP-KONDM,
MVGR1 LIKE VBAP-MVGR1,
MVGR2 LIKE VBAP-MVGR2,
MVGR3 LIKE VBAP-MVGR3,
MVGR4 LIKE VBAP-MVGR4,
MVGR5 LIKE VBAP-MVGR5,
KONDA LIKE VBKD-KONDA,
BSTDK LIKE VBKD-BSTDK,
BSTDK_E LIKE VBKD-BSTDK_E,
KDKG2 LIKE VBKD-KDKG2,
BEZEI1 LIKE TVLVT-BEZEI,
BEZEI2 LIKE TVM1T-BEZEI,
BEZEI3 LIKE TVM2T-BEZEI,
BEZEI4 LIKE TVM3T-BEZEI,
BEZEI5 LIKE TVM4T-BEZEI,
BEZEI6 LIKE TVM5T-BEZEI,
VTEXT1 LIKE V_T178-VTEXT,
VTEXT2 LIKE V_T188-VTEXT,
VTEXT3 LIKE TVKGGT-VTEXT,
END OF I_ITEM.
*Declaring constants
DATA:
*SEGMENT NAMES
C_SALES_ORDER_NUMBER LIKE EDIDD-SEGNAM VALUE 'Z1SONUMBER',
C_MATERIAL_DETAILS LIKE EDIDD-SEGNAM VALUE 'Z1MATERIAL',
C_PRODUCT_LINE LIKE EDIDD-SEGNAM VALUE 'Z1MVGR1',
C_PRODUCT_NAME LIKE EDIDD-SEGNAM VALUE 'Z1MVGR2',
C_PRODUCT_VERSION_DETAILS LIKE EDIDD-SEGNAM VALUE 'Z1MVGR3',
C_PRODUCT_PLATFORM_DETAILS LIKE EDIDD-SEGNAM VALUE 'Z1MVGR4',
C_PRODUCT_APPSERVER_DETAILS LIKE EDIDD-SEGNAM VALUE 'Z1MVGR5',
C_COMPILER_CODE LIKE EDIDD-SEGNAM VALUE 'Z1KONDM',
C_LANGUAGE_CODE LIKE EDIDD-SEGNAM VALUE 'Z1KONDA',
C_RUNTIME_BANDCODE LIKE EDIDD-SEGNAM VALUE 'Z1VKAUS',
C_SUPPORT LIKE EDIDD-SEGNAM VALUE 'Z1SUPPORT',
C_AMOUNT LIKE EDIDD-SEGNAM VALUE 'Z1AMOUNT'.
DATA :
C_CREDIT_IDOITY LIKE EDIDC-IDOCTP VALUE 'Z_CREDIT_MEMO_IDOC',
C_CREDIT_MSGTYPE LIKE EDIDC-MESTYP VALUE 'Z_CREDIT_MESSAGE'.
*data declaration
*idoc control record
*data : control_record_out like edidc.
*other data declaration
DATA:W_SALES_ORDER LIKE Z1SONUMBER.
DATA:W_MATERIAL LIKE Z1MATERIAL.
DATA:W_MVGR1 LIKE Z1MVGR1.
DATA:W_MVGR2 LIKE Z1MVGR2.
DATA:W_MVGR3 LIKE Z1MVGR3.
DATA:W_MVGR4 LIKE Z1MVGR4.
DATA:W_MVGR5 LIKE Z1MVGR5.
DATA:W_KONDM LIKE Z1KONDM.
DATA:W_KONDA LIKE Z1KONDA.
DATA:W_VKAUS LIKE Z1VKAUS.
DATA:W_SUPPORT LIKE Z1SUPPORT.
DATA:W_AMOUNT LIKE Z1AMOUNT.
DATA:FS_INT_EDIDD LIKE EDIDD.
DATA:
IT_COMM_IDOCS LIKE EDIDC OCCURS 0 WITH HEADER LINE.
*POPULATING THE ITEM DATA
S_VBELN = OBJECT-OBJKY.
SELECT
VBAP~VBELN
VBAP~POSNR
VBAP~MATNR
VBAP~VKAUS
VBAP~SPART
VBAP~NETWR
VBAP~WAERK
VBAP~KWMENG
VBAP~KONDM
VBAP~MVGR1
VBAP~MVGR2
VBAP~MVGR3
VBAP~MVGR4
VBAP~MVGR5
FROM VBAP
INTO CORRESPONDING FIELDS OF TABLE I_ITEM
WHERE VBAP~VBELN EQ S_VBELN
and vbap~matkl NOT IN r_matkl.
LOOP AT I_ITEM.
data: ITEMWORKAREA like line of I_ITEM.
select single
KONDA
BSTDK
BSTDK_E
KDKG2
FROM VBKD INTO corresponding fields of ITEMWORKAREA
WHERE vbkd~vbeln eq I_item-vbeln
AND vbkd~posnr EQ '000'.
select single
KONDA
BSTDK
BSTDK_E
KDKG2
FROM VBKD INTO corresponding fields of ITEMWORKAREA
WHERE vbkd~vbeln eq I_item-vbeln
AND vbkd~posnr EQ I_item-posnr.
select single
bezei
FROM tvm1t
INTO ITEMWORKAREA-BEZEI2
WHERE spras EQ sy-langu
AND mvgr1 EQ I_ITEM-mvgr1.
select single
bezei
FROM tvm2t
INTO ITEMWORKAREA-BEZEI3
WHERE spras EQ sy-langu
AND mvgr2 EQ I_ITEM-mvgr2.
select single
bezei
FROM tvm3t
INTO ITEMWORKAREA-BEZEI4
WHERE spras EQ sy-langu
AND mvgr3 EQ I_ITEM-mvgr3.
select single
bezei
FROM tvm4t
INTO ITEMWORKAREA-BEZEI5
WHERE spras EQ sy-langu
AND mvgr4 EQ I_ITEM-mvgr4.
select single
bezei
FROM tvm5t
INTO ITEMWORKAREA-BEZEI6
WHERE spras EQ sy-langu
AND mvgr5 EQ I_ITEM-mvgr5.
SELECT SINGLE
VTEXT
FROM T178T
INTO ITEMWORKAREA-VTEXT1
WHERE SPRAS EQ SY-LANGU
AND KONDM EQ I_ITEM-KONDM.
SELECT SINGLE
VTEXT
FROM T188T
INTO ITEMWORKAREA-VTEXT2
WHERE SPRAS EQ SY-LANGU
AND KONDA EQ ITEMWORKAREA-KONDA.
SELECT SINGLE
bezei
FROM TVLVT
INTO ITEMWORKAREA-BEZEI1
WHERE ABRVW = I_ITEM-VKAUS.
SELECT SINGLE
vtext
FROM TVKGGT
INTO ITEMWORKAREA-VTEXT3
WHERE KDKGR = ITEMWORKAREA-kdkg2.
ITEMWORKAREA-VBELN = I_ITEM-VBELN.
ITEMWORKAREA-POSNR = I_ITEM-POSNR.
ITEMWORKAREA-MATNR = I_ITEM-MATNR.
ITEMWORKAREA-VKAUS = I_ITEM-VKAUS.
ITEMWORKAREA-SPART = I_ITEM-SPART.
ITEMWORKAREA-NETWR = I_ITEM-NETWR.
ITEMWORKAREA-WAERK = I_ITEM-WAERK.
ITEMWORKAREA-KWMENG = I_ITEM-KWMENG.
ITEMWORKAREA-KONDM = I_ITEM-KONDM.
ITEMWORKAREA-MVGR1 = I_ITEM-MVGR1.
ITEMWORKAREA-MVGR2 = I_ITEM-MVGR2.
ITEMWORKAREA-MVGR3 = I_ITEM-MVGR3.
ITEMWORKAREA-MVGR4 = I_ITEM-MVGR4.
ITEMWORKAREA-MVGR5 = I_ITEM-MVGR5.
modify I_ITEM from ITEMWORKAREA.
CLEAR ITEMWORKAREA.
ENDLOOP.
Fill the control record Information.
CLEAR CONTROL_RECORD_OUT.
MOVE CONTROL_RECORD_IN TO CONTROL_RECORD_OUT.
CONTROL_RECORD_OUT-DIRECT ='1'.
control_record_out-MESTYP = C_CREDIT_MSGTYPE.
control_record_out-IDOCTP = C_CREDIT_IDOITY.
control_record_out-RCVPRT = 'LS'.
control_record_out-RCVPRN = 'EXTERNAL'.
Checking whether there is support item
LOOP AT i_item.
IF
NOT i_item-bstdk IS INITIAL OR
NOT i_item-mvgr1 IS INITIAL OR
NOT i_item-mvgr2 IS INITIAL OR
NOT i_item-mvgr3 IS INITIAL OR
NOT i_item-mvgr4 IS INITIAL OR
NOT i_item-mvgr5 IS INITIAL OR
NOT i_item-konda IS INITIAL OR
NOT i_item-kondm IS INITIAL OR
NOT i_item-bstdk_e IS INITIAL OR
NOT i_item-kdkg2 IS INITIAL OR
NOT i_item-vtext1 IS INITIAL OR
NOT i_item-vtext2 IS INITIAL OR
NOT i_item-vtext3 IS INITIAL OR
NOT i_item-bezei1 IS INITIAL OR
NOT i_item-bezei2 IS INITIAL OR
NOT i_item-bezei3 IS INITIAL OR
NOT i_item-bezei4 IS INITIAL OR
NOT i_item-bezei5 IS INITIAL OR
NOT i_item-bezei6 IS INITIAL.
flag = 1.
ELSE.
flag = 0.
ENDIF.
endloop.
if flag = 1.
FILL THE DATA RECORD
W_SALES_ORDER-VBELN = I_ITEM-VBELN.
FS_INT_EDIDD-SEGNAM = C_SALES_ORDER_NUMBER.
FS_INT_EDIDD-SDATA = W_SALES_ORDER-VBELN.
APPEND FS_INT_EDIDD TO INT_EDIDD.
W_MATERIAL-MATNR = I_ITEM-MATNR.
W_MATERIAL-SPART = I_ITEM-SPART.
FS_INT_EDIDD-SEGNAM = C_MATERIAL_DETAILS.
FS_INT_EDIDD-SDATA = W_MATERIAL.
APPEND FS_INT_EDIDD TO INT_EDIDD.
W_MVGR1-MVGR1 = I_ITEM-MVGR1.
W_MVGR1-BEZEI = I_ITEM-BEZEI2.
FS_INT_EDIDD-SEGNAM = C_PRODUCT_LINE.
FS_INT_EDIDD-SDATA = W_MVGR1.
APPEND FS_INT_EDIDD TO INT_EDIDD.
W_MVGR2-MVGR2 = I_ITEM-MVGR2.
W_MVGR2-BEZEI = I_ITEM-BEZEI3.
FS_INT_EDIDD-SEGNAM = C_PRODUCT_NAME.
FS_INT_EDIDD-SDATA = W_MVGR2.
APPEND FS_INT_EDIDD TO INT_EDIDD.
W_MVGR3-MVGR3 = I_ITEM-MVGR3.
W_MVGR3-BEZEI = I_ITEM-BEZEI4.
FS_INT_EDIDD-SEGNAM = C_PRODUCT_VERSION_DETAILS.
FS_INT_EDIDD-SDATA = W_MVGR3.
APPEND FS_INT_EDIDD TO INT_EDIDD.
W_MVGR4-MVGR4 = I_ITEM-MVGR4.
W_MVGR4-BEZEI = I_ITEM-BEZEI5.
FS_INT_EDIDD-SEGNAM = C_PRODUCT_PLATFORM_DETAILS.
FS_INT_EDIDD-SDATA = W_MVGR4.
APPEND FS_INT_EDIDD TO INT_EDIDD.
W_MVGR5-MVGR5 = I_ITEM-MVGR5.
W_MVGR5-BEZEI = I_ITEM-BEZEI6.
FS_INT_EDIDD-SEGNAM = C_PRODUCT_APPSERVER_DETAILS.
FS_INT_EDIDD-SDATA = W_MVGR5.
APPEND FS_INT_EDIDD TO INT_EDIDD.
W_KONDM-KONDM = I_ITEM-KONDM.
W_KONDM-VTEXT = I_ITEM-VTEXT2.
FS_INT_EDIDD-SEGNAM = C_COMPILER_CODE.
FS_INT_EDIDD-SDATA = W_KONDM.
APPEND FS_INT_EDIDD TO INT_EDIDD.
W_KONDA-KONDA = I_ITEM-KONDA.
W_KONDA-VTEXT = I_ITEM-VTEXT1.
FS_INT_EDIDD-SEGNAM = C_LANGUAGE_CODE .
FS_INT_EDIDD-SDATA = W_KONDA.
APPEND FS_INT_EDIDD TO INT_EDIDD.
W_VKAUS-VKAUS = I_ITEM-VKAUS.
W_VKAUS-BEZEI = I_ITEM-BEZEI1.
FS_INT_EDIDD-SEGNAM = C_RUNTIME_BANDCODE .
FS_INT_EDIDD-SDATA = W_VKAUS.
APPEND FS_INT_EDIDD TO INT_EDIDD.
W_SUPPORT-BSTDK = I_ITEM-BSTDK.
W_SUPPORT-BSTDK_E = I_ITEM-BSTDK_E.
W_SUPPORT-KDKG2 = I_ITEM-KDKG2.
W_SUPPORT-VTEXT = I_ITEM-VTEXT3.
FS_INT_EDIDD-SEGNAM = C_SUPPORT.
FS_INT_EDIDD-SDATA = W_SUPPORT.
APPEND FS_INT_EDIDD TO INT_EDIDD.
W_AMOUNT-NETWR = I_ITEM-NETWR.
W_AMOUNT-KWMENG = I_ITEM-KWMENG.
W_AMOUNT-WAERK = I_ITEM-WAERK.
FS_INT_EDIDD-SEGNAM = C_AMOUNT.
FS_INT_EDIDD-SDATA = W_AMOUNT.
APPEND FS_INT_EDIDD TO INT_EDIDD.
ENDIF.
IF FLAG = 0.
*MESSAGE E003 WITH I_ITEM-vbeln.
RAISE E003.
ENDIF.
ENDFUNCTION.There are 2 kinds of parameters.
IMPORT and EXPORT.
Importing parameters - Values passed from calling program to FM
Exporting parameters - Results from FM passed back to calling program.
In your case the calling program will be the user exit.
In the calling program the interface will be reverse. It will define the import and export parameters from the calling program perspective.
In your FM there are 2 import parameters according to the FM.
IMPORTING
*" VALUE(CONTROL_RECORD_IN) LIKE EDIDC STRUCTURE EDIDC
*" VALUE(OBJECT) LIKE NAST STRUCTURE NAST
The FM needs these values from the calling program.
When you call the program the interface will look like this.
CALL FUNCTION 'Z_IDOC_OUTPUT_CREDIT'
Exporting
CONTROL_RECORD_IN = control_record
OBJECT = nast
........etc
control_record and nast are declared in your user-exit. there values will be exported to the FM. FM will import these values.
You can insert this FM call using pattern. Position the cursor where you want to include the FM and click on pattern on the application tool bar and give the FM name. It will give the interface. You can simply populate that.
Thanks and Regards,
Lakshmi. -
Hi friends need some help !
i want to recreate a custom program which will give the output same as VF01. i did the same for VL09 .it worked fine and
I just copied the program going to the System-->status
into my zreport..
but incase of VF01 when i am copying the SAPMV60A AND EXECUTING i am getting some error....
How to copy it...Is there any simple wayHi,
To copy a module pool program go to se80 and enter the program name and copy the program to the zprogram.
After that go to SCREENS tab and double click on the first screen.
Go to Layout.In Screen Painter EDIT - Select All.
Go to Utilities - Upload / download and then click on Download which will download the screen data into a file.
Go to your Zprogram .create the same screen number and go the screen painter .
Utilities - Upload and select the downloaded file.
In the Select File Window select the Encoding as Default (ANSI for Unicode Systems) and upload.in the same way you have to upload all the screens from the Standard Program to ZProgram.
Reward Points if useful..
Regards
R Adarsh -
Hi friends need some help while creating background job
I need to run a batch report in background in SM36 when any cancellation of sales order is done in VL09.
i.e when a cancellation of sales order is done i have to run a batch report which will call an IDOC outbound generation function module that will create the IDOC.....
Please tell me how to do this.....Hi,
To submit backgroud jobs.
Call Function 'Job_Open'.
SUBMIT <report name>
WITH <input variants>
USER sy-uname
VIA JOB <job name>
AND RETURN.
If sysubrc eq 0.
Call Function 'Job_Close'.
Reward if helpfull. -
Need some help in Rounding a double value to a whole number
Hey Peeps,
Need some help here, I got a method that returns a value in double after a series of calculation.
I need to know how can I round the double value, so for example,
1. if the value is 62222.22222222, it rounds to 62222 and
2. if the value is 15555.555555, it rounds to 15556
How can i do this
ZubHi Keerthi- Try this...
1. if the value is 62222.22222222, it rounds to 62222 and
double d = 62222.22222222;long l = (int)Math.round(d * 100); // truncatesd = l / 100.0;
double d = 62222.22222222;
System.out.println(d);
long l = (int)Math.round(d * 100);
// truncatesSystem.out.println(l);
d = l / 100.0;System.out.println(d);
for (int i = 0; i < 1000; i++)
{ d -= 0.1;}
for (int i = 0; i < 1000; i++)
{ d += 0.1;}System.out.println(d);
regards- Julie Bunavicz
Output:
62222.22222222
62222
62222.22
62222.22000000000001 -
Ok i got my iPod from my brothers friend and my IPod says "iPod is disabled connect to iTunes" then my computer says cannot get onto iPod because I need the iPod passcode and of course I cannot put it in so I need some help please
Try placing in DFU mode and then restoreing.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings -
Need some help with guitar setup...
jeez, never thought i'd be asking a question like this after playing for like 20 years, but i need some help with a guitar setup for mac. i'm gonna list out a lot of crap here that prolly doesn't affect anything at all, but here goes.
Imac 17inch G4 - latest updated OS X... 10.4, or 5, or whatever. garageband 3.0
digitech gnx-3
alesis sr-16
sure mic's
yamaha e203 keyboard
here's the setup:
yamaha is on its own on a usb uno midi interface, sure's connected to gnx's xlr port, alesis connected to gnx's jam-a-long input, '87 kramer vanguard connected to gnx's guitar input. currently running headphones out on gnx to line in on mac.
here's the problem:
everything works beautifully, but my guitar sounds like crap. if i plug headphones into the gnx, it sounds beautiful. that makes me think its some kind of level issue between the gnx's output, and the mac's input, but nothing seems to fix it.
by sounding like crap, i mean way too much bass. sound is muddy, blurry, not crisp... aka crap. i've tried altering both output and input on mac and gnx, and i cant get a combination that works. the gnx has a s/pdif out, can the mac accept that as input? might that help? short of running the gnx to my marshal half stack and mic'ing that, anyone have any suggestions, or use a similar setup?
any help would be greatly appreciated!anyone? ... any suggestions? I think it might be an issue with the gnx pre-amping the signal as it goes out, and then the mac amping it on the way in, giving me a buttload more signal than i need, but since i cant find a happy level, i'm not really sure. i really dont want to resort to mic'ing my marshall... even with the volume almost off, my jcm900 is WAY too loud for apartment use. its not like i really NEED the guitar to sound perfect, i only use garageband to sketch out ideas for songs between myself and bandmates, but its really annoying to not have my customary crisp distortion. my bass player keeps telling me to use the built in amps, but, not to dis a practically free program, but the built in amps blow, at least after 10 years of marshall tube amplification they do. if anyone has any suggestions that might be helpfull on how i might resolve this, i would be your best friend for life and go to all your birthday parties
-
Need some help frist time useing dreamweaver
Hey all,
I am totaly new to Dreamweaver and am needing some help. I am
needing to make a feedback form. Would need it to e-mail me the
feedback to something like [email protected] I also need to know
how to make a footer for the copyright and desiged by, on each page
without having to manually entering them. Any help I could get
would be awsome.There are only two ways to process form data -
1. Use mailto:[email protected] as the action of the form
2. Use a server-side scripting method to a) harvest the
form's data, b)
process it in some manner, e.g., enter it into a database, c)
formulate and
send an email to one or more email recipients, and d)
redirect the visitor
to some ending page
Method 1 is quite simple, and is also the least reliable. It
depends both
on your visitor having an email client already installed on
their computer -
this eliminates public computers, or home users without email
clients
installed (more and more it seems) - and on the installed
email client
responding to
the mailto call. It is not possible to use this method *and*
send the
visitor to a
thank you page as well.
Method 2a is the preferred method, since it eliminates the
problems of
method
1, but it means that you have to grapple with
server-scripting somehow (ASP,
CF, PHP, perl, etc.).
Method 2b would be to use some third-party form processing,
like
http://www.bebosoft.com/products/formstogo/.
You would have to decide which of these methods is best for
your needs,
but if it's Method 2a, then start by asking your host what
they provide for
form
processing. If it's 2b, then read their FAQ/instructions
carefully.
For your footer, investigate the use of DW's Templates (use
F1 Help to read
about them), or of server-side includes (again, F1 Help will
give you some
info here, as will Google).
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Xysos_Designs" <[email protected]> wrote in
message
news:[email protected]...
> Hey all,
> I am totaly new to Dreamweaver and am needing some help.
I am needing to
> make
> a feedback form. Would need it to e-mail me the feedback
to something like
> [email protected] I also need to know how to make a
footer for the
> copyright
> and desiged by, on each page without having to manually
entering them. Any
> help
> I could get would be awsome.
> -
Need some help - function that strips html tags
Hey peeps,
Need some guidance.
I need help to write a function that will strip html tags from a string. So for examples if I have the following string:
myString = "<p>This is a Paragraph</p>"; after runing the function it should return the string: "This is a Paragraph".
Could anyone plz point me in the right direction on how to do this.
Thanks,
ZubSystem.out.println(myString.replaceAll("<[^>]++>\\s*", ""));
-
Remote App on iPad connects but drops after about 20 mins. Need to turn off wait about 1 minute, then turn on wifi on iMac before it can reconnect. Need some help please.
Already gone through troubleshooting guide a zillion times. Thanks.This worked for me... A little time consuming but once you get rolling it goes GREAT... Thanks....
I got my artwork and saved it to my Desktop
Opened up Microsoft Paint and clicked on "File" and "Open" and found it to get it on the screen to resize it
Clicked "resize" and a box for changing it opened up
Checked the box "Pixels" and "Unchecked maintain aspect ratio"
Set Horizontal for 640 and Vertical for 480
Clicked on "OK" and went back to "File" and did a "Save As" and chose JPEG Picture
It came up "File Already Existed" and clicked "OK" (really did not care about the original artwork I found because wrong size)
Went to iTunes and on the movie right clicked on "Get Info", clicked on "Details", then "Artwork"
Go to the little box on the top left that shows your old artwork and click on it to get the little blue border to appear around it and hit "Delete" to make it gone
Click on "Add Artwork" and find it where you put the one from above on your Desktop and hit "Open" and OK and your new artwork is now there and all good.
Sounds like a lot of steps to follow but after around 5 or so you will fly through it. This worked perfect on my iPhone 6 Plus and I have artwork on my Home Videos now. -
TS1702 I need some help the apps were downloading slowly
The apps downloaded but it didn't cause it's stuck in downloading mode what should I do?
The iOS 6 update didn't work.
Please I need some help.
The apps didn't download.
Talking Angela and Ginger didn't download.
Talking Santa didn't update.Try moving the existing backup file to a safe location so that iTunes has to create an entire new file. The backup file is located here. You can delete that backup once you get a successfull backup.
iTunes places the backup files in the following places:
Mac: ~/Library/Application Support/MobileSync/Backup/
Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
Note: If you do not see the AppData or Application Data folders, you may need to show hidden files (Windows XP, Windows Vista and Windows 7), or iTunes may not be installed in the default location. Show hidden files and then search the hard drive for the Backup directory. -
Need some help: my itunes won't sync with my iphone anymore. Both softwares are up to date and I've reinstalled itunes. After I reinstall, it syncs. But then when I reboot my computer, it no longer syncs anymore and I have to keep reinstalling itunes. Thoughts???
thought that it was possible to have the same iTunes library on any machine that was authorised, a kind of cloud-iTunes I guess.
That would convenient, but sadly it is not the case. Sorry!
Either way your welcome and best of luck!
B-rock
Maybe you are looking for
-
The CSS in Sharepoint won't show.
Hello. I've edited the style sheet in the Site pane, saved and published it. But every time I visit the page, the changes are not there. If I then go to the Site pane and press edit style sheet, the changes appear. This means that people that visit t
-
550 5.7.1 NDR's as mail volume from IIS Virtual SMTP server to Exchange 2010 increases
We have a virtual win 2008 server that has a Virtual SMTP server running via IIS. A separate application on this server drops emails in the pickup directory to forward to our Exchange 2010 environment and this works fine. The odd issue is that as the
-
Import video frames to layers question..
When importing a rather large file, it is taking the space up on my C: drive which is an SSD and doesn't have a ton of room. By chance, is there a way to change it, so that photoshop will use the space on my secondary drive instead?
-
Tables panel extension makes it easy to mockup tables in Fireworks
The new Tables panel is now available for download! This extension enables you to quickly mock up HTML-style tables without having to laboriously position each cell or border. Although it's relatively straightforward to arrange elements in a grid
-
Waveforms can lie! Except when zoomed all the way in!
I need to edit a one-hour clip of a wedding. It was originally shot on a Sanyo HD1000 (which is some weird kind of h264) in 720P, but that plays fine and in sync in FCP. Just to make sure the mp4 format isn't causing trouble, I took the file into the