ABAP SD PRINTS CHANGE COMPANY ADDRESS
Hi experts,
I have a problem. The address of the company is changed, therefore we also need to update our address in the SAP system. We change the address in (founded at discussion):
a) OX10
b) SO10:
c) OBY6:
However, the printout appears still with our old address.
Please Help.
Best regards,
Mateusz Zimny
Hi,
Thanks for the reply, I change it there, but didn't help. I copy and paste ZRFKORD80, it is program for print. Could you look at it?
REPORT zrfkord80 MESSAGE-ID fb NO STANDARD PAGE HEADING.
*=======================================================================
* Datenteil
*=======================================================================
INCLUDE rfkori00.
INCLUDE rfkori04.
TABLES: spell.
DATA: gv_l1 TYPE tdline,
gv_l2 TYPE tdline,
gv_l3 TYPE tdline,
gv_l4 TYPE tdline,
kpkw02 TYPE char30.
DATA: hcajo_number LIKE tcj_c_journals-cajo_number.
DATA: hsubrc LIKE syst-subrc.
* Tables (RFKORI00)
* Datenfelder für den Report RFKORD00
* Teil 1 : Einzelfelder (RFKORI00)
* Teil 2 : Strukturen (RFKORI00)
* Teil 3 : Interne Tabellen (RFKORI00)
* Teil 4 : Konstanten (RFKORI00)
* Teil 5 : Field-Symbols
* Teil 6 : Select-Options und Parameter
* Teil 7 : Field-Groups
* Teil 5 : Field-Symbols
* Teil 6 : Select-Options und Parameter
begin_of_block 2.
PARAMETERS: rforid LIKE rfpdo1-allgevfo.
PARAMETERS: sortvk LIKE rfpdo1-kordvarb.
PARAMETERS: dspras LIKE rfpdo1-kord30as.
PARAMETERS: xdispl TYPE xfeld DEFAULT 'X'.
PARAMETERS: danzzl LIKE adrs-anzzl DEFAULT '3' NO-DISPLAY.
end_of_block 2.
begin_of_block 8.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) text-110 FOR FIELD tddest.
SELECTION-SCREEN POSITION POS_LOW.
PARAMETERS tddest LIKE tsp01-rqdest VISIBLE LENGTH 11.
SELECTION-SCREEN POSITION POS_HIGH.
PARAMETERS rimmd LIKE rfpdo2-f140immd DEFAULT ' '.
SELECTION-SCREEN COMMENT 61(15) text-111 FOR FIELD rimmd.
SELECTION-SCREEN END OF LINE.
PARAMETERS: prdest LIKE tsp01-rqdest VISIBLE LENGTH 11.
end_of_block 8.
begin_of_block 4.
SELECT-OPTIONS: rbukrs FOR bkorm-bukrs,
rkoart FOR bkorm-koart NO-DISPLAY,
rkonto FOR bkorm-konto NO-DISPLAY,
rbelnr FOR bkorm-belnr.
SELECT-OPTIONS: rgjahr FOR bkorm-gjahr.
PARAMETERS: rxbkor LIKE rfpdo-kordbkor.
PARAMETERS: revent LIKE bkorm-event.
SELECT-OPTIONS: rusnam FOR bkorm-usnam.
SELECT-OPTIONS: rdatum FOR bkorm-datum.
SELECT-OPTIONS: ruzeit FOR bkorm-uzeit.
SELECT-OPTIONS: rerldt FOR bkorm-erldt.
SELECT-OPTIONS: rcajon FOR tcj_documents-cajo_number.
PARAMETERS: rxtsub LIKE xtsubm NO-DISPLAY.
PARAMETERS: rxkont LIKE xkont NO-DISPLAY,
rxbelg LIKE xbelg NO-DISPLAY,
ranzdt LIKE anzdt NO-DISPLAY,
rkauto TYPE c NO-DISPLAY,
rsimul TYPE c NO-DISPLAY,
rpdest LIKE syst-pdest NO-DISPLAY.
PARAMETERS: rindko LIKE rfpdo1-kordindk NO-DISPLAY.
PARAMETERS: rspras LIKE rf140-spras NO-DISPLAY.
PARAMETERS: title LIKE rfpdo1-allgline NO-DISPLAY.
end_of_block 4.
* Teil 7 : Field-Groups
*=======================================================================
* Vor dem Selektionsbild
*=======================================================================
* Initialization
INITIALIZATION.
get_frame_title: 2, 4, 8.
*=======================================================================
* Hauptablauf
*=======================================================================
* Eingabenkonvertierung und Eingabenprüfung
AT SELECTION-SCREEN.
PERFORM check_eingabe.
* Start-of-Selection
SET BLANK LINES ON.
START-OF-SELECTION.
save_repid = 'ZRFKORD80'.
rf140-repid = 'ZRFKORD80'.
IF NOT rxbkor IS INITIAL.
save_event = revent.
save_rxbkor = rxbkor.
ENDIF.
save_forid = rforid.
* SAVE_TKOID = RTKOID.
save_tddest = tddest.
save_prdest = prdest.
save_pdest = rpdest.
save_rxtsub = rxtsub.
save_rimmd = rimmd.
save_dspras = dspras.
save_anzzl = danzzl.
save_rsimul = rsimul.
* IF SORTKZ = '1'
* OR SORTKZ = '2'.
* ELSE.
* SORTKZ = '1'.
* ENDIF.
* SAVE_SORT = SORTKZ.
save_sortvk = sortvk.
CLEAR hlp_t021m_k.
IF NOT save_sortvk IS INITIAL.
PERFORM sort_felder USING 'K' 'B'.
ENDIF.
kautofl = rkauto.
CLEAR xbkorm.
CLEAR countp.
CLEAR hbukrs.
REFRESH hbukrs.
LOOP AT rbukrs.
MOVE-CORRESPONDING rbukrs TO hbukrs.
APPEND hbukrs.
ENDLOOP.
LOOP AT rcajon.
MOVE-CORRESPONDING rcajon TO hcajon.
APPEND hcajon.
ENDLOOP.
IF NOT rxtsub IS INITIAL.
PERFORM prot_import.
ENDIF.
PERFORM message_init.
PERFORM currency_check_for_process USING save_repid.
IF alwcheck IS INITIAL
AND NOT alwlines IS INITIAL.
LOOP AT alw_bukrs.
IF alw_bukrs-bukrs IN rbukrs.
alwcheck = 'X'.
ENDIF.
ENDLOOP.
ENDIF.
* Datenselektion
IF t048-event NE save_event.
PERFORM read_t048.
ENDIF.
IF NOT rxbkor IS INITIAL.
PERFORM fill_selection_bkorm.
sortid = '6'.
PERFORM read_bkorm.
ELSE.
PERFORM selection_ohne_bkorm.
ENDIF.
* End-of-Selection
END-OF-SELECTION.
*-------Daten extrahiert ?----------------------------------------------
IF xextra IS INITIAL.
PERFORM message_no_selection.
ELSE.
* Sortierung
SORT BY hdbukrs sortk1 sortk2 sortk3 sortk4 sortk5 hdkoart
hdkonto hdbelgj hdkoar2 hdkont2 hdusnam hddatum hduzeit.
* Ausgabe
PERFORM kassenbelege.
ENDIF.
*=======================================================================
* TOP-OF-PAGE
*=======================================================================
TOP-OF-PAGE.
PERFORM batch-heading(rsbtchh0).
ULINE.
*=======================================================================
* Interne Perform-Routinen
*=======================================================================
* Interne Belege Formulardruck
INCLUDE zrfkori50.
* Leseroutinen
INCLUDE rfkori70.
* Leseroutinen
INCLUDE rfkori80.
INCLUDE rfkori81.
* Allgemeine Unterroutinen
INCLUDE rfkori90.
INCLUDE rfkori92.
* Routinen für Extract
INCLUDE rfkori91.
* Allgemeine Unterroutinen für Messages und Protokoll
INCLUDE rfkori93.
* User-Exits für Korrespondenz
*NCLUDE RFKORIEX.
* FORM ANALYSE_UND_AUSGABE
FORM analyse_und_ausgabe.
CLEAR xkausg.
CLEAR xnach.
CLEAR hsubrc.
hcajo_number = save_cajon.
IF NOT save_belnr IS INITIAL.
CLEAR xprint.
CLEAR tcj_c_journals.
CLEAR tcj_cj_names.
CALL FUNCTION 'FCJ_GET_CAJO_DATA2'
EXPORTING
i_comp_code = save_bukrs
i_cajo_number = hcajo_number
i_langu = save_langu
IMPORTING
e_tcj_c_journals = tcj_c_journals
e_tcj_cj_names = tcj_cj_names
EXCEPTIONS
* CAJO_NOT_EXISTENT = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
hsubrc = sy-subrc.
ENDIF.
CLEAR tcj_documents.
CALL FUNCTION 'FCJ_GET_DOCUMENT'
EXPORTING
i_comp_code = save_bukrs
i_cajo_number = hcajo_number
i_posting_number = save_belnr
IMPORTING
e_tcj_documents = tcj_documents
EXCEPTIONS
* NOT_FOUND = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
hsubrc = sy-subrc.
ENDIF.
CLEAR htcj_positions.
REFRESH htcj_positions.
CALL FUNCTION 'FCJ_GET_POSITIONS'
EXPORTING
i_comp_code = save_bukrs
i_cajo_number = hcajo_number
i_posting_number = save_belnr
TABLES
itcj_positions = htcj_positions
EXCEPTIONS
* NOT_FOUND = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
hsubrc = sy-subrc.
ENDIF.
CLEAR htcj_wtax_items.
REFRESH htcj_wtax_items.
CALL FUNCTION 'FCJ_GET_WT'
EXPORTING
i_comp_code = save_bukrs
i_cajo_number = hcajo_number
i_fisc_year = save_gjahr
i_posting_number = save_belnr
* I_POSITION_NUMBER =
TABLES
itcj_wtax_items = htcj_wtax_items
EXCEPTIONS
* NO_WTAX_ITEMS_GET = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* PERFORM READ_BKPF.
* APPEND HBKPF.
IF hsubrc = 0.
** IF BKPF-BSTAT = 'V'
* IF BKPF-BSTAT = 'W'
* OR BKPF-BSTAT = 'Z'.
* CLEAR FIMSG.
* FIMSG-MSORT = ' '. FIMSG-MSGID = 'FB'.
* FIMSG-MSGTY = 'I'.
* FIMSG-MSGNO = '856'.
* FIMSG-MSGV1 = BKPF-BSTAT.
* FIMSG-MSGV2 = BKPF-BUKRS.
* FIMSG-MSGV3 = BKPF-BELNR.
* FIMSG-MSGV4 = BKPF-GJAHR.
* PERFORM MESSAGE_APPEND.
* XKAUSG = 'X'.
* ELSE.
CLEAR save_budat.
rf140-title = title.
PERFORM kassenbelege_ausgeben.
* ENDIF.
ELSE.
* CLEAR FIMSG.
* FIMSG-MSORT = ' '. FIMSG-MSGID = 'FB'.
* FIMSG-MSGTY = 'I'.
* FIMSG-MSGNO = '547'.
* FIMSG-MSGV1 = SAVE_BUKRS.
* FIMSG-MSGV2 = SAVE_BELNR.
* FIMSG-MSGV3 = SAVE_GJAHR.
* PERFORM MESSAGE_APPEND.
* XKAUSG = 'X'.
ENDIF.
* ENDIF.
ELSE.
CLEAR hbkormkey.
CLEAR herdata.
hbkormkey-bukrs = hdbukrs.
hbkormkey-koart = hdkoart.
hbkormkey-konto = hdkonto.
hbkormkey-belnr = save_belnr.
hbkormkey-gjahr = save_gjahr.
CONDENSE hbkormkey.
herdata-usnam = hdusnam.
herdata-datum = hddatum.
herdata-uzeit = hduzeit.
CLEAR fimsg.
fimsg-msort = ' '. fimsg-msgid = 'FB'.
fimsg-msgty = 'I'.
fimsg-msgno = '294'.
fimsg-msgv1 = save_event.
fimsg-msgv2 = hbkormkey.
fimsg-msgv3 = herdata.
PERFORM message_append.
xkausg = 'X'.
ENDIF.
ENDFORM. "ANALYSE_UND_AUSGABE
* FORM CHECK_EINGABE
FORM check_eingabe.
DESCRIBE TABLE rerldt LINES erllines.
IF NOT erllines IS INITIAL.
IF erllines = '1'
AND rerldt-low IS INITIAL
AND rerldt-high IS INITIAL.
CLEAR xerdt.
ELSE.
xerdt = 'X'.
ENDIF.
ELSE.
CLEAR xerdt.
ENDIF.
IF xdispl IS INITIAL.
print = 'X'.
ENDIF.
IF NOT rxtsub IS INITIAL.
print = 'X'.
ELSE.
IF sy-batch IS INITIAL.
IF sscrfields-ucomm EQ 'PRIN'. "no difference between starting
sscrfields-ucomm = 'ONLI'. "with F8 or F13
* IF SY-UCOMM = 'PRIN'.
* SY-UCOMM = 'ONLI'.
print = 'X'.
xonli = 'X'.
ENDIF.
ELSE.
* IF SY-UCOMM = 'PRIN'.
print = 'X'.
* ENDIF.
ENDIF.
ENDIF.
IF NOT sy-batch IS INITIAL
OR ( sy-batch IS INITIAL
AND ( sscrfields-ucomm = 'PRIN'
OR sscrfields-ucomm = 'ONLI' ) ).
* AND ( SY-UCOMM = 'PRIN'
* OR SY-UCOMM = 'ONLI' ) ).
IF rxbkor IS INITIAL.
IF sy-batch IS INITIAL.
IF NOT rindko IS INITIAL
AND rspras IS INITIAL.
* IF SY-BATCH IS INITIAL.
SET CURSOR FIELD 'RSPRAS'.
* ENDIF.
MESSAGE e490.
ENDIF.
ELSE.
IF NOT rindko IS INITIAL.
MESSAGE e499.
ENDIF.
ENDIF.
* IF NOT REVENT IS INITIAL
* AND RINDKO IS INITIAL.
* IF SY-BATCH IS INITIAL.
* SET CURSOR FIELD 'REVENT'.
* ENDIF.
* MESSAGE W451.
* ENDIF.
IF revent IS INITIAL.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'REVENT'.
ENDIF.
MESSAGE e450.
ENDIF.
DESCRIBE TABLE rerldt LINES erllines.
IF NOT erllines IS INITIAL.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'RERLDT-LOW'.
ENDIF.
MESSAGE w452.
ENDIF.
DESCRIBE TABLE rusnam LINES usrlines.
IF NOT usrlines IS INITIAL.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'RUSNAM-LOW'.
ENDIF.
MESSAGE w478.
ENDIF.
DESCRIBE TABLE rdatum LINES datlines.
IF NOT datlines IS INITIAL.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'RDATUM-LOW'.
ENDIF.
MESSAGE w479.
ENDIF.
DESCRIBE TABLE ruzeit LINES timlines.
IF NOT timlines IS INITIAL.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'RUZEIT-LOW'.
ENDIF.
MESSAGE w480.
ENDIF.
ELSE.
IF NOT rindko IS INITIAL
AND NOT rspras IS INITIAL.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'RSPRAS'.
ENDIF.
MESSAGE e491.
ENDIF.
IF revent IS INITIAL.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'REVENT'.
ENDIF.
MESSAGE e450.
ENDIF.
IF NOT revent IS INITIAL.
CLEAR t048.
SELECT SINGLE * FROM t048
WHERE event = revent.
IF sy-subrc = 0.
CASE t048-anzdt.
WHEN '0'.
IF NOT t048-xkont IS INITIAL.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'REVENT'.
ENDIF.
MESSAGE e463 WITH revent.
ENDIF.
WHEN OTHERS.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'REVENT'.
ENDIF.
MESSAGE e462 WITH revent.
ENDCASE.
ELSE.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'REVENT'.
ENDIF.
MESSAGE e460 WITH revent.
ENDIF.
ENDIF.
ENDIF.
IF sortvk IS INITIAL.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'SORTVK'.
ENDIF.
MESSAGE e830.
ELSE.
SELECT SINGLE * FROM t021m
WHERE progn = 'RFKORD*'
AND anwnd = 'KORB'
AND srvar = sortvk.
IF sy-subrc NE 0.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'SORTVK'.
ENDIF.
MESSAGE e832 WITH sortvk.
ENDIF.
ENDIF.
IF NOT rindko IS INITIAL
AND revent IS INITIAL.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'REVENT'.
ENDIF.
MESSAGE e450.
ENDIF.
IF NOT rindko IS INITIAL
AND NOT revent IS INITIAL.
IF t048-event NE revent.
SELECT SINGLE * FROM t048
WHERE event = revent.
IF sy-subrc NE 0.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'REVENT'.
ENDIF.
MESSAGE e460 WITH revent.
ENDIF.
ENDIF.
IF t048-xspra IS INITIAL.
IF sy-batch IS INITIAL.
SET CURSOR FIELD 'RINDKO'.
ENDIF.
MESSAGE e500 WITH revent.
ENDIF.
ENDIF
Similar Messages
-
Change company address for report: PC00_M40_PTX - Form 5
Dear Experts,
I want to change company address for report PC00_M40_PTX - Form 5. Can you please help me?
Note: Personnel area address already maintain
Thanks and regards,
Mayur
Edited by: Mayur114 on Jul 20, 2011 3:04 PMHi,
I checked the program, in which Include - PCPTXIN6_PDF line no 57 is used for checking the address & displaying in the output.
In that CONCATENATE sadr-name1 sadr-name2 is used for the Empr address part. Check in ur case Name2 is having any entry or not.
The name1 & name2 is 35 character length and it can be maintained in V_T001. Select the Company code & SHIFT+F5, both the fields are on top of the Name header. You can mention the details there & do a test run to check by using both the Function modules.
Regards,
Prasad lad -
How to Change Company Address In Oracle EBS
Hi,
We several reports where Company Address is Showing.
Our Company Address Has been Changed,
Where is that location in Oracle Financial to Change Address
Version 12.X
Regards
NEWCOMHi;
Please see implementation guide:
http://docs.oracle.com/cd/E18727_01/doc.121/e13425/T348488T391474.htm
Regard
Helios -
Hi
Standard SAP Report - s_pl0_86000028 is picking up the old company address. I have changed the company address in the global data (OBY6)...but still it is picking up the old address. Any idea on how can bring the new address?
Thanks
S!Hi,
Which field you are updating it is BUTXT in Table V_T001 check in se11(Company Name)
i checked in my system it is working.
after changing the text come out of report and execute again.
Regards,
Shayam
Edited by: Shayam_210 on Sep 8, 2011 7:51 AM -
PDFG IPP Printer --- Change Sender Address
We have recently purchased LiveCycle ES PDFG and want to use the built-in IPP printing functionality. We have it working for the most part but the process fails at our SMTP server. Our SMTP servers only accepts senders address with valid domains. The error is as follows: <br /><br />2009-03-10 15:49:34,379 INFO [com.adobe.ipp.pdfgclient.EmailSender] EmailSender error : 553 5.1.8 <serviceaccount@LIVECYCLESERVERNAME>... Domain of sender address serviceaccount@LIVECYCLESERVERNAME does not exist<br />2009-03-10 15:49:34,379 INFO [STDOUT] java.lang.Exception: 553 5.1.8 <sa-serviceaccount@LIVECYCLESERVERNAME>... Domain of sender address sa-serviceaccount@LIVECYCLESERVERNAME does not exist<br /><br />I've configured the following services with a valid domain ID to authenticate to our SMTP server (Email 1.0; EmailService 1.0; provider.email_sendmail_service 1.0) and populated the "from" field in Email 1.0 with a valid domain account as well. Restarted all the services, rebooted the server... still no luck.<br /><br />Forgive me, but I don't have much experience with this product. We have a very short turnaround to roll this out and any help would be appreciated. Cheers.
We have recently purchased LiveCycle ES PDFG and want to use the built-in IPP printing functionality. We have it working for the most part but the process fails at our SMTP server. Our SMTP servers only accepts senders address with valid domains. The error is as follows: <br /><br />2009-03-10 15:49:34,379 INFO [com.adobe.ipp.pdfgclient.EmailSender] EmailSender error : 553 5.1.8 <serviceaccount@LIVECYCLESERVERNAME>... Domain of sender address serviceaccount@LIVECYCLESERVERNAME does not exist<br />2009-03-10 15:49:34,379 INFO [STDOUT] java.lang.Exception: 553 5.1.8 <sa-serviceaccount@LIVECYCLESERVERNAME>... Domain of sender address sa-serviceaccount@LIVECYCLESERVERNAME does not exist<br /><br />I've configured the following services with a valid domain ID to authenticate to our SMTP server (Email 1.0; EmailService 1.0; provider.email_sendmail_service 1.0) and populated the "from" field in Email 1.0 with a valid domain account as well. Restarted all the services, rebooted the server... still no luck.<br /><br />Forgive me, but I don't have much experience with this product. We have a very short turnaround to roll this out and any help would be appreciated. Cheers.
-
Company address to be printed in a new window
Hi all,
I need to print the Company address in a new window. I have created the window, and i have included the standard text to print the Company address, which was specified in the technical Details. But still i don't see the address. Should the address number has to be passed to the standard text ? If so, How it has to be done?
Thanks,
ABAPerHi,
If it is a standard text address, pass as follows:
/: INCLUDE &T024E-TXADR& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS&
Check table T024 for the standard text line.
or pass it as
/: ADDRESS PARAGRAPH AS
/: TITLE &LFA1-ANRED&
/: NAME &LFA1-NAME1&, &LFA1-
/: STREET &LFA1-STRAS&
/: POBOX &LFA1-PFACH& CODE &
/: CITY &LFA1-ORT01&, &LFA1-
/: POSTCODE &LFA1-PSTLZ&
/: COUNTRY &LFA1-LAND1&
/: REGION &LFA1-REGIO&
/: FROMCOUNTRY &T001-LAND1&
/: ENDADDRESS
Regards
Subramanian -
How to change company code address in Print form used
Hi.
I have maintained the company address under the gobal data in config. However when I used the print form to print out the invoice from AP (FBL1N -> correspondence -> Request), the address of the sender / company code is different.
How do I change the address from the form / invoice ? How to find out where the form pulls the data from ? I tried SE71 but couldn't trace out anytime.
Please help.
Thanks.
AngelCheck your configuration.
Please follow the following steps:
IMG ==> Financial Accounting ==> Accounts Receivables and Accounts Payables ==> Customer Accounts ==> Line Items ==> Correspondence ==> Make and Check Settings for Correspondence
Define Correspondence Types
Create Report Variants for Correspondence
Assign Programs for Correspondence Types
Define Form Names for Correspondence Print (even you assign your form to blank company code also)
If you complete these steps you will get the spool request get generated.
Please ask your ABAPer to change the company code address and logo etc. on the form.
You go to FB12 - request for the statement
then go to F.61
Then go to SP02 - Take print out.
Regards,
Ravi -
Settings in program RFF0GB_T for printing the company code address?
Hi All,
I want to print the company code address in the header window of the sapscript. I copied the F110_IN_AVIS to Z .
in the Program RFF0GB_T, the structure SADR whose fields are being used gets filled up if the finaa-nacha = 2 means of Fax type.
How do I change the settings or change in the program to change it to make it to print?
Please help
Rgds,
Madhuri
Edited by: madhuri sonawane on Dec 24, 2008 10:06 AMHello Chandra,
FYI, plz check the code. As per your stmt the config will populate the structure SADR. Plz see the code & clarify how & where the config comes into play.
INCLUDE RFFORI06.
PERFORM avis_schreiben.
FORM avis_schreiben.
IF finaa-nacha EQ '2' AND finaa-formc NE space.
PERFORM adresse_lesen USING t001-adrnr.
ENDIF.
ENDFORM.
INCLUDE RFFORI99.
* FORM ADRESSE_LESEN *
* Lesen einer Customizingadresse (z.B. Buchungskreisadresse) *
* Read customizing address (e.g. address of company code) *
* ADRNR - address number *
FORM adresse_lesen USING value(adrnr).
PERFORM addr_get USING 'CA01' adrnr.
ENDFORM.
* FORM GET_ADDR *
* Lesen einer Adresse *
* Read address *
* ADRGR - address group *
* ADRNR - address number *
FORM addr_get USING adrgr adrnr.
CHECK adrnr NE sadr-adrnr.
CLEAR addr1_sel.
addr1_sel-addrnumber = adrnr.
CALL FUNCTION 'ADDR_GET'
EXPORTING
address_selection = addr1_sel
address_group = adrgr
IMPORTING
address_value = addr1_val
sadr = sadr
EXCEPTIONS
OTHERS = 4. "SADR40A
IF sy-subrc NE 0.
CLEAR sadr.
ENDIF.
ENDFORM. " GET_ADDR
If you still think that SADR is populated through config, can you tell where exactly in FBZP do you config this ?
BR,
Suhas -
How do I change a printer's IP address, !again! :(
O Great, Knowledgeable and Kind printer gurus,
I'm in a similar situation to Peter Minter's old archived thread at
http://discussions.apple.com/thread.jspa?messageID=2188292?
... So I'm sorry to be the next confused person Sorry to be asking ask a question that has probably already been answered multiple times, in which case blush, and a pointer to the answer would be great.
I have a Linksys Ethernet switch into which I've plugged
1. RJ45 carrying signal to/from an Apple Airport Router's Ethernet LAN output plug (Router gets its input from my Cable Modem)
2. RJ45 carrying signal to/from Mac Mini
3. RJ45 carrying signal to/from Mac Al-PowerBook G4
4. RJ45 carrying signal to/from HP LaserJet 5M
1, 2, and 3 are networking just fine to one another and out to the Internet, and have been fine for months.
It's the LaserJet 5M that I've just gotten that I can't figure out how to configure so's I can print to it.
Via its test page output, the printer reports its current IP addr to be 0.0.0.0 , subnet mask NOT SPECIFIED, def gateway 0.0.0.0 , config by RARP/BOOTP
Via its network status panel, the mini reports:
IP: 10.0.1.2
Subnet Mask: 255.255.255.0
Router: 10.0.1.1
Via its network status panel, the PowerBook G4 reports:
IP: 10.0.1.4
Subnet Mask: 255.255.255.0
Router: 10.0.1.1
In slot 4 of the Linksys switch, I used to have an HP Print Server that made a network printer out of an old HP LaserWriter 4ML's parallel port. Damned if I remember how I changed the HP Print Server's IP addr., but I did somehow!
The newer HP LaserJet 5M has an RJ45 input so it's networkable directly, but I think I need to be able to reach into it (I think via Telnet from TERMINAL running in either of the two Macs) and change its IP addr to something in the local subnet. Maybe it "should" be 10.0.1.3.
However, try as I might, I cannot open a TELNET connection to 0.0.0.0 or any machine:
==============
DrDans-AL-PbG4:~ DrDan$ date
Sat Jul 29 09:52:43 EDT 2006
DrDans-AL-PbG4:~ DrDan$ telnet
telnet> open 0.0.0.0
Trying 0.0.0.0...
telnet: connect to address 0.0.0.0: Connection refused
telnet: Unable to connect to remote host
telnet> open 10.0.1.2
Trying 10.0.1.2...
telnet: connect to address 10.0.1.2: Connection refused
telnet: Unable to connect to remote host
telnet> open 10.0.1.1
Trying 10.0.1.1...
telnet: connect to address 10.0.1.1: Connection refused
telnet: Unable to connect to remote host
telnet> quit
DrDans-AL-PbG4:~ DrDan$ date
Sat Jul 29 09:53:34 EDT 2006
DrDans-AL-PbG4:~ DrDan$
==============
So, from the AL-PbG4 (10.0.1.4) I can't OPEN connections to all the IP addresses I "should" be able to see. Hmm. I must be doing something wrong.
Even if I could contact the HP printer, how would I change its IP addr, and what should I change it to? 10.0.1.3 or maybe 10.0.1.200 ?
MacOSX 10.4.7, Printer Setup Utility Version 4.6(161.9)
Given that the HP printer's directly on the LAN thru the switch -- should I use "HP Jet Direct - Socket" protocol, or Internet Printing Protocol (IPP) or Line Printer Daemon (LPD) protocol? Simply baldly getting in there and assigning the addresses 10.0.1.3 or 10.0.1.200 on HP Jet Direct - Socket" protocol doesn't seem to produce a working queue. I also select Print Using HP LaserJet 5M. No soap.
Any hints? Should I d/l a better/higher functionality configuration tool from HP? I'm about Googled out on this, and what I think to be an exhaustive search in this HELP area doesn't give me the info I think I need. Wot am I doing wrong, pls? Any more info I can provide? Happy 2 do it. TIA for any cycles you can spare.I appreciate the feedback VERY much, Kappy, and at the beginning of my most recent (and successful!) hacking session, I thought that you were helping me "fail forward" ... but it all turned out OK, thanx to you!
When I get the printout of the "MENU MAP" the HP MIO menu shows only
CFG NETWORK = NO
so with your welcome hint, I just found that if I go into the HP MIO menu and change NO to YES*, I can keep going... and I can even get to where I can change the TCP/IP addr!
As (I believe) befits an important setting area like CFG NETWORK, setting it to YES* holds only for ONE application. When you come back from READY status, HP MIO's CFG NETWORK is set back to NO.
But if I've just arrived and have set CFG NETWORK to YES* and keep going, I see choices like
NOVELL = OFF*/ON (I left that at OFF*, no Novell hereabouts)
DLC/LLC = OFF*/ON (not understanding what that is, I left it at OFF*)
TCP/IP = ON*/OFF (I can set it ON* and it will "stick" from entry-from-READY to future entry-from-READY -- like I've turned it ON and it stays on)
ETALK = ON/OFF*
Encouragingly next, I see
CONFIG TCP/IP = YES*/NO
BOOTP* = YES/NO*
Then I get to a place where I can enter
TCP BYTE 1 = 0*
and I can move that byte up until it reads
TCP BYTE 1 = 10*
and the same through the rest of the TCP BYTES:
TCP BYTE 2 = 0*
TCP BYTE 3 = 1*
TCP BYTE 4 = 3*
These settings persist from CONFIG TCP/IP to the next CONFIG TCP/IP session, so that's good...
Next in the menu options, I see
SM BYTE 1 = 0* which I assume means Subnet Mask, so I alter that to be the same as the other members of my LAN (correct me if these settings are wrong, please?)
SM BYTE 1 = 255*
SM BYTE 2 = 255*
SM BYTE 3 = 255*
SM BYTE 1 = 0*
These settings persist from CONFIG TCP/IP to the next CONFIG TCP/IP session, so that's also good...
Next the menu offers me
LG BYTE 1 = 0*
LG BYTE 2 = 0*
LG BYTE 3 = 0*
LG BYTE 4 = 0*
I have no idea whatever what LG means, so I didn't change that. Same for the next choice:
GW BYTE 1 = 0*
GW BYTE 2 = 0*
GW BYTE 3 = 0*
GW BYTE 4 = 0*
Finally, the CONFIG TCP/IP = YES* menu offers
TIMEOUT = 90*
and the possible values range from 0 through 3600. Having no idea whatever what this is, I left it alone.
When my printer's TCP/IP addr was set at 10.0.1.3 I could PING it successfully. When I changed its addr to 10.0.1.200 I could no longer PING 10.0.1.3, but could successfully PING 10.0.1.200 .
However, in neither case can I add a printer whose IP address is 10.0.1.200 or 10.0.1.3, whose queue-name I leave blank for the default queue, using IPP, and where I specify the HP Laserjet 5M device.
Sooooh close I wondered what my dain bramage was...
I next wondered whether it perchance had something to do with the LG or the GW 4-octet strings, which I could set to anything but which I've left 0.0.0.0 out of ignorance?
But then I got a brainstorm -- it seems as if what is built into this printer is like the JetDirect I used previously -- so when I changed from IPP to JetDirect SOCKET protocol, everything worked!
So a great big THANKS FOR THE CRUCIAL HINT!! goes to you, [B}Kappy!! :)
... might be nice to know what LG, GW, and TIMEOUT have to do with anything, but right now I'm a Happy Camper.
... and strangely enuf, the .PDF file I cite above has no occurrences of CFG, much less TCP. Foo upon all HP Documentation 'droids. -
Purchase Order print output - Company Name changed
Hi experts,
My plant name is changed I want the new name to appear at the bottom of the Purchase Order above Authorized signatory field.
Please suggest how to do.
Regards,
( Rajneesh Gulati )hi,
I agree with Jurgen's point ...But the street adress uneditable
Go into SPRO-> Enterprise structure -> Definition -> Logistics-genaral -> Define copy, delete, check plant
Inside this if you jus wanna change the name then you can go into the details of the plant and edit...but wanna change the address then need to copy the existing plant and make your own new plant...
Or may try with ABAPer...
Regards
Priyanka.P
AWARD IF HELPFULL -
Changed network name and now e-print e-mail address doesn't work
I have a 6500A Plus Deskjet. I have an hpconnected account and changed my e-print e-mail address to something I would remember. Then I changed the name of my network. I have to get a new claim code ..... I enter it and when I try to choose my e-print addrss, it says that it is already been taken. I was on the hp site within a half an hour of changing my network name.
Hi rfmal1,
Thank you for joining the HP Support Forums. I understand that you needed to set up the ePrint feature of your Officejet 6500A after changing the name of your network.
Your previous ePrint email address will not be available, once an ePrint email address has been used it is no longer available to be claimed again. I am sorry if this has caused any inconvenience.
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP -
How to modify the contact persons company address changes
Hi Friends,
My requirement is i want to update the address of the contact person in relationships. Actually when we are maintaining the relationships it is automatically taking the Accounts address in company address field but i wants to maintain the different address for each contact person related to the particular account for that i used Bapi_bupa_contp_addr_change functions module as well as Bapi Transaction Commit also but it is not helpful.
I want to change the contact persons address as per flat file, so please let me is there any fuction module for changing the address of a contactt person in relationships.
Regards
KumarHi Kumar,
could you solution this issue?
I use this FM, I cna Insert new telephones por relationship but, I can't delete and update.
Can U help me? my code:
data : i_bapiadtel like BAPIADTEL occurs 0 with header line,
i_bapiadtel_x like BAPIADTELX occurs 0 with header line,
i_return LIKE bapiret2 OCCURS 0 with header line.
i_bapiadtel-telephone = '937102020'.
i_bapiadtel-std_no = 'X'.
APPEND i_bapiadtel.
i_bapiadtel_x-telephone = 'X'.
i_bapiadtel_x-std_no = 'X'.
i_bapiadtel_x-updateflag = 'D'.
APPEND i_bapiadtel_x.
CALL FUNCTION 'BAPI_BUPR_CONTP_ADDR_CHANGE'
EXPORTING
businesspartner = '0020034745'
contactperson = '0090004124'
TABLES
bapiadtel = i_bapiadtel
bapiadtel_x = i_bapiadtel_x
return = i_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
Thanks in advance.
Sergio -
I have two label printers attached to my iMac. Every time I try to install the second printer it is give the url address of the first. Is there any way to change the address of the second printer?
Try this patch.
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP -
T.code for change company email address
Hi experts,
How can i change email address of billling invoices of XXXX company code.
old: [email protected]
new : [email protected]
Any T.code for change email address of particular company code.
Thanks in advance for answer.Hi,
if I correctly understand your Q- a company code is your customer.
In general data of the customer master record there is an option to enter the e mail address of the Customer.
Regards
A -
I want to change the company address of payment advice.
i want to change the company address of payment advice.
plz any one tell me the procedure and Can any one tell me program name and layout name for payment advice.
points will given.
with regardsplz tell me the procedure
Maybe you are looking for
-
Font Size is not correct in the exported PDF-File
In the Report is the Font Arial Size 8, but in the exported PDF-Fildethe size is only 7,15. The Fontsize in the PDF-File is always smaller then in the Report. I use Crystal Report XI. With Version 9 is everythink ok.
-
Reg SAL List Viewer to EXCEL Display (not excel downlading)
Dear Gurus, I want the output in the excel sheet . I do not want to download it as a excel file.Only Excel output display i want.I think std SAP converts the output in to Excel display when you select " Excel Sheet " option at the
-
Hi I have got a new lapop which is Lenova B460e. I want to connect my laptop with Wi-Fi. But, when i install the driver, It shows that no match found.I want to know whether my system accept Wi-Fi connection, If it is please give the steps to connect
-
'my shared photos' - can't move video
I have a video saved in 'my shared photos' but have deleted it from camera roll. However, when I select the video, although it plays, the button that brings up the 'message/mail/icloud/' options etc is not appearing so I cannot send the video to myse
-
Lighroom to Photoshop problem in Creative cloud!!!
Today I'll tryed to open Photoshop and it says "Error: 1, please uninstall and install application again". I uninstalled and installed it and after that trying to open photo/photos from Lightroom to Photoshop and found it does not work anymore. Photo