How to call Attributes in the routine for transaction data
Dear Pros,
I have a condition that i have an additional Info object to be filled with a value such as
i have plant and material in the transaction data,
Distributional channal --> attribute of 0plant
Zmatentry --> attribute of 0material.
I WANT TO CALL DIST CHANNAL & ZMATENTRY IN RSDS TRANSFORMATION AND USE TO FILL ZCOMPINCH
code is similar to
if SOURCE_FIELDS-DISTR_CHAN eq '01'.
Zcompinch = fill with comp code
RESULT = SOURCE_FIELDS-COMP_CODE.
or Zcompinch = fill with Zmatentry from attribute of 0material
ELSE.
RESULT = SOURCE_FIELDS-/BIC/ZMATENTRY.
ENDIF.
THANK YOU
Hi,
DATA: BEGIN OF t_batch OCCURS 0,
material LIKE /BIC/AZIC_O0600-material,
plant LIKE /BIC/AZIC_O0600-plant,
stor_loc LIKE /BIC/AZIC_O0600-stor_loc,
batch LIKE /BIC/AZIC_O0600-batch.
END OF t_batch.
SELECT MATERIAL PLANT STOR_LOC BATCH FROM /BIC/AZIC_O0600 INTO t_batch for all entries in DATA_PACKAGE
WHERE
material = DATA_PACKAGE-material and
plant = DATA_PACKAGE-PLANT and
stor_loc = DATA_PACKAGE-stor_loc.
ABORT = 0.
"This code is at field level routine.
SORT t_batch by material batch stor_loc.
Read table t_btach with key material = COMM_STRUCTURE-material
plant = COMM_STRUCTURE-plant
stor_loc = COMM_STRUCTURE-stor_loc.
"In the above code I'm reading the data from t_btach table, t_btach is already filled based on DataPackage at Start Routine level.
"In my case it is working fine, so try it take ABAPer help.
If sy-subrc = 0.
RESULT = t_batch-PLANT.
else.
RESULT = ''.
endif.
ENDIF.
ENDLOOP.
Thanks
Reddy
Similar Messages
-
How can you turn off the sounds for receiving a text or e-mail while on a phone call???
That's the most stupid thing. It may work but the phone shouldn't be going off in your ear while in use from the start.
Message was edited by: Ford Truck -
I downloaded 11.1 but now can't access the store, can only view my library. I've reinstalled but still get a blank, white screen when I try to go to the itunes store. How can I get to the store for purchases?
In iTunes prefs>Store - is the Store check box unchecked?
Did you repair pemissions with Disk Utility?
MJ -
I pressed the power button to lock my ipod touch,then I go to watch TV. Can I receive facetime calls though locking the screen for 5 minutes or longer?
I hope apple can let the ipod touch's wifi still connected though the screen is locked for a long timeYes,
http://www.tipb.com/2010/06/14/ios-4-feature-ipod-touch-wifi-stays-connected-asl eep-iphone/
B-rock -
How do I switch off the Genius for iPad App Store?
How do I turn off the Genius for iPad App Store. Its recomendations are very poor.
I don't believe there's a way to "turn it off", per se. Can you not just not tap the Genius button? Unless I'm missing something, that's the only way you see Genius recommendations in the iPad's App Store app.
BTW, questions about the iPad will generally get the quickest and most applicable responses if posted in the iPad forums.
Regards. -
HT1424 how do i set up the vpn for the ios
how do i set up vpn for the ipad2
Answered here: how do i set up the vpn for the ios
-
every time I try to call or they call me, my phone beugs I can not immediatly to call, denied access the directory for 2 to 4 minutes after that it works again
I tried all but nothing, everything works except the call
I have an iPhone 4 Version 6.1.3
thank you for your helpThat is the highest you will be able to go with 3g. You need 3gs or 4 to go any higher (multi processors and more memory needed). Version 4.2.1 marks the end of your updates for that device.
-
How do you set up the alert for FaceTime with sound
How do you set up the alert for FaceTime with sound?
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
http://tinyurl.com/32drz3d
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
Cheers, Tom -
HT2404 How can I speed up the updates for my apps on my iphone 4 ?
How can I speed up the updates for my apps on my iphone 4? They take forever and/or a window says that the update will be available when I connect my iphone to itunes on my computer which doesn't help.
I don't have virus protection on my iphone so this answer in not applicable
-
I like the additional security features but don 't want to type in a password every time I use my phone. How can I turn off the requirement for a password but leave "Find my Phone" active?
Settings>General>Passcode Lock...enter your passcode, then: Turn Passcode Off.
-
How to know what are the privs for one custom schema?
how to know what are the privs for one custom schema?
please suggest me......Hi,
Check this user_sys_privs
Cheers
Pavan Kumar N -
How do I even out the volume for songs in my playlist?
How do I even out the volume for songs in my playlist? Can I tell somewhere what the volume level is for each song and then change it so all the songs are the same, then re-synch?
Hey Eegee
I would turn on Sound Check to level out the songs. You do this by going to iTunes Preferences > Playback Tab > Check Sound Check.
iTunes: About Sound Check
http://support.apple.com/kb/ht2425
Thanks for using Apple Support Communities.
Regards,
-Norm G. -
How to get internet on the go for iPad 2, is it possible? Thanks for ur help in advance...
If you don't have cellular on your iPad, then you will need a public Wi-Fi access.
-
How to mantain or clear the changelog for meta-directory 5.0?
Hi,
We are using the Meta-Directory 5.0 now. But we are suffering from the
changelog maintenance.
Anybody know how to maintain or clear the changelog for Meta-Directory
5.0?
Or any document about this.
Thanks for your advice.
Best Regards,
Sunny YehHi Raj,
You can use below URL for your query;
http://docs.oracle.com/cd/E21764_01/bi.1111/e10541/cluster.htm#BGBHFCJF
If it helps, please update the post.
Regards,
Kashi -
my iPad 2 started to backup iCloud and its now locked up. How do i unlock it, the button for settings and close are not working. What can I do?
Try this.
Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
Maybe you are looking for
-
Process for adding a boolean option to the web service API
Hey guys, Here's a little background: I'm currently working on adding an optional "strict" mode to some of the unmarshalling functions in SchemaMarshaller that will throw exceptions when receiving bad data for certain fields, and also improving the d
-
I have an ipod touch 2gen.
I have an ipod touch 2gen. I tried to upgrade to itunes software 10 on my computer. Upgrade failed. My ipod now appears as a camera in my computer. I removed all apple software, as instructed on the apple site. I then tried to reinstall the software
-
Color problems when printing from PDF created in Pages
I have created a newsletter in Pages, and have used the Export > PDF so that the file can be sent to a professional printer. One of the graphics (created by an outside graphic designer and put into my Pages document as a jpg file) prints in all sort
-
Issues with the Delivering Country details in the Delivery hdr and item
Hi Group, I am facing issues while trying to get the Delivering country details automatically at both the Delivery header and item levels. All the necessary configuration have been done as such the Delivering country field is fetching incorrect data,
-
When i click on a song to play or drag it to a playlist an exclaimation mark appears next to it. a message says , could not be used because the original file could not be found. does anyone know how to fix this problem?