Required help in Middleware
Hi all,
i want to restrict replication when Business Partner gets changed from Middle ware. But when Business partner gets changed in the same system than it should trigger replication.
For example. System "A" send data to "B" than "B" again should not send a Bdoc. But Business partner gets changed in same system than it should replicate to other sites.
Does any one know solution for the same.
Thanks in advance,
Kushang.
Hi ,
You are correct i can get this information from Header.But i have condition that if BP is save locally than its should go to another site(A). But if another site (A) sends some data than it should not again send it back.
In the system BUPA_MAIN is Simple bulk message so i need to convert create it in Simple inteligent. Is this the proper way ?
I found one BADI: PARTNER_UPDATE which has method
CHANGE_BEFORE_OUTBOUND.Which gets triggered before outbound.
Can i put some code here which will check the condition and on the based of that condition i can stop distribution to site(A). Can any one please tell me what code can stop triggering of distribution.
Thanks in advance.
Kushang.
Similar Messages
-
Hi All....
Required help for one more query.
I have a table with data like this:
Cust_id Transaction_no
111 1
111 2
111 3
111 4
111 5
111 6
222 7
222 8
333 9
333 10
333 11
333 12
I wrote the following query :
select cust_id, ntile(3) over (order by cust_id) "Bucket" from trans_detls
The output is like this :
Cust_id Bucket
111 1
111 1
111 1
111 1
111 2
111 2
222 2
222 2
333 3
333 3
333 3
333 3
The problem is that I dont want the cust_id to overlap in buckets. That is one cust_id should be present in only one bucket.
Is this possible?
Thanks in advance.
AmeyaOr Something like..
SQL> select * from test;
ID NO
111 1
111 2
111 3
111 4
111 5
111 6
222 7
222 8
333 9
333 10
333 11
333 12
12 rows selected.
SQL> select id, ntile(3) over (order by rn) "Bucket"
2 from(
3 select id,row_number() over(partition by id order by no) rn
4 from test);
ID Bucket
111 1
222 1
333 1
111 1
222 2
333 2
111 2
333 2
111 3
333 3
111 3
111 3
12 rows selected. -
Required Help and Documentations for following Scenarios. URGENT
Hi every one,
I require help and materials for following scenarios:
<b>1) RFC to IDOC
2) JDBC to RFC & IDOC
3) Mail to File
4) HTTP to RFC, JDBC & IDOC
5)WEB SERVICES to RFC & IDOC
6) IDOC to ABAP proxy
7) Java Proxy to JDBC</b>
my email id: <u>[email protected]</u>
urgent plzz help me...
Message was edited by:
satish cSatish,
I would suggest to go through sravyas weblogs where she has given all the links to all the scenarios:
/people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
/people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
Also check this weblogs which they have explained with some scenarios:
Following are the links to weblogs which will help to develop the basic scenarios.
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
/people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
/people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
/people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
/people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
/people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
/people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
/people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
/people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
Regards,
---Satish -
Required help on setting up blaze DS.
Hi,
Required help on setting up blaze DS.
I have Blex builder 3 and Blaze DS turnkey version.
Would any one help me in setting up the java application on Blaze DS.
Do i require to place Blaze DS and flex(client code) on same system.
As of now i have Blaze DS on my local system and Flex on one of test server.
Thanks in advance
Regards,
AnilThanks, one question, i have downloded Blaze DS turnkey version, could not srtart tomcat which is in Blaze DS.
Hence making use of tomcat installed on my local system which is works fine. In order to settup Blaze DS i copied required jar files from Blaze DS and flex configuration files(xml files) .
However Flex Builder3 is installed on one of test server, when i tried to create Flex project i could not validate Server location.
Is it required to have both Java server and flex builder on same system? -
I require help with my first website
As you can see from many of my recent posts, I am new to web development, and I have decided that I am going to need some help.
This forum has been a huge help, and I will continue using it, but the reality of the situation is that progress is slow as I am learning as I go, each junction I reach and require help with is holding up progress, which wouldn't be a problem if I had more spare time, but I simply don't.
Is anybody willing to help me? It would be paid work so I would need to discuss how this would work with rates etc... here are some details:
The domain is already setup, and you can see the first page I have been working on here: http://www.elliotnewman.com/index/test7.html
The closet website I can find for your reference is: http://www.jaspaljandu.com/home/
My site will initially not be quite as established as Jaspal's, but in essence the functionality will be similar. The things I know of that I will need help on are:
Setting up the ordering and payment process when a customer wants to order a print, including automated email notifications, and check out forms ( this may also require membership fields or maybe through paypal)
Setting up the interactive framing graphics - ref - http://www.markgray.com.au/gallery/limited-edition-prints/forgotten-island.php
Potentially helping to setup a blog
Work with me on integration - and updates (ie build the all the templates needed so updates and new images can be posted by myself easily)
Automation of the counts of the limited editions
Setting up links to Facebook, twitter, linkedin etc
Reviewing and testing any code that I create
Along with these points I will also need standby help with the code I am directly working on, so file sharing may have to be setup. It is also worth noting that I will supply all the graphics and the design elements for every page, I will also be very specific with briefs as I know exactly what I want to achieve.
If anybody is interested please send me a private message, I would need to see some examples of your experience, details on your availability and your rate - whether thats per day, per hour and a rough estimate on how long you think the work will take.
Also, if anybody knows somebody outside this forum that you think could help me then please also forward this on.
Apologies if this is not the best place to post this.
Elliot.Hi
In addition to Nancy s comments, reading the following line -
Along with these points I will also need standby help with the code I am
directly working on, so file sharing may have to be setup.
What you are basically after is a tutor, to guide you in what you are doing. In this respect it may be worth your while to read-up on designing web pages,as after a quick glance of the code, (from your previous post regarding the background image ) the main problem you are having is that you are not 'implementing' a consistent design/development procedure.
Try reading the following -
General tutorials on html, css, etc - http://www.w3schools.com/.
Design of web site, general - http://articles.sitepoint.com/article/principles-beautiful-web-design.
PZ
www.pziecina.com -
it says GarageBand can’t be installed on “Untitled” because Mac OS X version 10.9.0 or later is required. help what is this
Welcome to Apple Support Communities
The most recent GarageBand version requires OS X Mavericks, so you can't install it until you upgrade Mac OS X.
You can download Mavericks from the Mac App Store free of charge. Make a backup of your files with Time Machine and check that your apps are compatible > http://www.roaringapps.com
After upgrading, open the Mac App Store and download GarageBand free of charge -
How do I enable file downloads without requiring helper applications?
Firefox is now requiring helper applications for "apt" downloads. I don't want that. I just want to download files and install by hand. How do I regain always having the option to simply download any file, of any type?
What is an APT file?
Are you getting the Open/Save/Cancel dialog, or the Save/Cancel dialog, or is Firefox attempting to open the file directly?
Firefox generally associates programs or plugins with content types instead of file extensions. This information may be gleaned from your operating system or from plugins. This information is stored in a file named mimeTypes.rdf and is maintained automatically, so it's risky (and might be fruitless) to edit the file by hand... -
I have just purchased a 5S iphone, when I tried to sync with my Imac it comes up with "...requires iTunes version 11.1 or later.." my iTunes version is 10.6.3, I rechecked software updates but says there is no updates required??? I checked when last auto update was done which was 01/07/12 I also tried downloading from web iTunes version 11.1.5 but it wont load because I don't have min version 10.6.8. What can I do to sort this out? Note: I am a not computer savy so be easy on me.
If your computer is running an OS X prior to Snow Leopard 10.6,
the answer (if it is an Intel-based Mac; not old PowerPC model)
would be to buy the retail Snow Leopard 10.6 DVD from Apple
for about $20, and install it. Then update that to 10.6.8 by using
the installed Snow Leopard online to get Combo Update v1.1 for
Snow Leopard 10.6.8. After that is installed & updated, run the
system's Software Update again, to see what else is available to
that system.
Later systems can then be looked into at Mac App Store, once
the computer is running Snow Leopard 10.6.8.
And if your computer is a Power PC (G4/G5, etc) and has no
Core2Duo kind of CPU -- See "About this Mac" in apple menu
to disclose the general info about your Mac. Also you can see
even more by clicking on "More Info" when looking in there...
If it isn't an Intel-based Mac, it can't run a system past 10.5.8.
Hopefully this helps.
Good luck & happy computing! -
Required help for badi for GL tab in MIRO transaction
Hi,
I am working in MIRO transaction.
I am having a requirement as below:
While creating invoices, In the gl tab when we enter gl account number system should populate Tax jurisdiction code by default.
I am using BADI EXTENSION_US_TAXES method MM_ITEM_TAX_MODIFY but it populates the tax jurisdiction in PO reference tab not in GL tab.
Please advice
Regards,
Suvarna NandiHi
Have you tried with enhancement FYTX0002? See also Note 302998 - Collecting fields for user-exit. It's an idea.
I hope this helps you
Regards
Eduardo -
Hi all..
I required some help in writing a query..
My table is like this
Cust_id Cust_type Del_status Incharge
111 Gold HD
222 Gold
333 Gold HD
444 Gold
123 Gold HD
456 Gold
789 Gold HD
987 Gold
555 Silver HD
666 Silver HD
777 Silver
888 Silver
I want a query to generate this output
Cust_id Cust_type Del_status Incharge
111 Gold HD 1
222 Gold 1
333 Gold HD 1
444 Gold 1
555 Silver HD 1
777 Silver 1
123 Gold HD 2
456 Gold 2
789 Gold HD 2
987 Gold 2
666 Silver HD 2
888 Silver 2
The query basically allocates the customers to incharges... based on cust_type and del_status.
there are 3 categories, Gold Customers, Silver Customers and HD customers..
It should divide this three equally amongst the 2 incharges...
Also this is just a sample data... actually table consists of around 3Lac customers and 12 incharges
Sorry if its a incorrect post..
Thanks in advance..Is there a way to find the value for ntile(2) dynamically?
I tried something like
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
SQL> with mytable as (select 111 cust_id, 'Gold' cust_type, 'HD' del_status from dual UNION ALL
2 select 222 cust_id, 'Gold' cust_type, null del_status from dual UNION ALL
3 select 333 cust_id, 'Gold' cust_type, 'HD' del_status from dual UNION ALL
4 select 444 cust_id, 'Gold' cust_type, null del_status from dual UNION ALL
5 select 123 cust_id, 'Gold' cust_type, 'HD' del_status from dual UNION ALL
6 select 456 cust_id, 'Gold' cust_type, null del_status from dual UNION ALL
7 select 789 cust_id, 'Gold' cust_type, 'HD' del_status from dual UNION ALL
8 select 897 cust_id, 'Gold' cust_type, null del_status from dual UNION ALL
9 select 555 cust_id, 'Silver' cust_type, 'HD' del_status from dual UNION ALL
10 select 666 cust_id, 'Silver' cust_type, 'HD' del_status from dual UNION ALL
11 select 777 cust_id, 'Silver' cust_type, null del_status from dual UNION ALL
12 select 888 cust_id, 'Silver' cust_type, null del_status from dual UNION ALL
13 select 1001 cust_id, 'Copper' cust_type, null del_status from dual UNION ALL
14 select 1002 cust_id, 'Copper' cust_type, 'HD' del_status from dual UNION ALL
15 select 1003 cust_id, 'Copper' cust_type, null del_status from dual
16 )
17 select t1.cust_id
18 , t1.cust_type
19 , t1.del_status
20 --, ntile(3) over (partition by nvl(t1.del_status,t1.cust_type) order by t1.cust_id)
21 , ntile((select count(distinct nvl(t2.del_status,t2.cust_type))-1 from mytable t2)) over (parti
tion by nvl(del_status,cust_type) order by cust_id)
22 incharge
23 from mytable t1
24 order by incharge, t1.cust_type, t1.cust_id
25 /
, ntile((select count(distinct nvl(t2.del_status,t2.cust_type))-1 from mytable t2)) over (partition
ERROR at line 21:
ORA-30488: argument should be a function of expressions in PARTITION BY
SQL> The number of incharges could change during the time.
Message was edited by:
Sven Weller -
Required help in improving the performance
Hi I am very new to java concept, I am working with an API, where the records are being processed in for loop, and taking time, to process 10k records it is taking almost 35 min, and as I have incorporated in my apex, if the multiple users using the same that stage the performance even being dropped, it is taking almost near to an hour, somehow with the help of online tutors, I was able to incorporate oracle.sql.array, not able to increase the performance,
My first requirement is there is any way that I can process the records parallel in batches, or not how do I increase the performance, and I got know that by enabling setautoindex and setautobuffer on we can increase the performance, but I could not do that can anyone help me on this.Hi
I apologize for not adding the process in the initial phase
The task for me to pass the records from my table to api, and update the results given by the api, the steps involved are
1) I have created type of strarray and have assigned the same to rec1,rec2 in my stored procedure
2) rec1 is the input details which consist of batch_id unique identifier by batch,row_id unique identifier for the batch and the contact address information.
3) rec2 is the output for rec1, where i will get the batch_id,row_id, and formatted address in output form
4) I will capture the opt put in temp table and update these results to the input table
5) With this stored procedure, i am not able to allow parallel transaction i..e multiple users
6) As records are being processed row by row, consuming time
Here is the code, Please let me know if you need more information on this.
PROCESS_INT (REC_IN, REC_OUT); which will call the following process
public static int process(oracle.sql.ARRAY rec_in, oracle.sql.ARRAY[] rec_out) {
// If everything has been initialized then we want to write some data
// to the socket we have opened a connection to
if (m_clientSocket != null && m_out != null && m_in != null) {
try {
String[] record = (String[])rec_in.getArray();
for (int i = 0; i < 9; i++) {
if (record[i] != null)
m_out.println(record);
else
m_out.println("");
m_out.flush();
// Read the result
for (int i = 0; i < 14; i++) {
record[i] = m_in.readLine();
Connection conn = new OracleDriver().defaultConnection();
ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor( rec_in.getSQLTypeName(), conn );
rec_out[0] = new ARRAY( descriptor, conn, record );
} catch (UnknownHostException e) {
System.err.println("Unable to connect to lqtListener: " + e);
return -1;
} catch (IOException e) {
System.err.println("IOException in process: " + e);
return -2;
} catch (SQLException e) {
System.err.println("SQLException in process: " + e);
return -4;
else
return -3;
return 0; -
Require Help on using Roll Up in Query
I have a list of records like:
COL1 COL2 COL3 COL4 COL5 COL6 COL7
ABCGENCY GBP 670 123 6/20/2008 7/21/2008 0162101
BBAGENCY USD 108 347 9/26/2008 5/11/2008 0722102
BBAGENCY EUR 630 999 1/14/2008 2/27/2008 0763104
ABCGENCY THB 400 697 4/12/2008 7/14/2008 0762409
Now, my requirement is, i need to write a query to return the sum of COL5 for the combination of COL1 and COL2. My Output records are suppose to be as follows:
COL1 COL2 COL3 COL4 COL5 COL6 COL7
ABCGENCY GBP 670 123 6/20/2008 7/21/2008 0162101
ABCGENCY THB 400 697 4/12/2008 7/14/2008 0762409
820
BBAGENCY USD 108 347 9/26/2008 5/11/2008 0722102
BBAGENCY EUR 630 999 1/14/2008 2/27/2008 0763104
1346
Friends, Please do help me in framing the query for the above.I don't require the first query and union.
I need -- something as u mentioned
select col1,null,null,sum(col4),null,null,null from tab t
group by col1 ...
But in my query i have all the other columns also with values.
Hence i am unable to group by col1 with sum(col4) alone...rather i have been forced to bring all the other columns used in the select statement to group by clause which is not resulting with my expected output. -
Require help on the Query related to where condition
Hi All,
i am a java developer and was required to write a query for some of my operations to get the data from oracle database.
i am stuck at one point. please help me.
i have table with 3 columns.
ID | Name | Value
1 | ser | x
1 | Bus | a
1 | pol | b
2 | ser | x
2 | Bus | a
2 | pol | c
3 | ser | y
3 | Bus | a
3 | pol | b
4 | ser | y
4 | Bus | d
4 | pol | e
i have written query like below.
Select ID from table where Name in ('ser','Bus','pol') and Value in ('x','a','b');
i am getting out put as ID = 1,2,3
but i should get the output as ID=1
i should get the ID which satisfies all the given attributes and values.
i cannot use the AND for each Name and Value here as i the no.of values inName or Value field may increase and that will be dynamically passed from my java class.
Immediate help is appreciated.
thanks a lotSomething like this will deal with multiple values and treat the name value pairs together...
SQL> ed
Wrote file afiedt.buf
1 with t as (select 1 as ID, 'ser' as Name, 'x' as Value from dual union all
2 select 1, 'Bus', 'a' from dual union all
3 select 1, 'pol', 'b' from dual union all
4 select 2, 'ser', 'x' from dual union all
5 select 2, 'Bus', 'a' from dual union all
6 select 2, 'pol', 'c' from dual union all
7 select 3, 'ser', 'y' from dual union all
8 select 3, 'Bus', 'a' from dual union all
9 select 3, 'pol', 'b' from dual union all
10 select 4, 'ser', 'y' from dual union all
11 select 4, 'Bus', 'd' from dual union all
12 select 4, 'pol', 'e' from dual)
13 --
14 -- end of test data
15 --
16 ,i as (select 'ser|x,Bus|a,pol|b' as r from dual)
17 --
18 -- end of input
19 --
20 ,split as (select regexp_substr(r,'[^,]+',1,rn) as pair
21 from i
22 cross join (select rownum rn
23 from dual
24 connect by rownum <= (select length(regexp_replace(r,'[^,]'))+1 from i))
25 )
26 select id
27 from t, split
28 where name = regexp_substr(pair,'[^|]+',1,1)
29 and value = regexp_substr(pair,'[^|]+',1,2)
30 group by id
31* having count(*) = (select count(*) from split)
SQL> /
ID
1It's then just a case of providing the input in the correct format. -
Hi All,
My design wont allow Delta loads because the transformation source is an InfoSet. To limit the data in these loads, I require a filter in the DTPs on fiscal year/period then only load I can load the current month and 2 prior months. Now we are updating manually for the DTPs. To eliminate this monthly task a dynamic filter (routine) needs should be used rather than a static filter.
So I have written as follows But in the debugger mode am able to see the -3months to the current date but records are not filtered. Any help please
*& Include RSBC_SEL_ROUTINE_TPL -
program conversion_routine.---
Type pools used by conversion program---
type-pools: rsarc, rsarr, rssm.---
tables: rssdlrange.---
Global code used by conversion rules---
$$ begin of global - insert your declaration only below this line ----
TABLES: ...---
DATA: ...------
$$ end of global - insert your declaration only before this line ----
Fieldname = F139---
data type = NUMC---
length = 000007---
form compute_F139---
tables l_t_range structure rssdlrange---
changing p_subrc like sy-subrc.---
Insert source code to current selection field---
$$ begin of routine - insert your code only below this line ----
data: l_idx like sy-tabix.---
read table l_t_range with key---
fieldname = '/bic/0FISCPER' .---
l_idx = sy-tabix.---
DATA: w_date TYPE SY-DATUM,---
w_date1 type sy-datum,---
lv_idate(8) type n,---
lv_odate(8) type n,---
lv_date1(7) type n,---
lv_date2(8) type n.---
CONCATENATE SY-DATUM0(4) SY-DATUM4(2) sy-datum+6(2) into W_DATE.---
CALL FUNCTION 'SEPA_MANDATE_ADD_MONTH_TO_DATE'---
EXPORTING---
MONTHS = '-3'---
OLDDATE = W_DATE---
IMPORTING---
NEWDATE = W_DATE1.---
Concatenate W_DATE0(4) W_DATE4(2) W_DATE+6(2) into lv_Idate.---
Concatenate W_DATE10(4) W_DATE14(2) W_DATE1+6(2) into lv_odate.---
Concatenate '0' W_DATE4(2) '.' W_DATE0(4) into lv_date2.---
Concatenate '0' W_DATE14(2) W_DATE10(4) into lv_date1.---
CALL FUNCTION 'UMC_CALDAY_TO_FISCPER'---
EXPORTING---
I_PERIV = 'K1'---
I_CALDAY = lv_Idate---
IMPORTING---
OUTPUT = lv_date1.---
CALL FUNCTION 'UMC_CALDAY_TO_FISCPER'---
EXPORTING---
I_PERIV = 'K1'---
I_CALDAY = lv_odate---
IMPORTING---
OUTPUT = lv_date2.---
*l_t_range-iobjnm = '0FISCPER'.---
l_t_range-fieldname = '/bic/0FISCPER'.---
l_t_range-sign = 'I'.---
l_t_range-option = 'GE'.---
l_t_range-low = lv_date1.---
*l_t_range-high = lv_date2.---
if l_idx <> 0.---
modify l_t_range index l_idx.---
else.---
append l_t_range.---
endif.---
p_subrc = 0.---
$$ end of routine - insert your code only before this line ----
endform.---
-Ashwin
Edited by: ashwin kumar on Jun 16, 2010 10:04 AM1. In the future, please use a meaningful subject line, like "loop not performing last iteration." Just saying "Help in my java code" is useless. We know you need help with your Java code, else you wouldn't be posting here.
2. Repost your code without those annoying superfluous asterisks, and with proper indentation in the section that they are currently polluting. It's too hard to read as-is. -
Required help to the proforma invoice layout
Dear Experts
My client requires the following things in the proforma invoice
1.Seller address and VAT number
2.Truck No
3. Pallet No
4.Place of Loading (Ship From)
5.Commodity code number
6.Quantity in Pallets
7.quantity in cases/bandles
8.Price in EURO for Cases/Bandles
9. country of origin
10. Seller reference, ex: PO no
11.Proforma Invoice number
12. Proforma Invoice date
13. total Value
14. Freight Value.
Please give me the tables and fields from where to invoice data is flowing
Issue is very urgent
Please help me on this
Thanks & Regards
JanardhanHi Janarthan,
Plase go through the following field mapping which is you required.
1.Seller address: With the help of ABAPer, You can extract address data from ADRC table.
VBRK-STCEG OR KNA1-STCEG --VAT number
2.Truck No: VTTK-SIGNI
3. Pallet No:
4.Place of Loading (Ship From): LIPS-LSTEL
5.Commodity code number
6.Quantity in Pallets
VBRP-FKIMG Qty
VBRP-VRKMEUoM (MVKE-VRKME=PAL)
7.quantity in cases/bandles:
VBRP-FKIMG --- Qty.
VBRP-VRKME --- unit of measure (MVKE-VRKME=CSE)
8.Price /currency(EURO)/UoM (Cases/Bandles):
KOMV-KBETR / RV61A-AWEIN (currency, sale unit)
9. Country of origin: ADRC-COUNTRY
10. Seller reference, ex: PO no: VBKD-BSTKD
11.Proforma Invoice number: VBRK-VBELN
12. Proforma Invoice date: VBRK-ERDAT
13. total Value: VBRK-NETWR
14. Frieght Value: KOMV-KBETR where KONV-KSCHL=FB00
Reward points pls.
Regards,
Govind.
Maybe you are looking for
-
WCF Getting Started Tutorial - Topic #3
This is a second question related to the WCF Getting Started tutorial. My environment is Visual Studio 2013 running as administrator (Ultimate, if that makes any difference). I worked through the first two modules, entering code along the way as ins
-
Transaction key KDM (OBYC) in Subcontracting scenario
Hi gurus, Our client has the following scenario: KDM has been configured in OBYC for foreign exchange differences between GR and IR. The GL account maintained for KDM gets picked up when we do GR and IR for a standard PO. However, when we do a subcon
-
Why does the "Edit in" window in Lightroom takes me to an old uninstalled version of Photoshop
I have Lightroom 4.2 and Photoshop extended CS6. When in Lightroom I ope the "Edit in" Window it leads to an older version that I have unistalled. I have tried Unistalling Lightroom 4.2 an Install it again to no effect.
-
Beginner - Add value if number 0
I need help. I am trying to add column E to column D only if column D is > 0. I have tried to read through the Function and formula manual without success. Please help.
-
Dock quit and wont open anymore.
Just a while ago my dock froze. I went to Activity Monitor, clicked on the dock process, and clicked quit on the top left corner in the window. The dock did not restart. I logged off and logged back in and my desktop had a different background (the o