PR Header Details
Hello All
For the PR Header details are updated in table STXH with text object EBANH & TEXT ID B01, but when in this table text object ESSR & TEXT ID TX01 is updated
for the PR header text is maintain & item text is maintain then then only one entry is coming in STXH table with text object EBANH & TEXT ID B01
But some PR ESSR text object & id TX01 is coming , how this entry is updated in table ( PR is not a Service PR)
Thanks in adavnce
Regards
Rajesh
If header text is maintained by the user in PR , it will update the text.
Check the T code me53n give the PR number and check header text . and same u can check with the Object and ID combination .
Similar Messages
-
Issue in displaying header details in ALV report
Hi,
I have used slis_t_listheader and REUSE_ALV_COMMENTARY_WRITE to display the header details in ALV report.I want the details to be displayed as below.
Requester : ---------------------- Page: 1
Program: ----------------------- Date:---------
Title of Report
But when I use the structure slis_t_listheader to display the header details,all the fields are coming one below the other.
How can I get the fields as shown in the above format
Edited by: Abaper12345 on Jun 25, 2009 7:54 AMHi,
Go through following code... its showing the data exactly the way you want....
REPORT TEST3.
TYPE-POOLS:slis.
TABLES:MARA.
*Type Declaration
TYPES:BEGIN OF t_mara,
matnr TYPE mara-matnr,
ersda TYPE mara-ersda,
ernam TYPE mara-ernam,
END OF t_mara.
*Internal Table
data:it_mara type standard table of t_mara.
*Work Area
data:wa_mara type t_mara.
DATA:i_repid TYPE sy-repid .
i_repid = sy-repid.
*Declaration for field catalog
DATA : fcat TYPE slis_t_fieldcat_alv,
wa_fcat TYPE slis_fieldcat_alv.
*Declaration for Layout
data : WA_LAYOUT type SLIS_LAYOUT_ALV.
*Initializing ColumnWidth_Optimize For Layout
WA_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
START-OF-SELECTION
START-OF-SELECTION.
*Fetching data into internal tables
PERFORM get_data.
*Buil Fieldcatalog
PERFORM build_fcat.
*Display ALV Report
PERFORM alv_display.
*Build Fieldcat
FORM build_fcat .
wa_fcat-tabname = 'IT_MARA'.
wa_fcat-fieldname = 'MATNR'.
wa_fcat-inttype = 'C'.
wa_fcat-seltext_m = 'Material Number'.
wa_fcat-outputlen = 25.
wa_fcat-col_pos = 1.
APPEND wa_fcat TO fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'IT_MARA'.
wa_fcat-fieldname = 'ERSDA'.
wa_fcat-inttype = 'C'.
wa_fcat-seltext_m = 'Date'.
wa_fcat-outputlen = 25.
wa_fcat-col_pos = 1.
APPEND wa_fcat TO fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'IT_MARA'.
wa_fcat-fieldname = 'ERNAM'.
wa_fcat-inttype = 'C'.
wa_fcat-seltext_m = 'User'.
wa_fcat-outputlen = 25.
wa_fcat-col_pos = 1.
APPEND wa_fcat TO fcat.
CLEAR wa_fcat.
endform.
*& Form GET_DATA
text
--> p1 text
<-- p2 text
form GET_DATA .
select matnr ersda ernam from mara into table it_mara.
endform. " GET_DATA
*& Form ALV_DISPLAY
text
--> p1 text
<-- p2 text
form ALV_DISPLAY .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = i_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = 'HTML_TOP_OF_PAGE'
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
IT_FIELDCAT = fcat
TABLES
t_outtab = it_mara
EXCEPTIONS
PROGRAM_ERROR = 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.
endform. " ALV_DISPLAY
*& Form html_top_of_page " I_CALLBACK_HTML_TOP_OF_PAGE "
FORM html_top_of_page USING document TYPE REF TO cl_dd_document.
CALL METHOD document->add_text
EXPORTING
text = 'Program'
sap_color = document->list_group
sap_fontstyle = document->standard
sap_emphasis = document->strong.
CALL METHOD document->new_line
EXPORTING
repeat = 1
CALL METHOD document->add_text
EXPORTING
text = 'Requester'
sap_color = document->list_group
sap_fontstyle = document->standard
sap_emphasis = document->strong.
CALL METHOD document->new_line
EXPORTING
repeat = 1
CALL METHOD document->add_gap
EXPORTING
width = 125
CALL METHOD document->add_text
EXPORTING
text = 'This Is Test Data'
sap_color = document->list_group
sap_fontsize = document->LARGE
sap_fontstyle = document->standard
sap_emphasis = document->strong.
ENDFORM. "HTML_TOP_OF_PAGE
Thanks & Regards
Ashu SIngh -
Problem in mapping xml data with header details from IPM 11g to BPEL
Hi,
I want to map xml data as a supporting content from IPM application to BPEL.
My xml is
<?xml version="1.0" encoding="utf-8"?>
<DocumentFile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/Document.xsd">
<Document DocumentType="Invoice">
<DocumentImage>
<Filename>\\10.205.0.209\Img\10883212.TIF</Filename>
</DocumentImage>
</DocumentFile>
If I remove header details from root element <DocumentFile> i.e. modified xml is
<DocumentFile>
<Document DocumentType="Invoice">
<DocumentImage>
<Filename>\\10.205.0.209\Img\10883212.TIF</Filename>
</DocumentImage>
</DocumentFile>
it works fine but i need to pass header details as well.
Please suggest.
Thanks,
PriyaHi Naveen,
In sxmb_moni the content transmitted to the adapter(RFC)is as follows
<?xml version="1.0" encoding="UTF-8" ?>
- <ns:ZRFID_EQUIP xmlns:ns="urn:sap-com:document:sap:rfc:functions">
- <RECORDS>
- <item>
<FLOC>f1-01-01</FLOC>
<RFID_NO>I006</RFID_NO>
</item>
- <item>
<FLOC>f1-01-02</FLOC>
<RFID_NO>I002</RFID_NO>
</item>
- <item>
<FLOC>f1-01-03</FLOC>
<RFID_NO>I003</RFID_NO>
</item>
- <item>
<FLOC>f1-01-04</FLOC>
<RFID_NO>I004</RFID_NO>
</item>
- <item>
<FLOC>f1-01-05</FLOC>
<RFID_NO>I005</RFID_NO>
</item>
- <item>
<FLOC>f1-01-06</FLOC>
<RFID_NO>I001</RFID_NO>
</item>
</RECORDS>
</ns:ZRFID_EQUIP>
At r/3 side the field floc and rfid_no gets mapped to floc which is of char30
eg floc=f1-01-01I006
rfid_no= -
In BDC VA02 i am uploading header details in BILLING PLAN tab.
Hi Friends,
In BDC VA02 i am uploading header details in BILLING PLAN tab.
I am having sales order no in flat file.
While i am clicking BILLING PLAN tab its showing 1 POPUP screen for Milestobe For billing plan (INPUT AS NETWORK NO).
Some sales order nos this popup is not coming.
How to code this bdc?CLOSED
-
ALV list Header details scattered
Hi All,
I have a ALV-LIST report output but the header details displayed are scattered in output. Can you suggest how to align all deatils properly aligned.Hi again,
1. first of all how are u writing / displaying
the alv header ?
2. using documentary write ?
then also, u can use one variable of
length 100 and use this concept.
3. If u are using top_of_page
event,
in this event, WE CAN use WRITE.
(i have used it, and it
works fantastic)
(not in case of alv grid)
4. My point is, what ever u are using,
use on variable of length 100.
WRITE value INTO variable.
using offset
and then proceed further.
regards,
amit m. -
How to get the Change Document Header details for a given date
Hi All,
Can anyone help me on this Change Document Header details(CDHDR).
Better way to pull the information of Change Document Header details(CDHDR). No Index is maintained for the tables.
So please suggest better Optimising techniques to get the Change Document Header details(CDHDR).
Using this Function module : CHANGEDOCUMENT_READ_HEADERS how to import the DATE_OF_CHANGE.
Thanks in advance
Regards
ChakriHI,
Go through the documenattion of the FM u can get the details.. and also where used list
Regards,
Nagaraj -
Fixed width file outgoing with header,detail and trailer in one map
we have a scenario where in we have to create an output file. the file is fixed width with three different kinds of records namely header, details and trailer. if the specification of the metadata of the file is specified how will we incorporate the creation of the file in one map since the map produces only one call to UTL_FILE and writes it.
there is a work around in a crude way where in we can define the file as a CSV and pass everything in an appanded string in one column. but i wanted to know how we can get the three logical records in one map..
thanks
kamalThe problem is not with generating the records.. i mean header , detail and trailer.
it is how we put them into a fixed width sampled file. if we look at the code generated we will see only one call being made to generate the file. -
Table name for the AMOUNT field in header details of costomer invoice
hi experts,
I need the table name for the field AMOUNT(wrbtr) which is in header details in fb70 tcode .I have checked many tables like bseg bsid, there its showing the amount but at item level.Hi,
the table behind structure INVFO is RBKP (Header level).
For item level you have table RSEG.
These tables refer to MM.
Once the MM documents are completed and you post the corresponding invoice RBKP data goes to BKPF and RSEG data goes to BSEG data.
The relattion between MM(RBKP/RSEG) and FI(BKPF/BSEG) documents is in field BKPF-AWKEY. This field usually contains (RBKP-BELNRRBKP-GJAHR that is MM documentMM year).
e.g. (BKPF-AWKEY = 51056024412009)
Best regards. -
Regarding Updating Shipment Header Details in VT02N tcode
Hi all,
I have created a dialog program, inwhich iam populating shipment related details.
1st Screen: Selection screen fields:
billing Doc
Billing date
2nd Screen: Based on Billing Document number and date, i have to fetch Shipment details using Table Control like:
shipment number, Output only
Forwarding Agent, input/Output both -
editable
Shipment start Date, input/Output both -
editable
Container id. input/Output both -
editable
and i have created a button as "Update VT02N" on second screen.
When we choose Columns in table control and click on "Update VT02N", then it should trigger VT02N transaction and update the shipment details with following fields:
1. Forwarding agent
2. Container id
3. Shipment start Date.
So i waht to know any BAPI available to update Shipment Header details in VT02N tcode.
I have tried: BAPI_SHIPMENT_CHANGE -
NOT WORKING PROPERLY.
SD_SHIPMENT_SAVE -
NOT WORKING.
IF ANY BODY HAS SOME SOLUTION, PL SUGGEST WITH STEPS.
HELPFUL ANSWERS -
BETTER POINTS...
Regards,
VamsyHi,
Have you called the BAPI_TRANSACTION_COMMIT after executing BAPI_SHIPMENT_CHANGE , even then if it is not working
you can check the FM SD_SHIPMENT_HEADER_CHANGE.
Thanks. -
Hi,
Is there any report of PO header details which gives the below details?
1. PO
2. PO creator(Planner)
3. Buyer
4. Customer Data in header details ( In our organisation we put email ID which should be available in the report).
Regards,
RajaneeshHi Rajaneesh
The table EKKO contains the following fields (SE16 -> EKKO)
EBELN Purchasing document
AEDAT Created on
ERNAM Created by
LIFNR Vendor
IHREZ Your Reference
VERKF Salesperson
LLIEF Supplying Vendor
KUNNR Customer
etc..
I hope this can help -
Portal Header details to be added
Hi,
In the SAP GUI, in a report program, I'm creating a URL by calling the function module CALL_BROWSER. I'm calling the report program in Portals. In the report program, when I call the URL, the URL should appear with Portal header details.
When the call is made from portals, is it possible to get the Portal Header details in the BSP page which I'm calling from the Report program.
Thanks & Regards
G.RajaHi!
With EP60 you should use the Portal URL instead of the backend url.
The Portal URL points to the Portal iView with a URL like this: http://<portalserver>:<port>/irj/portal/?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fyour.folder%2Fyour.sub.folder%2Fcom.your.iview
Hope this helps.
Regards,
Volker -
Help required in getting the header details.
Hi All ,
In my first WDA , I am showing the header details of Purchase Order for a input parameter in table
and now I want to show the items details for that particular PO on lead selection of the the PO details
in my second application . How can I achieve the desired functionality .
Please help , any pointers regarding this ..
Thanks in Advance.Hi ,
U need tto get the URL of the called application through method
construct_wd_url and generate the popup window for the second application with the above URL .
in ur first app , crate an event on lead selection of the table and write the following piece of code :
DATA:
w_url type string,
w_value type string.
call method cl_wd_utilities=>construct_wd_url
exporting
application_name = u2018 u2018 // here specify the name of the called application
importing
out_absolute_url = w_url.
* make the Value type compatible that has to be passed with the URL
w_value = lv_ebeln.
* Attach the parameters and its value with the URL that
* have to be passed to the 2nd application
call method cl_http_server=>append_field_url
exporting
name = ' ' // input parameter here
value = w_value
changing
url = w_url.
* generate a popup window for the 2nd application with the above URL
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_external_window(
url = w_url ).
lo_window->open( ).
Now in the doinit of ur called application , u can get the value for that particular input parameter
[code}
DATA:
lv_param type string.
lv_param = wdr_task=>client_window->get_parameter( ' u2018 ). // paramtr name
Now select the appropriate values in internal table for this and bind it to ur context node ..
I hope this helps.. -
how to define a schema for fixed length consisting of multiple records of different types having header detail and footer at positions 22 and 23 namely having 10 for header ,20 for detail and 30 for footer.
here is the sample file
DDWTYBILL13092502572 1000000112\\NHLSFS\ORACLE\ORACLE\BILLING\VERIFY\ 2013/09/25 01:19:08 BILLEND
DDWTYBILL13092502572 2000000212PRIVATE PRIVATE STY5572142 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731543 Suspect TB ?CA, (L) EMPIEEM Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000312PRIVATE PRIVATE STY5572149 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731548 Empyema BPF Ward A2 TYGERBERG HOSPITAL Z03.9 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000412PRIVATE PRIVATE STY5572351 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731584 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000512PRIVATE PRIVATE STY5572352 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731585 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000612MAJOR MAJOR STY5577530 010700 INV 12ZTYG000009 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS ZOZI,S,SIYAMBONGA 27-MAR-2010 TYG D3 DR MAHOMED 5602181 113799662 TB731663 Lymphadenitis Ward D3 TYGERBERG HOSPITAL I88.9 Z03.9 H1 07-AUG-201307-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 2000000712MAJOR MAJOR STY5577537 010700 INV 12ZTYG000009 06-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS DLAMINI,N,NTLANTLA 09-OCT-1976 TYG F1 DR WZESE 5602181 135524676 TB731666 Suspect TB Ward F1 TYGERBERG HOSPITAL Z03.0 Z03.9 H1 07-AUG-201314-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 30003034120000003032ENDYou can create an nXSD using Native Format Builder and use lookAhead attribute to read values at specific position and use that as the choice. You can find an example here
http://docs.oracle.com/cd/E11036_01/integrate.1013/b28994/nfb.htm#BGBBAJFD -
IHC errors :valid clearing partner not found and no header details found while idoc creation after f110
Please let me know where the config is missing for ihc automatic payment program.in we02 status is not 53.
Please helpHi
Please share the error message in the IDOC.
If the error message is IHC204 "No valid clearing partner was found", it may be due to the missing correct configuration in Set Up Creation of Payment Requests for Inbound IDoc in FI, which links the clearing partner, ALE logical system partner type and IHC account number.
Cheers
taro -
Strategy for implementing drpdownlistbykey in header / detail relationship
Quite often I have header details relationships that I want to display. The volumes of data are typically small, so rather than make multiple trips to the database I choose to load all the data into context during the init routine. Implementing an efficient way to dispay this data and keep the header details relationship syncronized on the screen is where I am looking for suggestions.
A good example would be selecting a user from a list and displaying details of that user in a series of text views.
Currently to implement this, I load all the user detail into separate elements within a node. Simultaniously I load a value set with key information which is then used by a drop down list. A series of text views are bound to attributes in the context outside the detail node. These attributes contain the currently selected user detail information. When a user is selected from the drop down list, the select event fires, and a search is performed of all the detail node elements for that key. Once found, the user detail information is copied from the appropriate element to the corresponding 'current value' attributes.
This process seems a bit cumbersome to me. I am wondering if there are more efficient ways to manage this routine scenario. Possibly there is a way of binding the text views directly to the attributes in the detail node and switching the element that is currently displayed? I am just not aware of any way to do that.
Any suggestions would be greatly appreciated
-SheldonSay you have a context node "Users", cardinality 0:N, with attributes like "Name" etc.
Use a DropDown<b>ByIndex</b> element, bind property "texts" to attribute "Name". Assign an empty action to the "onSelect" event.
Create a form for the details, bind the contained InputField, TextView, whatever to the attributes inside node "Users".
Then you can select a user from the dropdown list (which displays the user names) and the detail form automatically displays the data of the (lead-)selected context element.
Armin -
Refreshing Header & Detail part in Screen
Dear Friends,
I've been facing the following two problems in the diaog program that I am developing:
In my screen I have header & detail portions. The header part contains fields e.g. contract no., transporter code, Date effective from, Date effective upto etc. that I pick up from transparent tables. To display the detail part I am using a table control that gets populated from internal table. Now when I save, the data gets saved successfully (both header & detail) and subsequently I am clearing the screen also but still I am not able to enter a new entry.There is no alternative other than to come out of the program & executing it once again.
Further if I change any entry in the header part (containing only fields) and save that updation doesn't get saved i.e.next time also it shows the previous values while in the detail part (table-control) the updation gets saved.
Waiting for your invaluable inputs..
Regards,
Alok.Hi Alok,
Seems in your program.. After change in details part... while saving the modules written in PBO are retriving old values.
Please put some flag in PBO which will control it's execution. Ie. at 1st time when u fetch the data. It will set as "X' then for every next time when u change data in details... It will not fetch data. It will accept your own data in header.
Darshan
Maybe you are looking for
-
can any body tell me if i create a PO with 1100 Rs but i want to pat 100 Rs to another vendor as fright charges for this where i mention 100 Rs in PO is there any chance ofr this regards kiran
-
StringBuffer and PreparedStatement
Does anyone know why prepared statements don't update ? fields when you provide the preparedstatement with a query that is a stringbuffer? i.e. StringBuffer query = new StringBuffer(500); query.append("SELECT * from Customer WHERE CustId = ?"); t
-
Does anyone know how to create a binary file in Java. in C i can do an fopen("filename" , "rb") i cannot find a equivalent java binary file stream. Thanks
-
Hi, Is it somehow possible to attach documents to a reservation (MB21) ? Can't seem to find an object for this. with regards Erik
-
Should I be expecting problems using iTunes 8.1.1.10 and 32-bit XP? I have always found iTunes stable as anything and championed it, but having updated today, the thing seems to freeze after a few minutes at most. Windows task manager then suggests i