Customer address in smartform
hi all,
i need to show customer address in the smartform for tht i need to fetch address no from table vbpa on the basis of vbeln n according to tht address no i need to fetch address from adrc
how to write the query for this
Hi,
data:v_adrnr type adrnr.
select ADRNR
from vbpa
into v_adrnr
up to 1 rows
where vbeln = '0000010106'
and parvw = '1A'.
endselect.
if sy=subrc eq 0 and V_adrnr is not intial.
Select <Fields>
from adrc
into table <Internal tbale>
where adrnr = v_adrnr.
endif.
Regards
Jana
Similar Messages
-
Hi Experts,
I am using the standard feature for displaying customer address in my Smartforms.
Is there any way I can change the font for the address?
Thanks and Regards,
RaviHi Ravi,
In the New Style, you need to create a paragrapgh format, there in that paragraph format, give the perfect font size, then use this Smartstyle and the paragrapgh format for your Address in the Smartform
Regards
Sudheer -
Query on inserting Address in SMARTFORMS.
Hi All,
In my Smartform there is an Address Node of type( Organization Address ) which fetches the Address of Sold-to or Ship-to party based on Country..
Now we want that the Address which is fetched should all be converted to upper-case irrespective of the entry.
Is there any tab in the standard Address node in smartform through which we can convert the address fetched to upper-case.
OR
Is it possible to check out for the fields which have been used in Organization Address so as to code it with variables from tables.
Please let me know for the most appropriate solutions for this.
Thanking you in advance.
Sudip.Hi Sree,
This is a standard Address-node which is being used.If you have seen any standard Address-node then you will remember.
It appears as I have described below in the SMARTFORM Address-Node.
Address CUSTOMER_ADDRESS
Description Customer Address
Type : Organization Address (Radio-button)
Personal Address(Radio-button)
Workplace Address(Radio-button)
Determine Dynamically (Radio-button)
Address Number &Z_CUST_ADDR_NUMBER&
Person Number
Output Starts with Paragraph *
Number of Lines to be Used 4
Sending Country US
If PO Box and Street Exist:
Fixed Language for Country Indicator
Different Recipient Language
Priority of Lines
This is what is there in the SMARTFORM.I need to convert the Address fetched to uppercase.Is there any option in the Address node where we can convert to uppercase or any other way.If not then I need to get the exact fields from the Organization Address and code it.But as there can be many customers or Addressee from different countries like US or Africa then they can use different formats for Address like some can use Region in there Address some might not use it.
So how do I code it also.
Thanking in advance,
Sudip. -
Company Address and sold party address in smartforms
Hi Experts,
How to fetch the Company Address in Heading window based on Plant . Sold to party address in smartform
How to do this .
Pls helpme
Thanks in Advance
purnaneeluHi,
Plant address you can get from table T001W by passing the plant name ( WERKS ).
Sold-to-party is nothing but customer, so you have to fetch the ADRNR from table KNA1 passing customer number ( KUNNR ), and pass ADRNR to table ADRC to get all address details.
Regards
Karthik D -
Dunning letters generation when customer address is changed
Hi,
For some customers no dunning letters were generated. After investigation inactive bill-to site should be activated as invoices were assigned to this bill-to.
How is possible to make that dunning letters generated when customer address is changed and customer can receive letters to new address for all its invoices?
Any help will be appreciated!
BR, JChi
I have created one sales order example X and i created the another sales order Y with respect to X
Is this X sales document is closed????
And I also changed the address of the ship to party in sales document Y.
Did you assgined another SP to sales Document Y
If you have chnaged the address for SP in customer master then it will reflect to both
Also it will not chnage the ADRESS NO in VBPA table, but it will update the address -
Function module for displaying customer address changes detail
Hi ,
Can anyone tell me any code or function module which gives me customer addresses before changes or after changes customer address.
Regards,
Gaurav T.GT,
First check acustomer in 'XD04' which has got some change doc history. See all changes in XD04 for that customer.
Then go to CDHDR table,
OBJECTCLAS = 'DEBI'.
OBJECTID = Customer Number (10 digit with 0 padding).
UDATE = Update/change date (Take from XD04).
Run the table & put the same values in CDPOS along with the CDHDR-CHANGENR & get the field wise changes in Customer with new & old values.
Try this out or else call me.
Regards,
SP. -
Customer Receivable Aging report - customer Address
Hi ,
when i am doing print preview by using the selection one customer per page and i have captured customer address also now i want the customer address to reflect on every page as same of customer.
Thanks & Regards-
Monica KaraniIt is not possible to include customer address in the B1 aging report. You must customize the report using crystal report or microsoft reporting service.
JImM -
Hi friends,
I need to retrieve data for the customer address, which table should I look into
Thankshiii..
KNA1-General Data in Customer Master
KNAS-Vat registration numbers general section
KNB1-Customer Master (Company Code)
KNB4-Customer Payment History
KNB5-Customer master (Dunning Data)
KNBK-Customer Master (Bank Details)
KNC1-Customer Master (Transaction Figures)
KNC3-Customer Master(Special G/l transaction figures)
KNKA-Customer master credit management:Central data
KNKK-Customer master credit management:Control Area data
KNMT-Customer Material info record data tables
KNVA-Customer Master Loading points
KNVD-Customer Master record sales request form
KNVI-Customer master tax indicator
KNVK-Customer master contact partner
KNVS-Customer master shipping data
Regards,
D Rana -
ADRMAS IDoc for customer address
Hi,
I am trying to send the customer address information via ALE. We are using a custom message type (ZDEBMAS) to send the customer data. I am aware that additional address information can be sent using ADRMAS. However, this message type is linked to a BAPI and I am unable to trigger the IDoc. I have activated the change pointers for ADR2MAS, ADR3MAS & ADRMAS as suggested in previous posts. I have also added the BAPI in the Model view with Object type - BUS4001 and Method - SAVEREPLICA. Partner profiles have been generated as well.
Can anyone guide me as to what I am missing? Any help is greatly appreciated.
Thanks!
SheetalHey,
I think there are two possible problems:
1. Please log in to XI system,
check in transaction IDX1,
which RFC destination is used for the system SAPR3D.
than test this RFC destination in transaction SM59.
2. Please check (via transaction WE30) that the IDOC in the ECC 6.0
have the same fields as the IDOC in 4.6C.
If they have different fields, than you must change the field "version" of channel of the 4.6c system (in the Integration builder configuration). -
Hi,
Is there a transaction to get all the customer addresses in a report? For example, customer number and customer address.
Thank you.
HakanHi,
In the KNA1 table get the ADRNR which is the Address number
Now goto the table ADRC with the ADRNR and get the customer address like Name1, Name2,...
Pleaes check and revert if you need more details
regards,
santosh -
Customer Addresses and their Payment Terms
Hello to everyone.
I need to list the customer name, it’s addresses and the payment terms. (Profile:Transaction section of the customer addresses window)
I’m trying to build a query using RA_CUSTOMERS and RA_ADDRESSES_ALL but I don’t know how to link the addresses with the payment terms.
Any help on this issue is highly appreciated.
OctavioSELECT
substrb(party.party_name,1,50) Customer_Name ,
cust.account_number Customer_Number ,
substrb(look.meaning, 1, 8) Site_Use ,
acct_site.cust_acct_site_id Address_Id,
substrb(loc.address1,1,30) Address_Line_1,
substrb(loc.city,1,15) City ,
substrb(loc.state,1,2) State ,
substrb(loc.postal_code,1,10) Zip_Code ,
cust.status Cust_Status,
site_uses.payment_term_id
FROM
ar_lookups look,
ar_lookups look_status,
hz_cust_accounts_all cust,
hz_parties party,
hz_cust_site_uses_all site_uses,
hz_cust_acct_sites_all acct_site,
hz_party_sites party_site,
hz_locations loc
WHERE
cust.cust_account_id = acct_site.cust_account_id
AND cust.party_id = party.party_id
AND acct_site.party_site_id = party_site.party_site_id(+)
AND loc.location_id(+) = party_site.location_id
AND acct_site.cust_acct_site_id = site_uses.cust_acct_site_id(+)
AND look.lookup_type(+) = 'SITE_USE_CODE'
AND look.lookup_code(+) = site_uses.site_use_code
AND look_status.lookup_type(+) = 'CODE_STATUS'
AND look_status.lookup_code(+) = nvl(cust.status, 'A')
ORDER BY
party.party_name ; -
Hi,
Where can I get the list of customer addresses?
Is there any possiblity to get them in the Address format and not in Table format?
I want to get the list,print 4 to 8 addresses on one sheet, so that I can cut and use the addresses to paste on enevelpoes.
Thanks and Regards,
AjitDear Ajit,
The global Table of all Address in SAP is ADRC.
All the address (Customer, Vendors, Brokers, Transporters, etc) is stored in ADRC Table.
From KNA1 Table take Customer Code & Name & Address Number - Feild ADRNR.
From ADRC Table take feild ADDRNUMBER & other address feild like street, city, etc...
The figure in ADRNR & ADDRNUMBER for each Customer would be same.
Now run vlookup in excel & linking figures of ADRNR & ADDRNUMBER. You will have a MAster List ready of Customer Address.
You can follow the same process for Vendor (LFA1) address also.
Hope this helps...
Thanks,
Jignesh mehta
Mumbai -
Missing City Code in Receivables Customer Address
We want to add ALKMAAR, DELFT, ZEVENBERGEN as Cities to select from while creating a customer address. Where is this List of Values coming from? Is it extendable. New eBS user, please explain if possible with your reply.
Thanks.Hello,
Follow the following steps to search for the value set in which all the cities are listed:
1. Descriptive Flexfield Segments --> Query for Application =Receivables - Title: Address
2. Open Segment for the Context where you see your country Address Style assigned.
3. You will see the City value and a corresponding value set name attached.
4. Go to System Administrator --> Validation --> Set
5. Query for the Value you found in step 3 and see whether it is an independent value set or table. The you will be able to add the new cities you want.
HTH,
Vik -
How to add Custom Address Book Application?
I need add my custom address book application, so I has reading docs and wikis about convergence customization but no see clear how to.
I take a dojo tutorial for change event from addres book buttons but may be are not the best practice.
Somebody know information source for solve this please.
Thanks.JCV_ wrote:
I need add my custom address book application, so I has reading docs and wikis about convergence customization but no see clear how to.The "YahooABSPlugin" code in the c11n_sample directory may provides some guidance.
If this still doesn't help then you could contact Sun to get help from Sun Professional Services. Writing a custom Convergence application is far from trivial.
Regards,
Shane. -
Hi Friends,
I have the following code in SAPScript but I need to change it to SmartForms. Can anybody tell me how to handle?
/: ADDRESS PARAGRAPH AS
/: TITLE &SERVICE_ADDRESS-ANRED&
/: NAME &SERVICE_ADDRESS-NAME1&,
&SERVICE_ADDRESS-NAME2&,
&SERVICE_ADDRESS-NAME3&,
&SERVICE_ADDRESS-NAME4&
/: STREET &SERVICE_ADDRESS-STRAS&
/: POBOX &SERVICE_ADDRESS-PFACH&
/: CITY &SERVICE_ADDRESS-ORT01&,
&SERVICE_ADDRESS-ORT02&
/: POSTCODE &SERVICE_ADDRESS-PSTLZ&
/: COUNTRY &SERVICE_ADDRESS-LAND1&
/: REGION &SERVICE_ADDRESS-REGIO&
/: FROMCOUNTRY &SERVICE_ADDRESS-SLAND&
/: ENDADDRESS
I have created one text element under address window of my smartform and I inserted above code.
it's not displaying in the smartform. I checked in debug mode untill smartform calling by the function module. The data is there in that structure.
I don't know how to debug address window.
Could you pls help me. can we use ADDRESS and END ADDRESS in smartform.
Thanks in advance.
Regards
RaghuThanks robert !
In my situation the data is comming from form interface. So, no need to write the select statement again.
What my question is...
if you want to display address in proper format in sap script, will use the below code in the text element editor. am I right? The same way I want to paste the below code in smatform in address window. how?
text node is enough or we have to create program lines code in address window. hope my question .. you understtod.
/: ADDRESS PARAGRAPH AS
/: TITLE &SERVICE_ADDRESS-ANRED&
/: NAME &SERVICE_ADDRESS-NAME1&,
&SERVICE_ADDRESS-NAME2&,
&SERVICE_ADDRESS-NAME3&,
&SERVICE_ADDRESS-NAME4&
/: STREET &SERVICE_ADDRESS-STRAS&
/: POBOX &SERVICE_ADDRESS-PFACH&
/: CITY &SERVICE_ADDRESS-ORT01&,
&SERVICE_ADDRESS-ORT02&
/: POSTCODE &SERVICE_ADDRESS-PSTLZ&
/: COUNTRY &SERVICE_ADDRESS-LAND1&
/: REGION &SERVICE_ADDRESS-REGIO&
/: FROMCOUNTRY &SERVICE_ADDRESS-SLAND&
/: ENDADDRESS
Thanks in advance.
Maybe you are looking for
-
Yesterday I bought a new galaxy s5 as a replacement for so iphone 4. I did not turn off iMessage before I activated the new phone and sent in the old one. Now I can't receive any text messages from people with iphones. This is more than half of my
-
Album does not appear in Albums list but is on iPod
Several albums I have loaded onto my iPod do not show up in the Albums list. The strange thing is, is that they are on the iPod because I can search for the tracks and they are available on the iPod. At first I thought they might be compilation album
-
Save Layout in Tabel maintainence screen
Hello, I need to set a 'Save layout' icon in a Table Maintainence screen in Custom Program. Is it possible to give this Function, so User can select the column to be diplayed & set it as a user Specific layout. I have given already the Select all, De
-
Web Services and Powershell error: Method can not be reflected
I'm trying to use the VSM 9.1 Web Service API with Powershell, however when I run the New-WebServiceProxy cmdlet it throws an error, the inner exception being "Method InfraAPI.KnowledgeUpdate can not be reflected.", and as such I'm unable to proceed
-
Missing notes and documents after using migration assistant
Hey there, I recently "killed" my macbook with a glass of water and tried to at least save all my documents, notes, safari-bookmarks and anything else from the hard disk. I managed to copy all my word / excel documents and downloads and photos etc. m